From phantom@scorpion.crimea.ua Wed Aug 18 13:30:11 1999
Return-Path: <phantom@scorpion.crimea.ua>
Received: from sonet.crimea.ua (OTC-sl3-FLY.CRIS.NET [212.110.136.71])
	by hub.freebsd.org (Postfix) with ESMTP id 34F0914A2D
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 18 Aug 1999 13:28:39 -0700 (PDT)
	(envelope-from phantom@scorpion.crimea.ua)
Received: (from uucp@localhost)
	by sonet.crimea.ua (8.8.8/8.8.8) with UUCP id XAA07500
	for FreeBSD-gnats-submit@freebsd.org; Wed, 18 Aug 1999 23:29:14 +0400 (MSD)
	(envelope-from phantom@scorpion.crimea.ua)
Received: (from phantom@localhost)
	by scorpion.crimea.ua (8.8.8/8.8.5+ssl+keepalive) id XAA03563;
	Wed, 18 Aug 1999 23:21:51 +0400 (MSD)
Message-Id: <199908181921.XAA03563@scorpion.crimea.ua>
Date: Wed, 18 Aug 1999 23:21:51 +0400 (MSD)
From: "Alexey M. Zelkin" <phantom@cris.net>
Sender: phantom@scorpion.crimea.ua
Reply-To: "Alexey M. Zelkin" <phantom@cris.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] allow preprocessing with tbl for nroff(1)
X-Send-Pr-Version: 3.2

>Number:         13235
>Category:       bin
>Synopsis:       allow preprocessing with tbl(1) for nroff(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mpp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 18 13:30:01 PDT 1999
>Closed-Date:    Sat Dec 25 09:23:33 PST 1999
>Last-Modified:  Sat Dec 25 09:24:21 PST 1999
>Originator:     Alexey Zelkin
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Home
>Environment:

-CURRENT

>Description:

This patch allows to use -t option for nroff(1).
Effect is similar to groff's -t option.

I see that it's very useful then I am working with manual page
which contains .TS/.TE macros (f.e. doscmd.1).

>How-To-Repeat:
>Fix:

Index: nroff.man
===================================================================
RCS file: /usr/local/CVSROOT/src/contrib/groff/nroff/nroff.man,v
retrieving revision 1.2
diff -c -r1.2 nroff.man
*** nroff.man	1996/09/08 00:28:24	1.2
--- nroff.man	1999/08/18 19:19:48
***************
*** 40,45 ****
--- 40,48 ----
  .BI \-r cn
  ]
  [
+ .BI \-t
+ ]
+ [
  .BI \-T name
  ]
  [
***************
*** 71,79 ****
  .BR \-i ,
  .BR \-n ,
  .BR \-m ,
! .B \-o
! and
  .B \-r
  options have the effect described in
  .BR @g@troff (@MAN1EXT@).
  In addition
--- 74,83 ----
  .BR \-i ,
  .BR \-n ,
  .BR \-m ,
! .BR \-o ,
  .B \-r
+ and
+ .B \-t
  options have the effect described in
  .BR @g@troff (@MAN1EXT@).
  In addition
Index: nroff.sh
===================================================================
RCS file: /usr/local/CVSROOT/src/contrib/groff/nroff/nroff.sh,v
retrieving revision 1.6
diff -c -r1.6 nroff.sh
*** nroff.sh	1999/07/30 16:34:06	1.6
--- nroff.sh	1999/08/18 19:16:36
***************
*** 30,36 ****
  		echo "$prog: option $1 requires an argument" >&2
  		exit 1
  		;;
! 	-i|-S|-[mrno]*)
  		opts="$opts $1";
  		;;
  
--- 30,36 ----
  		echo "$prog: option $1 requires an argument" >&2
  		exit 1
  		;;
! 	-i|-S|-[mrnot]*)
  		opts="$opts $1";
  		;;
  

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->suspended 
State-Changed-By: mpp 
State-Changed-When: Wed Aug 18 14:15:04 PDT 1999 
State-Changed-Why:  
I've been slowly working on converting all of the remaining man pages 
that use tbl to use mdoc style tables, so this change won't be needed 
when that work is complete. 


