nroff
This article needs additional citations for verification. (February 2015) |
AT&T Bell Laboratories | |
---|---|
Initial release | June 12, 1972 |
Operating system | Unix and Unix-like |
Type | Command |
nroff (short for "new roff") is a
printers and terminal windows. It is an integral part of the Unix help system, being used to format man pages
for display.
nroff and the related troff were both developed from the original roff. While nroff was intended to produce output on terminals and line printers, troff was intended to produce output on typesetting systems. Both used the same underlying markup and a single source file could normally be used by nroff or troff without change.
History
nroff was written by
.It was a descendant of the
RUNOFF program from CTSS, the first computerized text-formatting program, and is a predecessor of the Unix troff
document processing system.
There is also a free software version of nroff in the groff package.
Variants
The
manual pages
.
In addition, a simplified version of nroff is available in Ratfor source code form as an example in the book Software Tools by Brian Kernighan and P. J. Plauger.[2]
See also
References
- McIlroy, M. D. (1987). A Research Unix reader: annotated excerpts from the Programmer's Manual, 1971–1986(PDF) (Technical report). CSTR. Bell Labs. 139.
- ^ "Software Tools Code".
External links
- source code for Henry Spencer's AWF
- troff/nroff quick reference
- nroff source code in Illumos. Explanation by Bryan Cantrill