Home  

Random  

Nearby  



Log in  



Settings  



Donate  



About Wikipedia  

Disclaimers  



Wikipedia





nroff





Article  

Talk  



Language  

Watch  

Edit  





nroff (short for "new roff") is a text-formatting programonUnix 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
Original author(s)Joe Ossanna
Developer(s)AT&T Bell Laboratories
Initial releaseJune 12, 1972; 52 years ago (1972-06-12)
Operating systemUnix and Unix-like
TypeCommand

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

edit

nroff was written by Joe Ossanna for Version 2 Unix,[1]inAssembly 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.

There is also a free software version of nroff in the groff package.

Variants

edit

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 awkbyHenry 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 ToolsbyBrian Kernighan and P. J. Plauger.[2]

See also

edit

References

edit
  1. ^ McIlroy, M. D. (1987). A Research Unix reader: annotated excerpts from the Programmer's Manual, 1971–1986 (PDF) (Technical report). CSTR. Bell Labs. 139.
  • ^ "Software Tools Code".
  • edit


  • t
  • e

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Nroff&oldid=1220086618"
     



    Last edited on 21 April 2024, at 18:54  





    Languages

     


    Čeština
    Español
    Italiano
     

    Wikipedia


    This page was last edited on 21 April 2024, at 18:54 (UTC).

    Content is available under CC BY-SA 4.0 unless otherwise noted.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Terms of Use

    Desktop