The following lists some built-in registers which are not described elsewhere in this manual. Any register which begins with a ‘.’ is read-only. A complete listing of all built-in registers can be found in Register Index.
\n[.F]\n[.H]\n[.R]troff; it exists for backward compatibility.
\n[.U]gtroff is called with the -U command line option to
activate unsafe mode, the number register .U is set to 1,
and to zero otherwise. See Groff Options.
\n[.V]\n[seconds]gtroff.
\n[minutes]gtroff.
\n[hours]gtroff.
\n[dw]\n[dy]\n[mo]\n[year]\n[yr]troff had a year 2000 bug:
It incorrectly claimed that yr contains the last two digits of
the year. That claim has never been true of either AT&T
troff or GNU troff. Old troff input that looks
like this:
'\" The following line stopped working after 1999
This document was formatted in 19\n(yr.
can be corrected as follows:
This document was formatted in \n[year].
or, to be portable to older troff versions, as follows:
.nr y4 1900+\n(yr
This document was formatted in \n(y4.
\n[.c]\n[c.]gtroff extension) is writable also,
affecting both ‘.c’ and ‘c.’.
\n[ln]nm
request to activate line numbering.
See Miscellaneous, for more information about line numbering.
\n[.x].x contains ‘1’.
\n[.y].y contains ‘03’.
\n[.Y]groff.
\n[$$]gtroff.
\n[.g]troff.
\n[.A]\n[.O]\O). See Suppressing output.
\n[.P]\n[.T]gtroff is called with the -T command line option, the
number register .T is set to 1, and zero otherwise.
See Groff Options.
\*[.T]gtroff.