delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=up1GbKq+X0/rBRRLMBD41NzrlP/zdvqgBCv7751mqYsg0fY8r9936 | |
GS8ulTUZcFRfXszKU7rUyg+g3UtXowZGPT/fcxq4+ysmh438zpK/gNO8u5zpIAoV | |
rWBy4hUMcar8NuPCX6AqFL9QPCy/lMc1r35Zc2ICDpJyUOjKw1ZaWM= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=Qp7+36BmpLhiwmBsE6u/D/8utNs=; b=DqT9UFanr4heUiG7PSFjZy6X91Jr | |
krxMUeIBT4ExVfCkjjMqFx30NPnhf0HsyCJrC9au23taVCGRAEH8ExaSRCuZYYw3 | |
KRQSaUGmOsm8ors4vMBnyEcLLtsuHkFCNl+gmNsfKd30n8t3jx0CYQu22+SUu4uV | |
W+LIUO39YhCPACM= | |
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Thu, 15 May 2014 15:39:39 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Does /etc/profile need to set MANPATH? |
Message-ID: | <20140515133939.GQ2436@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
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> |
MIME-Version: | 1.0 |
In-Reply-To: | <5374BE7D.70104@breisch.org> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--KbI68ipL6xvRMBYq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On May 15 09:17, Chris J. Breisch wrote: > 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 setti= ng > >>>>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. > > >=20 > Or I could just add the values to man_db.conf, regardless of whether Open= SSL > is installed. It's not going to hurt anything to have them there. 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 --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --KbI68ipL6xvRMBYq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTdMObAAoJEPU2Bp2uRE+grsgP/3QvBO9sauF9qCEDvSuC7p6f rF/P2TDL5PEwM6LQDASUuqwqYWmCQui3YCKm+SO7pRzhvJAR898y1NLdNXlf8fjF YYz7BFiNbTil97xlqVivDGPatS00+jLAHvwYPf31pyvdnJMODbnpjgRdCD/nO67u PsIG5FQj2KjQ4vHUoXTdMEhX9yJvTCe+hkSYD6HYmi06HHEPgmEfEs2Ypl/EAEbg pqSE3BeL5qQuyqJOSntfscC1fQ7rZhUDpUrueUiKyQmWOcH4gkuGEVFPZ7QGh89c 5gLqRCHw6iBzA6E1hx1C0fPkKjhn4D0HehRegDuxyZmaR5NVnPfuhsfVkAMHrJMC fQGWRZ91W6Eu/FFkelFOE8PuKdxFLlu7qxnq9Dqp70l9n2jZr7D2hYSiWkQMWhIB 30ZtkQTHhbTNyoP8EVK9wjtfQS3jynBzsCxsF5C4xhVON8aD8uH1Y6QAPdRS/xnF QBB7uLF0fYTuekR8EqMvsnMHHHABmEJ96Dzi9zSNF9jlGaDCQbW9rv6W8Rr8WHs/ PpjRQokJA133h2Alte8yUnHAQbVp0jGgRN6uVoBS5vcSE6kxcETt4YCKcjBDfN5h HdEJHUIv7cycHIoYEsW+cwhaBkd4bgk8XQOR5FXGNRf1SyGI13H8JvpiTOHSETg/ Mm/P1DcNhOhY9/GZmFVA =wQwD -----END PGP SIGNATURE----- --KbI68ipL6xvRMBYq--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |