X-Recipient: archive-cygwin@delorie.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=Nq+ghMLlWol3yDEGHmFimbAzUd29ujRAlhVR/fE+FhI
	cA1maV8O1G2k/A6Nhxcv/5Wcjp++hg54PIqn0cf0vQZtS/pGIoKdg2O2xN4fy5Cg
	0CMiXi+XdId3APoOrs+Su0J3EhxEa++rGJhX4ZjKj5K0moFVKBeHsGcvLGI96sVc
	=
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=eS4joMEPFegzO3XtPumBremmCeA=; b=KcO327ZYlv2e36gVX
	QFNoeAlEyGLb+jN3P1jC82YnKxTXTTJulkhnJvE2YriW5rNtzCkthBDu7PYo1cZp
	gwQ1661BLSpMa7+PmNgfqizWGm7FZt9/8Wq9gSCaAvd4/46zZFpaV/NmYhn2YuNX
	e9V4jSRN32Jw9oh/wkvHYHaZjo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f176.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to         :subject:references:in-reply-to:content-type         :content-transfer-encoding;        bh=HlbQ1U2+en9v1BRt6n0Niehbya9XFBFiXzklWKpEOBk=;        b=Ga1LEGa6DzvFYJ+NBhli1A0oaAUv26ystkw1mVEvYYOFrB1agyToX752Q5lnlX5luj         wbH3H1kqoa3mGluc+cbkbEyl2rceVMPr086pK339214YzwVXFFXW0STDWM3e3WRRTG5/         2iCLcWZvhA7VVkr7G8NJLs+6zKc9bKYxU2X2QVl6+zTmD50NxJaf1n3ZrQ4NJHPLZ9xq         Az24ITlDw0uGav/aH2TjzMxc/1foUb19JKZBpe932enMAiarV/vMKaXcNjZGUmylI/IZ         fdM2vEE0RM7bSGsGlX4xKtYwyMFttUmSOzp9ihiiy4uyoKAJ98RdiXKiXtdu/3rMjkMS         O3Pg==
X-Gm-Message-State: ALoCoQnmXlrGCiqFGRj123dZzpMPETH6bzXtEhqMMvWN0J8Z6wLdjDmZDf7u54OyJRLlI7mAgSRq
X-Received: by 10.43.26.206 with SMTP id rn14mr9537475icb.13.1400159872925;        Thu, 15 May 2014 06:17:52 -0700 (PDT)
Message-ID: <5374BE7D.70104@breisch.org>
Date: Thu, 15 May 2014 09:17:49 -0400
From: "Chris J. Breisch" <chris.ml@breisch.org>
User-Agent: Postbox 3.0.9 (Windows/20140128)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Does /etc/profile need to set MANPATH?
References: <53726A51.3010105@breisch.org> <20140513192457.GY2436@calimero.vinschen.de> <8738gc4810.fsf@Rainer.invalid> <20140515074942.GK2436@calimero.vinschen.de> <5374BCE5.7080609@breisch.org>
In-Reply-To: <5374BCE5.7080609@breisch.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Chris J. Breisch wrote:
> Corinna Vinschen wrote:
>> On May 14 18:52, Achim Gratz wrote:
>>> Corinna Vinschen writes:
>>>> Yes, this might be better discussed in cygwin-apps. I guess the setting
>>>> of MANPATH is mainly historical.
>>> I'd be happy to not set MANPATH in /etc/profile if we no longer need it
>>> for the standard installation.
>>
>> I'm wondering if setting MANPATH was really ever required for the old
>> man either. In a tcsh environment, MANPATH is not set by default.
>> If you install the openssl package, MANPATH is set like this (in
>> /etc/profile.d/openssh.csh):
>>
>> if ( ! $?MANPATH ) setenv MANPATH ""
>> setenv MANPATH "${MANPATH}:/usr/ssl/man"
>>
>> which results in:
>>
>> $ echo $MANPATH
>> :/usr/ssl/man
>>
>> I have neither problems to see the man pages in the default paths nor
>> problems to see the openssl man pages.
>
> Well, /etc/profile and /etc/profile.d/openssh.sh add a few more folders
> to MANPATH in bash. If your man pages are working, then we probably
> don't need MANPATH.
>
> I'm guessing though that if you unset MANPATH, you can't see the man
> pages in /usr/ssl/man. The new man from man-db doesn't find them either,
> however.
>
> But I think the proper solution to that is to add the appropriate lines
> to man_db.conf rather than to force something into MANPATH. OTOH, we
> already have the openssh.[c]sh files working, so maybe it's easier to
> continue with that, rather than modifying the OpenSSL package to update
> man_db.conf.
>

Or I could just add the values to man_db.conf, regardless of whether 
OpenSSL is installed. It's not going to hurt anything to have them there.

> I still need to verify that the problem I found with man-db and MANPATH
> is an upstream problem. I have an LFS system that I can use to test that
> and will do so later today.
>
>


-- 
Chris J. Breisch

--
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

