Bogus MANPATH in Tiger Xquartz
Bogus MANPATH in Tiger Xquartz
- Subject: Bogus MANPATH in Tiger Xquartz
- From: Romain Kang <email@hidden>
- Date: Fri, 6 May 2005 17:23:25 -0700
After the update to Tiger, running "man" my xterm sessions would
only bring up X11 man pages. Invoking man from Terminal.app sessions
didn't have this problem. I don't remember seeing such behavior
in earlier Apple OS X X11 installations.
Looking a little further, I find that xterm gets the following
environment setting
MANPATH=/usr/man:/usr/X11R6/man
Of course, /usr/man should be /usr/share/man. Running "ps eww" on
the processes in the chain, it's clear that Xquartz was the first
one which set this MANPATH. Running "strings" on it seems to
confirm my suspicion:
justin% strings /usr/X11R6/bin/Xquartz | grep -A2 MANPATH
MANPATH
%s:/usr/X11R6/man
/usr/man:/usr/X11R6/man
justin% ls -l /usr/X11R6/bin/Xquartz
-rwxr-xr-x 1 root wheel 2040932 Mar 20 21:11 /usr/X11R6/bin/Xquartz
Since I use my own ~/.xinitrc, I worked around it by putting
unset MANPATH
at the top of the file.
Romain
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden