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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| ||||
| 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. |
| Thread Tools | |
| Display Modes | |
|
|