1NROFF(1) General Commands Manual NROFF(1)
2
3
4
6 nroff - text formatting
7
9 nroff [ option ] ... [ file ] ...
10
12 Nroff formats text in the named files for typewriter-like devices. See
13 also troff(1). The full capabilities of nroff are described in the
14 Nroff/Troff User's Manual.
15
16 If no file argument is present, the standard input is read. An argu‐
17 ment consisting of a single minus (-) is taken to be a file name corre‐
18 sponding to the standard input.
19
20 The options, which may appear in any order so long as they appear
21 before the files, are:
22
23 -olist Print only pages whose page numbers appear in the comma-sepa‐
24 rated list of numbers and ranges. A range N-M means pages N
25 through M; an initial -N means from the beginning to page N; and
26 a final N- means from N to the end.
27
28 -nN Number first generated page N.
29
30 -sN Stop every N pages. Nroff will halt prior to every N pages
31 (default N=1) to allow paper loading or changing, and will
32 resume upon receipt of a newline.
33
34 -mname Prepend the macro file /usr/share/tmac/tmac.name to the input
35 files.
36
37 -raN Set register a (one-character) to N.
38
39 -i Read standard input after the input files are exhausted.
40
41 -q Invoke the simultaneous input-output mode of the rd request.
42
43 -Tname Prepare output for specified terminal. Known names are 37 for
44 the (default) Teletype Corporation Model 37 terminal, tn300 for
45 the GE TermiNet 300 (or any terminal without half-line capabil‐
46 ity), 300S for the DASI-300S, 300 for the DASI-300, and 450 for
47 the DASI-450 (Diablo Hyterm).
48
49 -e Produce equally-spaced words in adjusted lines, using full ter‐
50 minal resolution.
51
52 -h Use output tabs during horizontal spacing to speed output and
53 reduce output character count. Tab settings are assumed to be
54 every 8 nominal character widths.
55
57 /tmp/ta* temporary file
58 /usr/share/tmac/tmac.* standard macro files
59 /usr/share/term/* terminal driving tables for nroff
60
62 J. F. Ossanna, Nroff/Troff user's manual
63 B. W. Kernighan, A TROFF Tutorial
64 troff(1), eqn(1), tbl(1), ms(7), me(7), man(7), col(1)
65
66
67
684.2 Berkeley Distribution October 22, 1996 NROFF(1)