Bug 13235

Summary: allow preprocessing with tbl(1) for nroff(1)
Product: Base System Reporter: Alexey M. Zelkin <phantom>
Component: binAssignee: mpp
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Alexey M. Zelkin 1999-08-18 21:30:01 UTC
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).
Comment 1 mpp freebsd_committer freebsd_triage 1999-08-18 22:15:04 UTC
State Changed
From-To: open->suspended

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. 


Comment 2 mpp freebsd_committer freebsd_triage 1999-08-18 22:15:04 UTC
Responsible Changed
From-To: freebsd-bugs->mpp

See the state change info. 

Comment 3 Alexey M. Zelkin 1999-08-18 22:16:05 UTC
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
Comment 4 mpp 1999-08-18 22:16:43 UTC
> >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
Comment 5 mpp 1999-08-19 00:09:03 UTC
> > > >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
Comment 6 Alexey Zelkin freebsd_committer freebsd_triage 1999-12-25 17:23:33 UTC
State Changed
From-To: suspended->closed

Fixed long ago 
by phantom