From: "Chris J. Breisch" <chris.ml@breisch.org>
To: cygwin@cygwin.com
Subject: Re: Does /etc/profile need to set MANPATH?
Date: Thu, 15 May 2014 13:18:00 -0000 [thread overview]
Message-ID: <5374BCE5.7080609@breisch.org> (raw)
In-Reply-To: <20140515074942.GK2436@calimero.vinschen.de>
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
next prev parent reply other threads:[~2014-05-15 13:11 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-13 18:57 Chris J. Breisch
2014-05-13 19:25 ` Corinna Vinschen
2014-05-14 17:08 ` Achim Gratz
2014-05-15 7:56 ` Corinna Vinschen
2014-05-15 13:18 ` Chris J. Breisch [this message]
2014-05-15 13:39 ` Chris J. Breisch
2014-05-15 13:49 ` Corinna Vinschen
2014-05-15 17:48 ` Larry Hall (Cygwin)
2014-05-16 12:14 ` Corinna Vinschen
2014-05-17 8:50 ` Achim Gratz
2015-07-20 12:09 ` Mikhail Usenko
2015-07-20 12:20 ` Michael DePaulo
2015-07-20 13:43 ` Mikhail Usenko
2015-07-20 14:15 ` Mikhail Usenko
2015-07-20 16:21 ` Achim Gratz
2014-05-16 20:00 ` Chris J. Breisch
2014-05-17 20:59 ` Michael Wild
2014-05-19 9:38 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5374BCE5.7080609@breisch.org \
--to=chris.ml@breisch.org \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).