From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97683 invoked by alias); 13 Jun 2016 18:20:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 97583 invoked by uid 89); 13 Jun 2016 18:20:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*F:U*cygwin, MAN, H*f:sk:87y46ac, H*MI:sk:87y46ac X-HELO: Ishtar.sc.tlinx.org Received: from ishtar.tlinx.org (HELO Ishtar.sc.tlinx.org) (173.164.175.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 13 Jun 2016 18:20:05 +0000 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id u5DIK073028143 for ; Mon, 13 Jun 2016 11:20:03 -0700 Message-ID: <575EF950.2010809@tlinx.org> Date: Mon, 13 Jun 2016 19:38:00 -0000 From: Linda Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: "cygwin@cygwin.com" Subject: Re: man incredibly slow because it scans for share directory in PATH?? References: <19074b1d-78d1-a425-5a79-434ce8b1d480@kit.edu> <310054882.20160612134916@yandex.ru> <1c58d754-9720-0780-6f5e-76edc056b480@kit.edu> <87y46acvww.fsf@Rainer.invalid> In-Reply-To: <87y46acvww.fsf@Rainer.invalid> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg00214.txt.bz2 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