delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/24/12:17:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Fri, 24 Jun 2005 12:17:29 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: John Morrison <john AT morrison DOT mine DOT nu>
cc: cygwin AT cygwin DOT com
Subject: Re: /usr/man before /usr/share/man in MANPATH (Attn: man maintainer)
In-Reply-To: <1120.192.168.0.12.1119628577.squirrel@mail.morrison.mine.nu>
Message-ID: <Pine.GSO.4.61.0506241212190.25844@slinky.cs.nyu.edu>
References: <Pine DOT GSO DOT 4 DOT 61 DOT 0506241038200 DOT 18240 AT slinky DOT cs DOT nyu DOT edu> <1120 DOT 192 DOT 168 DOT 0 DOT 12 DOT 1119628577 DOT squirrel AT mail DOT morrison DOT mine DOT nu>
MIME-Version: 1.0

On Fri, 24 Jun 2005, John Morrison wrote:

> On Fri, June 24, 2005 3:41 pm, Igor Pechtchanski said:
> > Hi,
> >
> > Since the FHS mandates that man pages go into /usr/share/man,
> > shouldn't it precede /usr/man in the MANPATH?  I ran into this issue
> > because I had kept a backup copy of the old rxvt man page (the one
> > with YODLTAGSTART, etc), and, since it was in /usr/man and the new
> > rxvt man page is in /usr/share/man, the old backup was found first.
>
> My fault I think, /etc/profile also has the wrong order...

Ah.  You're right.  This does come from /etc/profile -- man.conf has it in
correct order.

> MANPATH=/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man:$MANPATH
>
> will change to...
>
> MANPATH=/usr/local/man:/usr/share/man:/usr/man:/usr/autotool/devel/man:$MANPATH
>
> OK?

Yep.  Looks good.

> Should /usr/local/man be first

I think so.  User-installed man pages should override the system man pages
(especially since /usr/local/bin precedes /usr/bin in the PATH).

> and should autotool be last?

FWICS, man directories added by various packages get appended to the
MANPATH, so the autotool stuff should really go to the very end.  In fact,
perhaps it would be better to add a /etc/profile.d script that adds the
autotool man directory to MANPATH, instead of cluttering up /etc/profile
with it.  Chuck?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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