[OS X] X11 doesn't find man pages
Andy Jacobson
andy.jacobson at noaa.gov
Thu Jun 1 19:55:07 EDT 2006
Hi Guillaume,
On 1 Jun 2006, at 17:38 , guillaume mauger wrote:
> I mean that if I run the Terminal program that comes with the
> default OS X installation (I don't know what it's called), I can
> bring up any of the man pages (eg, "man ls" works).
>
Yes, I understand this. The program is called Terminal, or
Terminal.app.
> If instead I use X11, which I've installed since getting the mac,
> neither "man ls" nor any other man page comes up (error message:
> "no manual entry for ls").
>
You can't type "man ls" into X11. X11 is an enabling application.
It allows other programs, like xterm, to put windows up on the OS X
screen. I think you might be typing commands into an xterm instance
which is created by default when you start X11. Is this what you mean?
If so, then your problem has to do with a difference between the
shell instance (tcsh or bash) that is running in Terminal.app versus
that in xterm. I don't have a direct answer to your question,
because many things could be different, but I suggest that you first
find out whether they are running the same shell. For tcsh, "echo
$shell" will tell you this. Then you should examine the environment
variables. In tcsh, "env" will print them all out. Since your
immediate issue is with man, I suggest that you compare the values of
the environment variable $MANPATH between the two shells.
Best,
Andy
--
Andy Jacobson
andy.jacobson at noaa.gov
NOAA Earth System Research Lab
Global Monitoring Division
325 Broadway
Boulder, Colorado 80305
303/497-4916
More information about the OSX
mailing list