From owner-freebsd-bugs Tue Feb 4 17:20:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA06696 for bugs-outgoing; Tue, 4 Feb 1997 17:20:08 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA06671; Tue, 4 Feb 1997 17:20:02 -0800 (PST) Resent-Date: Tue, 4 Feb 1997 17:20:02 -0800 (PST) Resent-Message-Id: <199702050120.RAA06671@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, gurney_j@efn.org Received: from mail.webspan.net (mail.webspan.net [206.154.70.7]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA05266 for ; Tue, 4 Feb 1997 17:12:18 -0800 (PST) Received: from orion.webspan.net (orion.webspan.net [206.154.70.5]) by mail.webspan.net (WEBSPAN/970116) with ESMTP id UAA07590 for ; Tue, 4 Feb 1997 20:11:37 -0500 (EST) Received: from orion.webspan.net (localhost [127.0.0.1]) by orion.webspan.net (WEBSPN/970116) with ESMTP id UAA15823 for ; Tue, 4 Feb 1997 20:11:37 -0500 (EST) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.18]) by mail.webspan.net (WEBSPAN/970116) with ESMTP id EAA09870 for ; Tue, 4 Feb 1997 04:30:57 -0500 (EST) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA05356 for ; Tue, 4 Feb 1997 01:30:30 -0800 (PST) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.4/8.8.4) id BAA28390; Tue, 4 Feb 1997 01:30:28 -0800 (PST) Message-Id: <199702040930.BAA28390@hydrogen.nike.efn.org> Date: Tue, 4 Feb 1997 01:30:28 -0800 (PST) From: John-Mark Gurney Reply-To: gurney_j@efn.org To: FreeBSD-gnats@freefall.FreeBSD.org X-Send-Pr-Version: 3.2 Subject: gnu/2661: man -t is hardcoded to do postscript output (even though it says it passes it through troff) Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 2661 >Category: gnu >Synopsis: man -t is hardcoded to do postscript output (even though it says it passes it through troff) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 4 17:20:01 PST 1997 >Last-Modified: >Originator: John-Mark Gurney >Organization: Cu Networking >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: pretty much any freebsd system... >Description: if you do something like: export GROFF_TYPESETTER=lj4 man -t sh > /tmp/output.lj4 and look at /tmp/output.lj4 you will see postscript output even though the environment setting is for lj4... basicly the man program is hardcoding to output postscript... yes this may break some scripts but it's doubtful that there will be an environment that sets GROFF_TYPESETTER to something else, and still wants postscript output from man -t, but it's possible... >How-To-Repeat: see above >Fix: apply this patch: Index: Makefile.inc =================================================================== RCS file: /usr/cvs/src/gnu/usr.bin/man/Makefile.inc,v retrieving revision 1.12 diff -c -r1.12 Makefile.inc *** Makefile.inc 1996/05/22 15:53:19 1.12 --- Makefile.inc 1997/02/04 09:24:37 *************** *** 7,13 **** bindir= ${BINDIR} pager= more -s manpath_config_file= /etc/manpath.config ! troff= /usr/bin/groff -Tps -man nroff= /usr/bin/groff -Wall -mtty-char -Tascii -man apropos= /usr/bin/apropos whatis= /usr/bin/whatis --- 7,13 ---- bindir= ${BINDIR} pager= more -s manpath_config_file= /etc/manpath.config ! troff= /usr/bin/groff -man nroff= /usr/bin/groff -Wall -mtty-char -Tascii -man apropos= /usr/bin/apropos whatis= /usr/bin/whatis >Audit-Trail: >Unformatted: John-Mark Gurney