1TROFF(1)                    General Commands Manual                   TROFF(1)
2
3
4

NAME

6       troff, nroff - text formatting and typesetting
7

SYNOPSIS

9       troff [ option ] ...  [ file ] ...
10
11       nroff [ option ] ...  [ file ] ...
12

DESCRIPTION

14       Troff formats text in the named files for printing on a Graphic Systems
15       C/A/T phototypesetter; nroff is used for for  typewriter-like  devices.
16       Their capabilities are described in the Nroff/Troff user's manual.
17
18       If  no  file argument is present, the standard input is read.  An argu‐
19       ment consisting of a single minus (-) is taken to be a file name corre‐
20       sponding  to  the standard input.  The options, which may appear in any
21       order so long as they appear 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.  Troff will stop the photo‐
33              typesetter every N pages, produce a trailer  to  allow  changing
34              cassettes,  and  resume  when  the  typesetter's start button is
35              pressed.
36
37       -mname Prepend the macro file /usr/share/tmac/tmac.name  to  the  input
38              files.
39
40       -raN   Set register a (one-character) to N.
41
42       -i     Read standard input after the input files are exhausted.
43
44       -q     Invoke the simultaneous input-output mode of the rd request.
45
46       TTrrooffff oonnllyy
47
48       -t     Direct  output  to the standard output instead of the phototype‐
49              setter.
50
51       -f     Refrain from feeding out paper and stopping  phototypesetter  at
52              the end of the run.
53
54       -w     Wait until phototypesetter is available, if currently busy.
55
56       -b     Report  whether  the  phototypesetter  is busy or available.  No
57              text processing is done.
58
59       -a     Send a printable ASCII approximation of the results to the stan‐
60              dard output.
61
62       -pN    Print  all  characters  in point size N while retaining all pre‐
63              scribed spacings and motions, to reduce phototypesetter  elapsed
64              time.
65
66       -Ffontdir
67              The  directory fontdir contains the font width tables instead of
68              the default directory /usr/share/fonts. This option can be  used
69              to produce output for devices besides the phototypesetter.
70
71       If  the  file  /usr/adm/tracct is writable, troff keeps phototypesetter
72       accounting records there.  The integrity of that file may be secured by
73       making troff a 'set user-id' program.
74

FILES

76       /tmp/ta*                temporary file
77       /usr/share/tmac/tmac.*  standard macro files
78       /usr/share/term/*       terminal driving tables for nroff
79       /usr/share/font/*       font width tables for troff
80       /dev/cat                phototypesetter
81       /usr/adm/tracct         accounting statistics for /dev/cat
82

SEE ALSO

84       J. F. Ossanna, Nroff/Troff user's manual
85       B. W. Kernighan, A TROFF Tutorial
86       eqn(1), tbl(1), ms(7), me(7), man(7), col(1)
87
88
89
907th Edition                    October 22, 1996                       TROFF(1)
Impressum