Unix Technical Forum

Re: Small update man page for nroff (fwd)

This is a discussion on Re: Small update man page for nroff (fwd) within the mailing.openbsd.tech forums, part of the OpenBSD category; --> On Wed, Mar 21, 2007 at 09:03:25PM -0400, Daniel Dickman wrote: > nroff will also accept -Tps as a ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:16 AM
Jason McIntyre
 
Posts: n/a
Default Re: Small update man page for nroff (fwd)

On Wed, Mar 21, 2007 at 09:03:25PM -0400, Daniel Dickman wrote:
> nroff will also accept -Tps as a parameter. The patch below updates the man
> page.
>
>


first of all, the pages in gnu/usr.bin/groff/ are 3rd party. any
fixes that you want to propose should be sent to gnu groff people.
just remember to verify that the latest version of their software
contains the problem you're addressing (i.e. it hasn't already been
fixed).

secondly, i'm not 100% sure if this fix is correct or not. the page
says that if the option given to nroff(1) is invalid it will use a
default output device. in this case you get ps output whether you
specify -Tps or -Tmarsbar. since nroff is just a wrapper ("emulate
nroff command with groff") maybe the developers classify it this
way.

as far as i know, you as supposed to use groff(1) for such exoterics
as -Tps and -Thtml.

you are correct though that "-Tps" will produce postscript, and
that the page is very unclear.

jmc

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 09:16 AM
didickman@gmail.com
 
Posts: n/a
Default Re: Small update man page for nroff (fwd)

On Mar 22, 4:11 am, j...@kerhand.co.uk (Jason McIntyre) wrote:
> On Wed, Mar 21, 2007 at 09:03:25PM -0400, Daniel Dickman wrote:
> > nroff will also accept -Tps as a parameter. The patch below updates the man
> > page.

>
> first of all, the pages in gnu/usr.bin/groff/ are 3rd party. any
> fixes that you want to propose should be sent to gnu groff people.
> just remember to verify that the latest version of their software
> contains the problem you're addressing (i.e. it hasn't already been
> fixed).
>
> secondly, i'm not 100% sure if this fix is correct or not. the page
> says that if the option given to nroff(1) is invalid it will use a
> default output device. in this case you get ps output whether you
> specify -Tps or -Tmarsbar. since nroff is just a wrapper ("emulate
> nroff command with groff") maybe the developers classify it this
> way.
>
> as far as i know, you as supposed to use groff(1) for such exoterics
> as -Tps and -Thtml.
>
> you are correct though that "-Tps" will produce postscript, and
> that the page is very unclear.
>
> jmc


Look at the comment for nroff.sh on this page
http://www.openbsd.org/cgi-bin/cvswe...n/groff/nroff/

The cvs comment was "permit -Tps". It just looks like the
corresponding change to the man page was not made at the time. I
looked through the code and it certainly does allow -Tps. Did I miss
anything?

Thanks.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:31 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com