This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Does /etc/profile need to set MANPATH?


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

Attachment: pgpSx87Z0WUXu.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]