Troff


text, tool
/T’rof/ or /trof/ The grey eminence of Unix text processing; a formatting and phototypesetting program, written originally in PDP-11 assembly code and then in barely-structured early C by the late Joseph Ossanna, modelled after the earlier ROFF which was in turn modelled after Multics’ RUNOFF by Jerome Saltzer (*that* name came from the expression “to run off a copy”). A companion program, nroff, formats output for terminals and line printers.
In 1979, Brian Kernighan modified troff so that it could drive phototypesetters other than the Graphic Systems CAT. His paper describing that work (“A Typesetter-independent troff”, AT&T CSTR #97) explains troff’s durability. After discussing the program’s “obvious deficiencies – a rebarbative input syntax, mysterious and undocumented properties in some areas, and a voracious appetite for computer resources” and noting the ugliness and extreme hairiness of the code and internals, Kernighan concludes:
None of these remarks should be taken as denigrating Ossanna’s accomplishment with TROFF. It has proven a remarkably robust tool, taking unbelievable abuse from a variety of preprocessors and being forced into uses that were never conceived of in the original design, all with considerable grace under fire.
The success of TeX and desktop publishing systems have reduced troff’s relative importance, but this tribute perfectly captures the strengths that secured troff a place in hacker folklore; indeed, it could be taken more generally as an indication of those qualities of good programs that, in the long run, hackers most admire.
groff is GNU’s implementation of roff in C++.
[Jargon File]
(1995-03-21)

Read Also:

  • Troffer

    noun 1. a trough-shaped reflector holding one or more fluorescent lamps.

  • Trog

    noun 1. Chiefly British Slang. a hooligan; lout. verb trogs, trogging, trogged 1. (Brit, informal) (intransitive) often foll by along. to walk, esp aimlessly or heavily; stroll

  • Troglodyte

    noun 1. a prehistoric cave dweller. 2. a person of degraded, primitive, or brutal character. 3. a person living in seclusion. 4. a person unacquainted with affairs of the world. 5. an animal living underground. noun 1. a cave dweller, esp one of the prehistoric peoples thought to have lived in caves 2. (informal) a […]

  • Troglodyte mode

    jargon (Rice University) Programming with the lights turned off, sunglasses on, and the terminal inverted (black on white) because you’ve been up for so many days straight that your eyes hurt (see raster burn). Loud music blaring from a stereo stacked in the corner is optional but recommended. See larval stage, hack mode. [Jargon File] […]

  • Troglodytic

    noun 1. a prehistoric cave dweller. 2. a person of degraded, primitive, or brutal character. 3. a person living in seclusion. 4. a person unacquainted with affairs of the world. 5. an animal living underground. noun 1. a cave dweller, esp one of the prehistoric peoples thought to have lived in caves 2. (informal) a […]


Disclaimer: Troff definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.