nroff(1) nroff(1)NAME nroff - text formatter SYNOPSIS nroff [-e] [-h] [-i] [-mname] [-nstart-no] [-opage-range] [-q] [-rletter[value]] [-s[pages-per-pause]] [-Ttty-type] [-u[boldening-amt]] [-z] [file]... ARGUMENTS -e Produces equally spaced words in adjusted lines, using the full resolution of the particular terminal. file Specifies the file to be formatted. -h Uses output tabs during horizontal spacing to speed output and reduce output character count. Tab settings are assumed to be every 8 nominal character widths. -i Reads standard input after files are exhausted. -mname Prepends to the input files the macro file /usr/lib/tmac/tmac.name. -nstart-no Numbers the first generated page start-no. -opage-range Prints only pages whose page numbers appear in the page-range of numbers and ranges, separated by commas. A range x-y means pages x through y; a range given by -y means from the beginning to page y; a range given by x- means from page x to the end. (See LIMITATIONS below.) -q Invokes the simultaneous input-output mode of the .rd request. -rletter[value] Sets the number register referenced by letter to integer. -s[pages-per-pause] Specifies the number of pages to print between pauses, causing nroff to halt to allow paper loading or changing. Printing resumes upon receipt of a linefeed or newline (newlines do not work in pipelines, e.g., with mm(1)). The default is 1. This option does not work if the output of nroff is piped through col(1). When nroff (otroff) halts between pages, an ASCII BEL is sent to the terminal. January 1992 1
nroff(1) nroff(1)-Ttty-type Prepares the output for the specified terminal. The known tty-types are: 2631 Hewlett-Packard 2631 printer in regular mode 2631-c Hewlett-Packard 2631 printer in compressed mode 2631-e Hewlett-Packard 2631 printer in expanded mode 300 DASI-300 printer 300-12 DASI-300 terminal set to 12-pitch (12 characters per inch) 300s DASI-300s printer (300s is a synonym) 300s-12 DASI-300s terminal set to 12-pitch (12 characters per inch) (300s-12 is a synonym) 37 TELETYPE Model 37 terminal (default) 382 DTC-382 4000a Trendata 4000a terminal (4000a is a synonym) 450 DASI-450 (Diablo Hyterm) printer 450-12 DASI-450 (Diablo Hyterm) printer set to 12-pitch (12 characters per inch) 832 Anderson Jacobson 832 terminal 8510 C.ITOH printer lp generic name for printers that can underline and tab (All text using reverse linefeeds, such as those having tables, that is sent to lp must be processed with col(1) ) tn300 GE Terminet 300 terminal X Printers equipped with TX print train -u[boldening-amt] Sets the emboldening factor (number of character overstrikes) for the third font position (bold) to 2 January 1992
nroff(1) nroff(1)boldening-amt, or to zero if boldening-amt is missing. -z Prints only messages generated by .tm (terminal message) requests. DESCRIPTION nroff formats text contained in files (standard input by default) for printing on typewriter-like devices and line printers. An argument consisting of a minus (-) is taken to be a filename corresponding to the standard input. LIMITATIONS The nroff program believes in Eastern Standard Time; as a result, depending on the time of the year and on your local time zone, the date that nroff generates may be off by one day from your idea of what the date is. When nroff is used with the -o option inside a pipeline (e.g., with one or more of neqn(1), and tbl(1)), it may cause a harmless ``broken pipe'' diagnostic if the last page of the document is not specified in page-range. FILES /bin/nroff Executable file /usr/lib/tmac/tmac.* Standard macro files /usr/lib/macros/* Standard macro files /usr/lib/nterm/* Files containing terminal driving tables for nroff /usr/pub/terminals File containing a list of supported terminals SEE ALSO checknr(1), col(1), deroff(1), greek(1), mm(1), neqn(1), tbl(1) mm(5) in A/UX Programmer's Reference ``nroff/troff Reference'' in A/UX Text Processing Tools January 1992 3