summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorwlemb <wlemb>2004-05-06 11:47:19 +0000
committerwlemb <wlemb>2004-05-06 11:47:19 +0000
commitec3e7631a8e613bc06c05c036c67f1c0f638e82d (patch)
treed281bc811c93d81864dfa20b6d61b895556a64eb /man
parent8e809b1082e9ba7cd4e6907e43e06d50280404cc (diff)
downloadgroff-ec3e7631a8e613bc06c05c036c67f1c0f638e82d.tar.gz
* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document `.U' register. * src/roff/troff/env.cpp (environment::mark_last_line) [WIDOW_CONTROL]: Fix scope of `p' for new C++ compilers. New read-only register `.U'; it returns 1 in safer mode and 0 otherwise. * src/roff/troff/input.cpp (init_input_requests): Implement `.U' register.
Diffstat (limited to 'man')
-rw-r--r--man/groff.man7
-rw-r--r--man/groff_diff.man12
2 files changed, 14 insertions, 5 deletions
diff --git a/man/groff.man b/man/groff.man
index 57adb3d6..74f26229 100644
--- a/man/groff.man
+++ b/man/groff.man
@@ -2,7 +2,7 @@
.ig
groff.man
-Last update: 07 Jan 2004
+Last update: 04 May 2004
This file is part of groff, the GNU roff type-setting system.
@@ -3262,7 +3262,10 @@ The value of the parameters set by the second argument of the
request.
.
.REG .u
-Equal to 1 bin fill mode and 0 in nofill mode.
+Equal to 1 in fill mode and 0 in nofill mode.
+.
+.REG .U
+Equal to 1 in safer mode and 0 in unsafe mode.
.
.REG .v
Current vertical line spacing.
diff --git a/man/groff_diff.man b/man/groff_diff.man
index a9a176a2..9254df1a 100644
--- a/man/groff_diff.man
+++ b/man/groff_diff.man
@@ -3,7 +3,7 @@
.ig
groff_diff.man
-Last update : 07 Jan 2004
+Last update : 04 May 2004
This file is part of groff, the GNU roff type-setting system.
It is the source of the man-page groff_diff(7).
@@ -2795,6 +2795,12 @@ Useful in conjunction with the
register.
.
.TP
+.B \[rs]n[.U]
+Set to 1 if in safer mode and to 0 if in unsafe mode (as given with the
+.B \-U
+command line option).
+.
+.TP
.B \[rs]n[.vpt]
1\~if vertical position traps are enabled, 0\~otherwise.
.
@@ -2932,7 +2938,7 @@ is the current year minus 1900.
predefines a single (read/write) string-based register,
.BR \[rs]*(.T ,
which contains the argument given to the
-.B -T
+.B \-T
command line option, namely the current output device (for example,
.I latin1
or
@@ -2942,7 +2948,7 @@ Note that this is not the same as the (read-only) number register
which is defined to be\~1 if
.B troff
is called with the
-.B -T
+.B \-T
command line option, and zero otherwise.
.
This behaviour is different to UNIX troff.