Printer Friendly
Dictionary, Encyclopedia and Thesaurus - The Free Dictionary
3,918,043,482 visitors served.
forum Join the Word of the Day Mailing List For webmasters
?
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

troff

   Also found in: Acronyms, Wikipedia 0.03 sec.
troff
(Typesetting RunOFF) A Unix utility that formats documents for typesetters and laser printers. Using a text editor, troff codes are embedded into the text and the troff command converts the document into the required output. See nroff and TeX.
(text, tool)troff - /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++.


Want to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit the webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Feedback
Mentioned in?  References in periodicals archive?   Encyclopedia browser?   Full browser?
No references found
 
Thus troff, tho, bow and thru were born and it's been a slippery and steeper slope ever since.
SoftQuad is a 12 year-old company which began life selling versions of the Unix text formatting utilities nroff and troff.
A parallel set of markup schemes was thus developed for printing and formatting, most notably TeX, TROFF, and later various word processors, such as WordPerfect, where the markup is exposed by the Reveal Codes function.
 
 
 
Encyclopedia
?

Terms of Use | Privacy policy | Feedback | Advertise with Us | Copyright © 2012 Farlex, Inc.
Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information 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.