NetBSD Problem Report #9128

Received: (qmail 13163 invoked from network); 6 Jan 2000 14:37:24 -0000
Message-Id: <200001061436.JAA26123@rfc1178.op.net>
Date: Thu, 6 Jan 2000 09:36:06 -0500 (EST)
From: Jeff Weisberg <jaw@Op.Net>
Reply-To: jaw@Op.Net
To: gnats-bugs@gnats.netbsd.org
Subject: vgrind -t does not work as advertised
X-Send-Pr-Version: 3.95

>Number:         9128
>Category:       bin
>Synopsis:       vgrind -t does not work as advertised
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 06 06:39:01 +0000 2000
>Closed-Date:    
>Last-Modified:  
>Originator:     Jeff
>Release:        approx. 2000/Jan/2
>Organization:
OpNet/NetReach Internet - Network Operations Center
>Environment:
System: NetBSD rfc1178.op.net 1.4P NetBSD 1.4P (MICHELANGELO) #8: Thu Dec 30 17:16:08 EST 1999 jaw@rfc1178.op.net:/Net/pisarro/usr/src/NetBSD-current/src/sys/arch/sparc/compile/MICHELANGELO sparc


>Description:
	the vgrind man page documents the "-t" option thusly:
	  > -t  similar to the same option in troff causing formatted text
          >     to go to the standard output

	In reality, it does not. the "-t" is handed to "psroff" (which
	has no man page, but is simple enough to follow reading the source).

	"psroff" then passes this along with a "-l" (among others) to "groff"

	"groff" interprets "-t" as "Preprocess with gtbl" and
	"-l" as "Send the output to a printer..."


>How-To-Repeat:
	type:
	    vgrind -t foo.c
	watch output go to printer

>Fix:
	adjust psroff to not pass "-l" to groff

	adjust vgrind to pass "-l" to psroff only if not handed a "-t"

>Release-Note:
>Audit-Trail:
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.