Subject: bin/6258: man formats files with suffix .n as -me input
To: None <gnats-bugs@gnats.netbsd.org>
From: None <pn30@columbia.edu>
List: netbsd-bugs
Date: 10/07/1998 11:52:43
>Number: 6258
>Category: bin
>Synopsis: man formats files with suffix .n as -me input
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 7 09:05:00 1998
>Last-Modified:
>Originator: Pierce Nichols
>Organization:
Columbia University
>Release: NetBSD-1.3.1
>Environment:
System: NetBSD intern2.unicast.com 1.3.1 NetBSD 1.3.1 (NEVRAST) #12: Sat Apr 11 23:03:27 PDT 1998 jwise@nevrast.unicast.com:/usr/src/sys/arch/i386/compile/NEVRAST i386
>Description:
/etc/man.conf contains the line:
_build .n /usr/bin/nroff -me %s 2>/dev/null | cat -s
This formats tcl/tk man pages (pkgsrc/lang/tcl8.0 & pkgsrc/x11/tk8.0) as -me input, completely mangling them.
>How-To-Repeat:
attempt to read any manpage with the suffix .n under the default setup.
>Fix:
comment out the offending line and change the following lines:
_build .[1-9] /usr/bin/nroff -man %s
_build .[1-9].Z /usr/bin/zcat %s | /usr/bin/nroff -man
_build .[1-9].gz /usr/bin/gunzip -c %s | /usr/bin/nroff -man
to:
_build .[1-9n] /usr/bin/nroff -man %s
_build .[1-9n].Z /usr/bin/zcat %s | /usr/bin/nroff -man
_build .[1-9n].gz /usr/bin/gunzip -c %s | /usr/bin/nroff -man
>Audit-Trail:
>Unformatted: