Re: Where are man pages?
Re: Where are man pages?
- Subject: Re: Where are man pages?
- From: Martin Costabel <email@hidden>
- Date: Wed, 26 Nov 2003 06:56:38 +0100
Justin Walker wrote:
[]
would you mind explaining to Lee how he gets manpath to find the man
pages in /usr/local/qt/doc/man, which was in his MANPATH?
I think I did that, implicitly at least. MANPATH is the problem (unless
he's messed with /etc/manpath.conf, which isn't likely). 'manpath' will
defer to that environment variable if it's set. Otherwise, it's driven
by the conf file.
Once MANPATH is 'unset', 'manpath' will happily do its thing.
Just for the record: What is quite clear from Lee's message is what
actually happened to him:
He must have installed some third-party software that was unaware of the
manpath mechanism and put some line, most likely something equivalent to
setenv MANPATH /usr/local/qt/doc/man:$MANPATH
into one of his tcsh startup scripts. This is a bug in that software,
because for OSX versions 10.2 or higher, it should have used the
equivalent of
setenv MANPATH /usr/local/qt/doc/man:`manpath -q`
instead.
But it is not Lee's fault. And it won't fix his problems to erase that
line. Because what manpath will "happily" do is to search for the newly
installed man pages in /usr/local/qt/man, never in /usr/local/qt/doc/man.
You and I know how to fix /etc/manpath.config in such a way that it
searches in /usr/local/qt/doc/man, too. But what I maintain is that it
is much more difficult to explain to some newcomer (newbie user or
darwin-unsavvy third party software installer) how to edit
/etc/manpath.config correctly than how to add a component to MANPATH.
--
Martin
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.