Does /etc/profile need to set MANPATH?
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon May 19 09:38:00 GMT 2014
On May 17 20:17, Michael Wild wrote:
> On 15.05.2014 15:39, Corinna Vinschen wrote:
> [...]
> >
> > You still have to be able to handle MANPATH. Unfortunately the man page
> > of man-db is a little tight-lipped on how MANPATH is handled exactly,
> > other than that "its value is used as the path to search for manual
> > pages."
> >
> > Whatever man does with MANPATH, it doesn't drop the default man paths,
> > apparently.
> >
> > [...time passes...]
> >
> > Hmm. Interesting enough, the current /etc/man.conf already contains
> > /usr/ssl/man. How long is it doing that already? If I had known that,
> > I'd removed the /etc/profile.d/openssl.* files long ago :|
> >
> >
> > Corinna
> >
>>> Dear all
>> AFAIK the behavior is as usual for *NIX search paths, with two notable exceptions:
>> * A trailing or leading colon means that at this position the default search path from the configuration files is inserted
> * A double-colon (::) anywhere means that at this position the default search path is inserted
>> Refer to the ENVIRONMENT section of manpath(1), http://manpages.ubuntu.com/man1/manpath.1.
Oh, wow, manpath has its own man page. The above information (leading
colon, etc) was exactly what I waas missing in the man manpages.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140519/afa4ceba/attachment.sig>
More information about the Cygwin
mailing list