Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

TROFF(1)

NAME

troff − text formatting and typesetting

USAGE

troff [ options ] ...  [ file ] ... 

DESCRIPTION

Troff formats text in the named files for printing on a phototypesetter. 

If no file argument is present, troff reads the standard input.  It takes an argument consisting of a single dash (−) to be a filename corresponding to the standard input.  Options may appear in any order, so long as they appear before the filenames. 

If the file /usr/adm/tracct is writable, troff keeps phototypesetter accounting records there.  The integrity of that file may be secured by making troff a “set user-id” program. 

OPTIONS

−olist Print only pages whose page numbers appear in the comma-separated list of numbers and ranges.  A range N−M means pages N through M; an initial −N means from the beginning to page N; and a final N− means from page N to the end. 

−nN Make the first generated page appear as number N.

−sN Stop every N pages, produce a trailer to allow cassette changes, and resume when the typesetter’s start button is pressed. 

−mname
Prepend the macro file /usr/lib/tmac/tmac.name to the input files.

−raN Set register a (one-character) to N.

−i Read standard input after the input files are exhausted. 

−q Invoke the simultaneous input-output mode of the rd request. 

−t Direct output to the standard output instead of the phototypesetter. 

−f Refrain from feeding out paper and stopping the phototypesetter at the end of the run. 

−w Wait until the phototypesetter is available, if it is currently busy. 

−b Tell whether the phototypesetter is busy or available, but do no text processing at this point. 

−a Send a printable ASCII approximation of the results to the standard output. 

−pN Print all characters in point size N while retaining all prescribed spacings and motions, to reduce phototypesetter elapsed time. 

−Ffontdir
Use the font width tables in the directory specified by fontdir, instead of the default directory /usr/lib/fonts.  This option can be used to produce output for devices besides the phototypesetter. 

FILES

/tmp/ta*temporary file
/usr/lib/tmac/tmac.*standard macro files
/usr/lib/font/*font width tables for troff
/dev/catphototypesetter
/usr/adm/tracctaccounting statistics for /dev/cat

RELATED INFORMATION

col (1), eqn (1), nroff (1), tbl (1), man (7), me (7), ms (7).  DOMAIN/IX Text Processing Guide.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026