From nobody Fri Aug 29 10:48:54 1997 Received: (from nobody@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA17410; Fri, 29 Aug 1997 10:48:54 -0700 (PDT) Message-Id: <199708291748.KAA17410@hub.freebsd.org> Date: Fri, 29 Aug 1997 10:48:54 -0700 (PDT) From: imp@village.org To: freebsd-gnats-submit@freebsd.org Subject: man can display the same man page twice X-Send-Pr-Version: www-1.0 >Number: 4419 >Category: gnu >Synopsis: man(1) can display the same man page twice >Confidential: no >Severity: non-critical >Priority: low >Responsible: gordon >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 29 10:50:01 PDT 1997 >Closed-Date: Mon Oct 04 08:42:40 PDT 2010 >Last-Modified: Mon Oct 04 08:42:40 PDT 2010 >Originator: Warner Losh >Release: 2.2.2-stable and 3.0-current >Organization: The Village Networking Cooperative >Environment: FreeBSD rover.village.org 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Thu Jul 3 17:03:17 MDT 1997 imp@harmony.village.org:/home/imp/FreeBSD/src/sys/compile/ROVER i386 >Description: If you have done a make world both with and without the NOMANCOMPRESS option set, then you will have /usr/man/man1/ls.1 and ../man1/ls.1.gz. When both of these files exist, man displays both of them, one after the other. >How-To-Repeat: # cd /usr/man/man1 # zcat ls.1.gz > ls.1 % man -P wc ls >Fix: >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-bugs->sheldonh Responsible-Changed-By: johan Responsible-Changed-When: Tue Aug 22 02:19:26 PDT 2000 Responsible-Changed-Why: In PR bin/13869 Sheldon says he will teach 'man' and others how to index properly. This should be taken care of in the process. http://www.freebsd.org/cgi/query-pr.cgi?pr=4419 State-Changed-From-To: open->suspended State-Changed-By: sheldonh State-Changed-When: Tue Nov 27 10:12:41 PST 2001 State-Changed-Why: This one isn't trivial and requires local hacks to GNU source. Responsible-Changed-From-To: sheldonh->freebsd-bugs Responsible-Changed-By: sheldonh Responsible-Changed-When: Tue Nov 27 10:12:41 PST 2001 Responsible-Changed-Why: I lost interest. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=4419 State-Changed-From-To: suspended->open State-Changed-By: sheldonh State-Changed-When: Tue Nov 27 10:22:47 PST 2001 State-Changed-Why: Oops, it's PR 13869 that's non-trivial to fix. This one has a fighting chance, I think. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=4419 From: "First Electronics Service" To: , Cc: Subject: Re: bin/4419: man can display the same man page twice Date: Sat, 21 Dec 2002 12:28:26 -0600 Teach "man" to ignore compressed files. From: Andrew Marks To: freebsd-gnats-submit@FreeBSD.org, imp@village.org Cc: Subject: Re: bin/4419: man can display the same man page twice Date: Sat, 08 Mar 2003 19:24:12 -0800 The problem is actually in glob_filename() returning both the compressed and uncompressed files. Hopefully I will have a solution by tonight, I have to fix this for a class, and its due on friday. ~Andrew Marks From: Bruce Cran To: bug-followup@FreeBSD.org, imp@village.org Cc: Subject: Re: bin/4419: man can display the same man page twice Date: Thu, 28 Feb 2008 21:10:39 +0000 This is still an issue on 7.0. -- Bruce State-Changed-From-To: open->analyzed State-Changed-By: linimon State-Changed-When: Thu Feb 28 22:47:02 UTC 2008 State-Changed-Why: Appears to still be a problem. http://www.freebsd.org/cgi/query-pr.cgi?pr=4419 Responsible-Changed-From-To: freebsd-bugs->gordon Responsible-Changed-By: gordon Responsible-Changed-When: Wed Aug 18 09:36:05 PDT 2010 Responsible-Changed-Why: I'll take this since I'm looking at replaceing man. http://www.freebsd.org/cgi/query-pr.cgi?pr=4419 From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: gnu/4419: commit references a PR Date: Fri, 1 Oct 2010 03:59:26 +0000 (UTC) Author: gordon Date: Fri Oct 1 03:59:18 2010 New Revision: 213317 URL: http://svn.freebsd.org/changeset/base/213317 Log: Implementaiton of man, manpath, whatis, and apropos written entirely in sh. Features of this new version in favor of the old one: BSD licensed -- old one is GPL. Imports configuration from /etc/man.conf and LOCALBASE/etc/man.d/*.conf allowing ports to extend the base functionality. The pluggable configuration can supplement the manual search path (retiring use.perl), add locales, and override language specific toolsets (attempt to merge the japanese/man port into the base system as much as possible). Much effort has been made to make this version mirror the functionality of the existing implementation. For 99% of users, it should be a drop in replacement. PR: gnu/143271, gnu/4419 Reviewed by: dougb (previous versions) Approved by: wes (mentor) Added: head/usr.bin/man/ head/usr.bin/man/Makefile (contents, props changed) head/usr.bin/man/apropos.1 (contents, props changed) head/usr.bin/man/man.1 (contents, props changed) head/usr.bin/man/man.conf.5 (contents, props changed) head/usr.bin/man/man.sh (contents, props changed) head/usr.bin/man/manpath.1 (contents, props changed) State-Changed-From-To: analyzed->closed State-Changed-By: gordon State-Changed-When: Thu Sep 30 21:23:53 PDT 2010 State-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=4419 State-Changed-From-To: closed->patched State-Changed-By: gordon State-Changed-When: Thu Sep 30 21:28:02 PDT 2010 State-Changed-Why: Patched in 9-CURRENT. Confirmed that the new version does not have the same problem. Will close when hooked up to the build. http://www.freebsd.org/cgi/query-pr.cgi?pr=4419 State-Changed-From-To: patched->closed State-Changed-By: gordon State-Changed-When: Mon Oct 4 08:40:53 PDT 2010 State-Changed-Why: Confirmed solution: # zcat /usr/share/man/man1/ls.1.gz > /usr/share/man/man1/ls.1 # man -w ls /usr/share/man/man1/ls.1 http://www.freebsd.org/cgi/query-pr.cgi?pr=4419 >Unformatted: