{"id":3940,"date":"2022-12-20T17:28:28","date_gmt":"2022-12-20T20:28:28","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/ditroff-man7\/"},"modified":"2022-12-20T17:28:28","modified_gmt":"2022-12-20T20:28:28","slug":"ditroff-man7","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/ditroff-man7\/","title":{"rendered":"DITROFF (man7)"},"content":{"rendered":"<h1 align=\"center\">DITROFF<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">ditroff \u2212 classical device-independent roff<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The name <i>ditroff<\/i> refers to a historical development stage of the <i>roff<\/i>(7) text processing system. In <i>roff<\/i> systems extant today, the name <i>troff<\/i> is a synonym for <i>ditroff<\/i>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Early versions of <i>roff<\/i> by Joe Ossanna generated two programs from the same sources, using conditional compilation to distinguish them. <i>nroff<\/i> produced text-oriented TTY output, while <i>troff<\/i> generated graphical output for exactly one output device, the Wang Graphic Systems CAT phototypesetter.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">In 1979, Brian Kernighan rewrote <i>troff<\/i> to support more devices by creating an intermediate output format for <i>troff<\/i> that could be fed into postprocessor programs which actually do the printout on the device. Kernighan\u2019s version marks what is known as \u201cclassical troff\u201d today. In order to distinguish it from Ossanna\u2019s original version, it was called <i>ditroff<\/i> (<i>d<\/i>evice <i>i<\/i>ndependent <i>t<\/i>roff) on some systems, though this naming isn\u2019t mentioned in the classical documentation.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Today, all existing <i>roff<\/i> systems are based on Kernighan\u2019s multi-device <i>troff<\/i>. The distinction between <i>troff<\/i> and <i>ditroff<\/i> is no longer necessary; each modern <i>troff<\/i> provides the complete functionality of <i>ditroff<\/i>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The easiest way to use <i>ditroff<\/i> is via the GNU <i>roff<\/i> system, <i>groff<\/i>. The <i>groff<\/i>(1) program is a wrapper around <i>(di)troff<\/i> that automatically handles device postprocessing.<\/p>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This document was written by <a href=\"mailto:groff-bernd.warken-72@web.de\">Bernd Warken<\/a>.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">CSTR\u00a0#54<\/p>\n<p style=\"margin-left:22%;\">refers to the 1992 revision of the <i>Nroff\/Troff User\u2019s Manual<\/i> by J. F. Ossanna and Brian Kernighan.<\/p>\n<p style=\"margin-left:11%;\">CSTR\u00a0#97<\/p>\n<p style=\"margin-left:22%;\">refers to <i>A Typesetter-independent TROFF<\/i>, by Brian Kernighan and is the original documentation of the first multi-device <i>troff<\/i> (<i>ditroff<\/i>).<\/p>\n<p style=\"margin-left:11%;\"><i>roff<\/i>(7)<\/p>\n<p style=\"margin-left:22%;\">provides a history and conceptual overview of <i>roff<\/i> systems.<\/p>\n<p style=\"margin-left:11%;\"><i>troff<\/i>(1)<\/p>\n<p style=\"margin-left:22%;\">describes the GNU implementation of <i>(di)troff<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><i>groff<\/i>(1)<\/p>\n<p style=\"margin-left:22%;\">documents the GNU <i>roff<\/i> program and includes pointers to further documentation about <i>groff<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><i>groff_out<\/i>(5)<\/p>\n<p style=\"margin-left:22%;\">describes the <i>groff<\/i> version of the intermediate output language, the basis for multi-device output.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  ditroff \u2212 classical device-independent roff <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[971],"tags":[973,1032,972],"class_list":["post-3940","post","type-post","status-publish","format-standard","hentry","category-7-miscelanea","tag-973","tag-ditroff","tag-man7"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3940"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3940\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}