Responsible-Changed-From-To: freebsd-bugs->mpp 
Responsible-Changed-By: mpp 
Responsible-Changed-When: Wed Aug 18 14:15:04 PDT 1999 
Responsible-Changed-Why:  
See the state change info. 

From: Mike Pritchard <mpp@mpp.pro-ns.net>
To: phantom@cris.net (Alexey M. Zelkin)
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/13235: [PATCH] allow preprocessing with tbl for nroff(1)
Date: Wed, 18 Aug 1999 16:16:43 -0500 (CDT)

 > >Synopsis:       allow preprocessing with tbl(1) for nroff(1)
 > >Description:
 > 
 > This patch allows to use -t option for nroff(1).
 > Effect is similar to groff's -t option.
 > 
 > I see that it's very useful then I am working with manual page
 > which contains .TS/.TE macros (f.e. doscmd.1).
 
 Actually I want to convert all of the remaining tbl tables into mdoc
 style tables, so this change won't be needed when that is completed.
 
 -Mike
 -- 
 Mike Pritchard
 mpp@FreeBSD.ORG or mpp@mpp.pro-ns.net
 

From: "Alexey M. Zelkin" <phantom@cris.net>
To: mpp@mpp.pro-ns.net (Mike Pritchard)
Cc: phantom@cris.net, FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/13235: [PATCH] allow preprocessing with tbl for nroff(1)
Date: Thu, 19 Aug 1999 01:16:05 +0400 (MSD)

 hi,
 
 > > >Synopsis:       allow preprocessing with tbl(1) for nroff(1)
 > > >Description:
 > > 
 > > This patch allows to use -t option for nroff(1).
 > > Effect is similar to groff's -t option.
 > > 
 > > I see that it's very useful then I am working with manual page
 > > which contains .TS/.TE macros (f.e. doscmd.1).
 > 
 > Actually I want to convert all of the remaining tbl tables into mdoc
 > style tables, so this change won't be needed when that is completed.
  
 Actually nroff is not only tool for man pages formating. Also present
 -me, -ms family files. To take look on these files I needed to
 type each time command line like
 
 $ groff -mtty-char -ms -Tascii -t -S file.ms
 
 With this patch applied command line shrinked to
 
 $ nroff -ms file.ms
 
 So, I said that it's useful for manpages, but I don't said it's useful _only_
 for manpages.
 
 -- 
 Sincerely Yours,   | phantom@crimea.edu      (primary)
 Alexey Zelkin      | phantom@scorpion.crimea.ua (home)
                    | ICQ: #6196584,  FIDO: 2:460/12.26
 

From: Mike Pritchard <mpp@mpp.pro-ns.net>
To: phantom@cris.net (Alexey M. Zelkin)
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/13235: [PATCH] allow preprocessing with tbl for nroff(1)
Date: Wed, 18 Aug 1999 18:09:03 -0500 (CDT)

 > > > >Synopsis:       allow preprocessing with tbl(1) for nroff(1)
 > > > 
 > > > This patch allows to use -t option for nroff(1).
 > > > Effect is similar to groff's -t option.
 > > > 
 > Actually nroff is not only tool for man pages formating. Also present
 > -me, -ms family files. To take look on these files I needed to
 > type each time command line like
 > 
 > $ groff -mtty-char -ms -Tascii -t -S file.ms
 > 
 > With this patch applied command line shrinked to
 > 
 > $ nroff -ms file.ms
 > 
 > So, I said that it's useful for manpages, but I don't said it's useful _only_
 > for manpages.
 
 Actually, I didn't look at the patch that closely.  You are allowing
 -t to be passed on the nroff command line to the eventual groff call.
 From my first glance, I was thinking it was automatic.  I don't
 have any problem with this patch, so I'll go ahead and apply it.
 
 -Mike
 -- 
 Mike Pritchard
 mpp@FreeBSD.ORG or mpp@mpp.pro-ns.net
 
State-Changed-From-To: suspended->closed 
State-Changed-By: phantom 
State-Changed-When: Sat Dec 25 09:23:33 PST 1999 
State-Changed-Why:  
Fixed long ago 
by phantom 
>Unformatted:
