summaryrefslogtreecommitdiffstats
path: root/contrib/groff/src
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-07-10 17:15:31 +0000
committerru <ru@FreeBSD.org>2001-07-10 17:15:31 +0000
commit0e9f92d651352d70d1346396fcb4a3368ece4024 (patch)
treeb6fbbb4db0ae936b9e8d8c39daf099241b2f8928 /contrib/groff/src
parent19af19e8ca34ec8f4a62f70fd279506be6d49ae8 (diff)
downloadFreeBSD-src-0e9f92d651352d70d1346396fcb4a3368ece4024.zip
FreeBSD-src-0e9f92d651352d70d1346396fcb4a3368ece4024.tar.gz
Merge Groff 1.17.2 changes.
Diffstat (limited to 'contrib/groff/src')
-rw-r--r--contrib/groff/src/devices/grotty/grotty.man8
-rw-r--r--contrib/groff/src/preproc/eqn/neqn.sh3
-rw-r--r--contrib/groff/src/roff/groff/groff.man8
-rw-r--r--contrib/groff/src/roff/nroff/nroff.man58
4 files changed, 54 insertions, 23 deletions
diff --git a/contrib/groff/src/devices/grotty/grotty.man b/contrib/groff/src/devices/grotty/grotty.man
index 935c73d..7f38846 100644
--- a/contrib/groff/src/devices/grotty/grotty.man
+++ b/contrib/groff/src/devices/grotty/grotty.man
@@ -1,6 +1,6 @@
-.ig \"-*- nroff -*-
+.ig
$FreeBSD$
-Copyright (C) 1989-2000 Free Software Foundation, Inc.
+Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
@@ -273,3 +273,7 @@ cannot be printed.
.BR ul (1),
.BR more (1),
.BR less (1)
+.
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
diff --git a/contrib/groff/src/preproc/eqn/neqn.sh b/contrib/groff/src/preproc/eqn/neqn.sh
index dadf8f1..c05121b 100644
--- a/contrib/groff/src/preproc/eqn/neqn.sh
+++ b/contrib/groff/src/preproc/eqn/neqn.sh
@@ -18,7 +18,8 @@ case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
esac
: ${GROFF_BIN_PATH=@BINDIR@}
-export PATH=$GROFF_BIN_PATH:$PATH
+PATH=$GROFF_BIN_PATH:$PATH
+export PATH
exec @g@eqn -T${T} ${1+"$@"}
# eof
diff --git a/contrib/groff/src/roff/groff/groff.man b/contrib/groff/src/roff/groff/groff.man
index 4bb321f..f64044e 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-2000 Free Software Foundation, Inc.
+.ig
+Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
@@ -490,3 +490,7 @@ The actual version can be found at
.BR groff_ms (@MAN7EXT@),
.BR groff_me (@MAN7EXT@),
.BR groff_char (@MAN7EXT@)
+.
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
diff --git a/contrib/groff/src/roff/nroff/nroff.man b/contrib/groff/src/roff/nroff/nroff.man
index 2f42702..d6e1b6d 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-2000 Free Software Foundation, Inc.
+.ig
+Copyright (C) 1989-2001 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,6 @@ the original English.
.ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]"
.el .RB "[\ " "\\$1" "\ ]"
..
-.OP \-v
.OP \-h
.OP \-i
.OP \-m name
@@ -42,7 +41,10 @@ the original English.
.OP \-p
.OP \-r cn
.OP \-t
+.OP \-S
.OP \-T name
+.OP \-U
+.OP \-v
.RI "[\ " file\|.\|.\|. "\ ]"
.br
.ad \na
@@ -52,25 +54,39 @@ The
script emulates the
.B nroff
command using groff.
-The
-.B \-T
-option with an argument other than
+Only
.BR ascii ,
.BR latin1 ,
.BR koi8-r ,
.BR utf8 ,
-or
+and
.B cp1047
-will be ignored (and
-.B \-Tascii
-will be used).
+are valid arguments for the
+.B -T
+option.
+If an invalid or no
+.BR \-T
+option is given,
+.B @g@nroff
+checks the current locale to select a default output device.
+It first tries the
+.B locale
+program, then the environment variables
+.BR LC_ALL ,
+.BR LC_CTYPE ,
+and
+.BR LANG ,
+and finally the
+.B LESSCHARSET
+environment variable.
+.PP
The
.B \-h
option
is equivalent to the
-.B grotty
+.BR grotty 's
.B \-h
-option.
+option (i.e., using tabs in the output).
The
.BR \-i ,
.BR \-n ,
@@ -80,20 +96,22 @@ and
.B \-r
options have the effect described in
.BR @g@troff (@MAN1EXT@).
-In addition
+In addition,
.B @g@nroff
-silently ignores options of
+silently ignores the options
.BR \-e ,
-.B \-q
-or
-.BR \-s .
+.BR \-q ,
+and
+.BR \-s
+(which are not implemented in
+.BR @g@troff ).
Options
.B \-p
(pic),
.B \-t
(tbl),
.B \-S
-(safer) and
+(safer), and
.B \-U
(unsafe) are passed to
.BR groff .
@@ -118,3 +136,7 @@ loaded to emulate unrepresentable glyphs.
.BR groff (@MAN1EXT@),
.BR @g@troff (@MAN1EXT@),
.BR grotty (@MAN1EXT@)
+.
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
OpenPOWER on IntegriCloud