delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/15/09:11:23

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=G0rUuel4+3q++SVYLcHjjrwB45ZDcS7AlCERTgOzOjt
oSNs9W/Y2f10bIX4P3aL8goXJkEEXNrYQiuJtVZgT4tRmrWo6f6MHOqZouvDRxJ5
ISKXbP28116dJSRSeI2R8fMM7O53x5Es/AzlFHeRs6Rd/EPGw9BQfTl5d5T3QLwA
=
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=19PZz89Y5HJ3kMbCjYU7IVOuOL4=; b=YgxbSV27fInun94sr
ZjreX/MzthZdBD4g9yMWKo11vc+rG0vJzC3gRhUSY96OUv0pnQ6QBuQMfXoEUNII
BhjzbW2H7bltXryrQbR12HFQgT2g2iXLZHrve5OUSHLKoZnT8p0XlAf6VkPEK6PD
Zoa8Ymf9ZPoktMhBoRsAkDFUKs=
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.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f182.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=TqyUe5RIPfD2ZDD4/cV7u0m93xfq4/CtuJS8b9mCjqo=; b=MGnBNMeECSTB1BtkoQ5kvTGdt4Hu9GBsGioj6Bx1BIH4Leqkdhykrx/QgV1flxNiYa oD891k0tqXX2gw92Ye/RgHBdr+yFowogxnaODH4lOW2OpUwc0bvH7yc+8FRi/CYOpyjb Ma5RZfcQgJqU2itQnTcobYF47+H+uLsnp6vW25iNEcnFefaeXie0OQlGOcTECt7t6qQA MPiIkFsIrWTkFtI8WIhmohVNaJ3Ot1oIv9IOm2CeFIbLC3PK6uob1ckMxG1gT7uAmvij EQ4gYfv4AWug70USj2rY8gbokPgBDUL5JZQDqnjAv/uxQ9v4W1MCc4cwqjij/ZqulaUJ N6fw==
X-Gm-Message-State: ALoCoQlIA8GoZrfO2CaUYIHpduwVRBuakh6kit9KHnOfjJ2tlcalhqLf25dXJ6xqRhfAHBfTRCly
X-Received: by 10.50.112.167 with SMTP id ir7mr74603911igb.27.1400159463534; Thu, 15 May 2014 06:11:03 -0700 (PDT)
Message-ID: <5374BCE5.7080609@breisch.org>
Date: Thu, 15 May 2014 09:11:01 -0400
From: "Chris J. Breisch" <chris DOT ml AT breisch DOT org>
User-Agent: Postbox 3.0.9 (Windows/20140128)
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>
In-Reply-To: <20140515074942.GK2436@calimero.vinschen.de>
X-IsSubscribed: yes

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.

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

- Raw text -


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