delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/13/14:20:29

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=jbJtvA4zSTGiALxqoraRScdm/lIfFz6hYBD9T5aPJz+
ErvLt07o5XokXG9AqvlLnHA3wIWRbSh6iW7NNrbnNyyD8XyyPbCnKU6/FcbYIlog
E6/hz1GnExqaoKgjjPdWBAi4s4w+lv1AAflqVtAo9n20Nu2bK7gOufBSJKHrBco0
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=EVfVXlFc9qegtzusIQ8OdgfLbI8=; b=wgnPGVjjXaLTZn1Vk
nUEPcQwwuZ0YmHBtHYQ3p3sjXfZy9lQBlEXW5Jd/7Tcdd03USIwtaO7mZy4x2Gkz
x2+trowkKZFZsEAH7xs+aeqvKaTHJC8OBQCK+pH6z4TCJFmDSxH/+aivEnFnowrR
gFWKbC3cWMG7ZyVTN0aWmjIKW8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
Message-ID: <575EF950.2010809@tlinx.org>
Date: Mon, 13 Jun 2016 11:20:00 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: man incredibly slow because it scans for share directory in PATH??
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>
In-Reply-To: <87y46acvww.fsf@Rainer.invalid>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019