Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 1999 12:18:55 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
To:        pir@pir.net (Peter Radcliffe)
Cc:        freebsd-stable@FreeBSD.ORG, mpp@FreeBSD.ORG
Subject:   Re: man displays pages twice!
Message-ID:  <199909241918.MAA03726@gndrsh.dnsmgr.net>
In-Reply-To: <19990924150259.C25080@pir.net> from Peter Radcliffe at "Sep 24, 1999 03:03:00 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net> probably said:
> > > now, each man command brings up a man page twice! what have i done?
> > 
> > Look in /usr/share/man/man7, see if you have files that end with and
> > without .gz, if so you ran one install with NOMANCOMPRESS and one
> > without it.
> 
> ] globbing /usr/share/man/man1/man.1*
> ] found ultimate source file /usr/share/man/man1/man.1
> ] to_name in convert_name () is: /usr/share/man/cat1/man.1.gz
> ] will try to write /usr/share/man/cat1/man.1.gz if needed
> ] status from is_newer() = 0
> ] 
> ] trying command: /usr/bin/zcat /usr/share/man/cat1/man.1.gz | more
> ] to_name in convert_name () is: /usr/share/man/cat1/man.1.gz
> ] will try to write /usr/share/man/cat1/man.1.gz if needed
> ] status from is_newer() = 0
> ] 
> ] trying command: /usr/bin/zcat /usr/share/man/cat1/man.1.gz | more
> 
> I've had this problem for a while and never found the time to go
> through the man source and work out just why it is inclined to
> show me the same file twice.
> Removing the older of the compressed and uncompressed does indeed
> solve the symptom, but that behaviour is still wrong - those two
> commands are showing exactly the same file.

Hummm... hey mpp, is this the functionality that we talked about
that Berkeley man had in that it would show you all sections of
the manual that had a page by the same name gone haywire in GNU's
version of man???

This may be a bugger up of the proper man behavior that works in
the Berkeley man command that was retired to the attic many years
ago in that if the arg to man exists in more than one section of
the man pages it is suppose to display all the so named man pages.

An example is ``man man'' which _should_ show you man1/man and
man7/man, but only shows you man1/man.  I'll bet 90% of users
don't even know that man7/man exists... due to this bug...

-- 
Rod Grimes - KD7CAX - (RWG25)                    rgrimes@gndrsh.dnsmgr.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909241918.MAA03726>