encyclopegia.org

Nroff

nroff (short for "new roff") is a text-formatting program on Unix and Unix-like operating systems. It produces output suitable for simple fixed-width 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.

nroff (short for "new roff") is a text-formatting program on Unix and Unix-like operating systems. It produces output suitable for simple fixed-width 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 Joe Ossanna for Version 2 Unix, in Assembly language and then ported to C. 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. ==Variants== There is also a free software version of nroff in the groff package emulating the AT&T version, widely used by Unix-like operating systems. The Minix operating system, among others, uses a clone of nroff called cawf by Vic Abell, based on awf, the Amazingly Workable Formatter designed in awk by Henry Spencer. These are not full replacements for the nroff/troff suite of tools, but are sufficient for display and printing of basic documents and 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. ==See also== troff groff TeX LaTeX man page ==References== ==External links== source code for Henry Spencer's AWF troff/nroff quick reference nroff source code in Illumos. Explanation by Bryan Cantrill

References

No reference rows published for this article.

Cite this article

MLA

"Nroff." encyclopegia.org, 2026, https://encyclopegia.org/wiki/nroff. Accessed 25 November 2026.

Chicago

"Nroff." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/nroff.

APA

encyclopegia.org. (2026). Nroff. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/nroff

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1353548644 · 0.5 · snapshot enwiki-001353548644

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.