Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 1999 15:03:00 -0400
From:      Peter Radcliffe <pir@pir.net>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: man displays pages twice!
Message-ID:  <19990924150259.C25080@pir.net>
In-Reply-To: <199909241639.JAA02845@gndrsh.dnsmgr.net>
References:  <Pine.BSF.4.10.9909241030070.41665-100000@binnacle.wantabe.com> <199909241639.JAA02845@gndrsh.dnsmgr.net>

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.

Arguably (IMO, anyway :) if that is the behaviour if you have both it
should just display the newer of the two ...

P.

-- 
pir               pir@pir.net      pir@shore.net      pir@net.tufts.edu



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?19990924150259.C25080>