diff options
author | asmodai <asmodai@FreeBSD.org> | 2000-01-12 09:51:43 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2000-01-12 09:51:43 +0000 |
commit | 2e2c9047c3a8b5b6fdcdcd4585d5b114f31cd386 (patch) | |
tree | 723c5fa18b7084a4da09e4e42000ef10cbc884fa /contrib/groff/src/roff | |
parent | 35cdaa022af3f495aa21a1292d85ee40b28f86fb (diff) | |
download | FreeBSD-src-2e2c9047c3a8b5b6fdcdcd4585d5b114f31cd386.zip FreeBSD-src-2e2c9047c3a8b5b6fdcdcd4585d5b114f31cd386.tar.gz |
Virgin import of FSF groff v1.15
Diffstat (limited to 'contrib/groff/src/roff')
-rw-r--r-- | contrib/groff/src/roff/groff/groff.man | 51 | ||||
-rw-r--r-- | contrib/groff/src/roff/nroff/nroff.man | 9 | ||||
-rwxr-xr-x | contrib/groff/src/roff/nroff/nroff.sh | 11 |
3 files changed, 55 insertions, 16 deletions
diff --git a/contrib/groff/src/roff/groff/groff.man b/contrib/groff/src/roff/groff/groff.man index 4b6029e..aa57f31 100644 --- a/contrib/groff/src/roff/groff/groff.man +++ b/contrib/groff/src/roff/groff/groff.man @@ -1,5 +1,5 @@ .ig \"-*- nroff -*- -Copyright (C) 1989-1995 Free Software Foundation, Inc. +Copyright (C) 1999 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -33,7 +33,7 @@ groff \- front end for the groff document formatting system .SH SYNOPSIS .B groff [ -.B \-tpeszaivhblCENRSVXZ +.B \-abehilpstvzCENRSUVXZ ] [ .BI \-w name @@ -48,6 +48,9 @@ groff \- front end for the groff document formatting system .BI \-F dir ] [ +.BI \-I dir +] +[ .BI \-T dev ] [ @@ -72,6 +75,9 @@ groff \- front end for the groff document formatting system .BI \-P arg ] [ +.BI \-L arg +] +[ .IR files \|.\|.\|.\| ] .SH DESCRIPTION @@ -87,22 +93,25 @@ Available devices are: For PostScript printers and previewers .TP .B dvi -For TeX dvi format +For TeX dvi format. .TP .B X75 -For a 75 dpi X11 previewer +For a 75 dpi X11 previewer. .TP .B X100 -For a 100dpi X11 previewer +For a 100dpi X11 previewer. .TP .B ascii -For typewriter-like devices +For typewriter-like devices. .TP .B latin1 For typewriter-like devices using the ISO Latin-1 character set. .TP .B lj4 For an HP LaserJet4-compatible (or other PCL5-compatible) printer. +.TP +.B html +To produce HTML output. .LP The postprocessor to be used for a device is specified by the .B postpro @@ -148,6 +157,13 @@ Preprocess with @g@pic. .B \-s Preprocess with @g@soelim. .TP +.BI \-I dir +This option is as described in +.BR @g@soelim (@MAN1EXT@) . +This option implies the +.B \-s +option. +.TP .B \-R Preprocess with @g@refer. No mechanism is provided for passing arguments to @@ -255,6 +271,10 @@ and use the .B \%\-msafer macros with .BR @g@troff . +(enabled by default) +.TP +.B \-U +Unsafe mode. Reverts to the old unsafe behaviour. .TP .B \-a .TQ @@ -303,13 +323,15 @@ This also applies to .BR tbl , .BR pic , .BR eqn , -.B refer +.BR refer , and .BR soelim . It does not apply to .BR grops , .BR grodvi , -.BR grotty +.BR grotty , +.BR grolj4 , +.BR grohtml , and .BR gxditview . .TP @@ -361,12 +383,12 @@ of device .SH AUTHOR James Clark <jjc@jclark.com> .SH BUGS -Report bugs to bug-groff@prep.ai.mit.edu. +Report bugs to bug-groff@gnu.org. Include a complete, self-contained example that will allow the bug to be reproduced, and say which version of groff you are using. .SH COPYRIGHT -Copyright \(co 1989, 1990, 1991, 1992 Free Software Foundation, Inc. +Copyright \(co 1989, 1990, 1991, 1992, 1999 Free Software Foundation, Inc. .LP groff is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -383,8 +405,7 @@ with groff; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. .SH AVAILABILITY The most recent released version of groff is always available for -anonymous ftp from prep.ai.mit.edu (18.71.0.38) in the directory -pub/gnu. +anonymous ftp from ftp.gnu.org in the directory gnu/groff. .SH "SEE ALSO" .BR grog (@MAN1EXT@), .BR @g@troff (@MAN1EXT@), @@ -396,10 +417,12 @@ pub/gnu. .BR grops (@MAN1EXT@), .BR grodvi (@MAN1EXT@), .BR grotty (@MAN1EXT@), +.BR grohtml (@MAN1EXT@), .BR gxditview (@MAN1EXT@), .BR groff_font (@MAN5EXT@), .BR groff_out (@MAN5EXT@), +.BR groff_man (@MAN7EXT@), .BR groff_ms (@MAN7EXT@), -.BR me (@MAN7EXT@), +.BR groff_me (@MAN7EXT@), .BR groff_char (@MAN7EXT@), -.BR msafer (@MAN7EXT@) +.BR groff_msafer (@MAN7EXT@) diff --git a/contrib/groff/src/roff/nroff/nroff.man b/contrib/groff/src/roff/nroff/nroff.man index 38ae083..4087ebe 100644 --- a/contrib/groff/src/roff/nroff/nroff.man +++ b/contrib/groff/src/roff/nroff/nroff.man @@ -1,5 +1,5 @@ .ig \"-*- nroff -*- -Copyright (C) 1989-1995 Free Software Foundation, Inc. +Copyright (C) 1989-1999 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -81,6 +81,13 @@ silently ignores options of .B \-q or .BR \-s . +Options +.B \-S +(safer) and +.B \-U +(unsafe) are passed to groff. +.B \-S +is passed by default. .SH "SEE ALSO" .BR groff (@MAN1EXT@), .BR @g@troff (@MAN1EXT@), diff --git a/contrib/groff/src/roff/nroff/nroff.sh b/contrib/groff/src/roff/nroff/nroff.sh index 7933025..ee4e332 100755 --- a/contrib/groff/src/roff/nroff/nroff.sh +++ b/contrib/groff/src/roff/nroff/nroff.sh @@ -10,6 +10,7 @@ else T=-Tascii fi opts= +safer=-S for i do @@ -34,6 +35,14 @@ do -T*) # ignore other devices ;; + -S) + # safer behaviour + safer=-S + ;; + -U) + # unsafe behaviour + safer=-U + ;; -u*) # Solaris 2.2 `man' uses -u0; ignore it, # since `less' and `more' can use the emboldening info. @@ -58,4 +67,4 @@ done # This shell script is intended for use with man, so warnings are # probably not wanted. Also load nroff-style character definitions. -exec groff -Wall -mtty-char $T $opts ${1+"$@"} +exec groff $safer -Wall -mtty-char $T $opts ${1+"$@"} |