This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Does /etc/profile need to set MANPATH?
- From: Michael Wild <themiwi at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 17 May 2014 20:17:49 +0200
- Subject: Re: Does /etc/profile need to set MANPATH?
- Authentication-results: sourceware.org; auth=none
- References: <53726A51 dot 3010105 at breisch dot org> <20140513192457 dot GY2436 at calimero dot vinschen dot de> <8738gc4810 dot fsf at Rainer dot invalid> <20140515074942 dot GK2436 at calimero dot vinschen dot de> <5374BCE5 dot 7080609 at breisch dot org> <5374BE7D dot 70104 at breisch dot org> <20140515133939 dot GQ2436 at calimero dot vinschen dot de>
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.
Cheers, and a pleasant weekend
Michael
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple