Use the file man.local to configure its rendering parameters on a
persistent basis. With care, its macros can be redefined there (except
for TH
, to which one should, at most, append with the am
family of requests).
The groff
source distribution includes a file named
man.ultrix, containing macros compatible with the Ultrix variant
of man
. Copy this file into man.local (or use the
mso
request to load it) to enable the following macros.
.CT
key ¶Print ‘<CTRL/key>’.
.CW
¶Print subsequent text using a “constant-width” (monospaced) typeface (Courier roman).
.Ds
¶Begin a non-filled display.
.De
¶End a non-filled display started with Ds
.
.EX
[indent] ¶Begin a non-filled display using a monospaced typeface (Courier roman). Use the optional indent argument to indent the display.
.EE
¶End a non-filled display started with EX
.
.G
[text] ¶Set text in Helvetica. If no text is present on the line where the macro is called, then the text of the next line appears in Helvetica.
.GL
[text] ¶Set text in Helvetica oblique. If no text is present on the line where the macro is called, then the text of the next line appears in Helvetica Oblique.
.HB
[text] ¶Set text in Helvetica bold. If no text is present on the line
where the macro is called, then all text up to the next HB
appears in Helvetica bold.
.TB
[text] ¶Identical to HB
.
.MS
title sect [punct] ¶Set a man page reference in Ultrix format. The title is in Courier instead of italic. Optional punctuation follows the section number without an intervening space.
.NT
[C
] [title] ¶Begin a note. Print the optional title, or the word “Note”,
centered on the page. Text following the macro makes up the body of the
note, and is indented on both sides. If the first argument is C
,
the body of the note is printed centered (the second argument replaces
the word “Note” if specified).
.NE
¶End a note begun with NT
.
.PN
path [punct] ¶Set the path name in a monospaced typeface (Courier roman), followed by optional punctuation.
.Pn
[punct] path [punct] ¶If called with two arguments, identical to PN
. If called with
three arguments, set the second argument in a monospaced typeface
(Courier roman), bracketed by the first and third arguments in the
current font.
.R
¶Switch to roman font and turn off any underlining in effect.
.RN
¶Print the string ‘<RETURN>’.
.VS
[4
] ¶Start printing a change bar in the margin if the number 4
is
specified. Otherwise, this macro does nothing.
.VE
¶End printing the change bar begun by VS
.
The following example man.local file alters the behavior of the
SH
macro.
.\" Make the heading font Helvetica bold. .ds HF HB . .\" Add vertical space prior to headings on typesetters. .rn SH SH-orig .de SH . if t .sp (u;\\n[PD]*2) . SH-orig \\$* ..