This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Does /etc/profile need to set MANPATH?
- From: Michael DePaulo <mikedep333 at gmail dot com>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Mon, 20 Jul 2015 08:20:12 -0400
- 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> <5374FDCA dot 2020700 at cygwin dot com> <20140516113710 dot GE430 at calimero dot vinschen dot de> <871tvsajhx dot fsf at Rainer dot invalid> <20150720150931 dot 0abb13b1b3c771215ade21e1 at inbox dot ru>
On Mon, Jul 20, 2015 at 8:09 AM, Mikhail Usenko <cygwin@inbox.ru> wrote:
> On Sat, 17 May 2014 10:37:30 +0200
> Achim Gratz <...> wrote:
>
>> Corinna Vinschen writes:
>> > Whatever, it looks like MANPATH can really go away. Achim, do your worst.
>>
>> Done.
>>
>
> Besides defining MANPATH (and the other variables such as INFOPATH and PATH which can be modified by the user's .bash_profile) /etc/profile also did export the MANPATH variable.
> Now it does not and I suppose that user's skeleton file /etc/skel/.bash_profile should provide user-defined MANPATH pro-forma as an exported environment variable or else it will have no effect.
>
> --
> Mike
[...]
Why does Cygwin need to define MANPATH by default? Cygwin uses
/etc/man_db.conf, just like the Red Hat family of Linux distros. (The
Debian family uses /etc/manpath.config).
-Mike D
--
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