www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/17/14:18:41

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=EW+u61gggB+pQH85wanWhPnv0pmh9a8nw5VjXUq65YH
0d2aSWn2bOFTuPBTnwsYkE4zOCG4WEdlsw0ZZ7AGw+RhU//iPf5QSxDaYt8KlRjM
S9OYYjwYoIS5vsHddiuG6bGYx0NqFD4yJDXBIWAQVszMT4uJeuvEsxyKInYcgvts
=
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=fCuYK+3rs93Nd3Yys4/jlkq1wG8=; b=bY+E3Z96BI+jgd0zw
1F4/Ez7S9mJXPLtzO/pAVgxGFxL5VXA8diJ0IT23LIf/oq0SjgecHV8txUOSbe/o
U7aRMlqNU4OR07iJStDWUvTjSX2NmuWfY/8S9xnqKH8qHnN/6+IHu776fiuqf/nl
w5FG5ulC7sKfuHzozxUhWsOaLo=
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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ee0-f54.google.com
X-Received: by 10.14.175.200 with SMTP id z48mr14300715eel.66.1400350671536; Sat, 17 May 2014 11:17:51 -0700 (PDT)
Message-ID: <5377A7CD.7010209@gmail.com>
Date: Sat, 17 May 2014 20:17:49 +0200
From: Michael Wild <themiwi AT gmail DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Does /etc/profile need to set MANPATH?
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>
In-Reply-To: <20140515133939.GQ2436@calimero.vinschen.de>
X-IsSubscribed: yes

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

- Raw text -


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