This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: man incredibly slow because it scans for share directory in PATH??
- From: Linda Walsh <cygwin at tlinx dot org>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Mon, 13 Jun 2016 11:20:00 -0700
- Subject: Re: man incredibly slow because it scans for share directory in PATH??
- Authentication-results: sourceware.org; auth=none
- References: <19074b1d-78d1-a425-5a79-434ce8b1d480 at kit dot edu> <310054882 dot 20160612134916 at yandex dot ru> <1c58d754-9720-0780-6f5e-76edc056b480 at kit dot edu> <87y46acvww dot fsf at Rainer dot invalid>
Achim Gratz wrote:
Riedel,Till (TM) writes:
IMHO at least in Windows/Cygwin creating MANPATH from PATH makes no
sense! (although I now get the idea what was the rationell!)
Reasonably setting MANPATH should IMHO be a default...
MANPATH is unset in a standard Cygwin installation since quite some time
and it wasn't constructed from PATH before that change.
----
I.e. in a console window, if you type:
> echo $MANPATH
What do you see? On my system, I see a rather short version that
isn't exactly right as it has non-existing directories in it:
/usr/local/man:/usr/share/man:/usr/man::/usr/openwin/man
But since they are at the end, it doesn't much seem to matter. On
a linux distro, All of the directories in MAN seem to exist and have
man pages in them:
/home/lindaw/share/man:/usr/local/man:/usr/local/share/man:\
/usr/share/man:/opt/kde3/share/man:/usr/man:/opt/dx/man:\
/opt/mpich/man
(backslashes inserted by me for readability).
According to the cywin manpage for man, man has a config file
that tells it where to search in "/etc/man_db.conf".
--
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