roff (software)
![]() | This article includes a list of general references, but it lacks sufficient corresponding inline citations. (February 2013) |
roff was the first Unix text-formatting computer program, the most important application run on the first machine specifically purchased to run UNIX,[citation needed] and a predecessor of the nroff and troff document processing systems.
It 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).
History
The first UNIX version was a transliteration of the BCPL version of runoff into PDP-7 assembly, for the prototype UNIX on the PDP-7, circa 1970. When the first PDP-11 was acquired for UNIX in late 1970 (a PDP-11/20), 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 through 3 of Unix, and when the Bell Labs patent department began using it, it became the first Unix application with an outside client.[1] 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; it was on that machine that UNIX evolved into the system that later took the computer science world by storm.[citation needed]
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.
Sources
- D. M. Ritchie, The Evolution of the UNIX Time-sharing System (AT&T Bell Laboratories Technical Journal, Vol. 63, No. 8, October 1984)