← Technology & inventions Technology & inventions · Challenging English

Roff (software)

Text typesetting markup software

1 min
estimated reading
5
complete sections
11.28
algorithmic grade estimate

Before you read

Use the article and the local dictionary together

The complexity label is calculated from sentence length and syllable estimates; it is guidance, not an assessment of you. Open any highlighted word below for its full local dictionary page.

Words
213
Native text
1687 characters
Dictionary match
73%
Revision
1353620119 · 2026-05-11T10:42:11Z
Key vocabulary

Words to check before reading

Overview

roff is a typesetting markup language. As the first Unix text-formatting computer program, it is a predecessor of the nroff and troff document processing systems. Roff was a Unix version of the runoff text-formatting program from Multics, which was a descendant of RUNOFF for CTSS (the first computerized text-formatting application).

CTSS

roff is a descendant of the RUNOFF program by Jerry Saltzer, which ran on CTSS. Douglas McIlroy and Robert Morris wrote runoff for Multics in BCPL based on Saltzer's program written in MAD assembler. Their program in turn was "transliterated" by Ken Thompson into PDP-7 assembler language for his early Unix operating system, circa 1970. When the first PDP-11 was acquired for Unix in late 1970, the justification cited to management for the funding required was that it was to be used as a word processing system, and so roff was quickly transliterated again, into PDP-11 assembly, in 1971. roff printed the man pages for Versions 1 to 3 of Unix, and when the Bell Labs patent department began using it, it became the first Unix application with an outside client.

Dennis Ritchie noted that the ability to rapidly modify roff (because it was locally written software) to provide special features was an important factor in leading to the adoption of Unix by the patent department to fill its word processing needs. This in turn gave Unix enough credibility inside Bell Labs to secure the funding to purchase one of the first PDP-11/45s produced.

See also

* nroff * troff * groff

Sources

* D. M. Ritchie, The Evolution of the UNIX Time-sharing System (AT&T Bell Laboratories Technical Journal, Vol. 63, No. 8, October 1984)

External links

* roff - Concepts and history of roff typesetting

Technology & inventions

Continue with related local reading