TYPSET and RUNOFF explained

TYPSET and RUNOFF
Author:Jerome H. Saltzer
Programming Language:MAD and FAP
Operating System:Compatible Time-Sharing System
Platform:IBM 7094
Genre:Document editor and text formatting programs

TYPSET is an early document editor that was used with the 1964-released RUNOFF program, one of the earliest text formatting programs to see significant use.

Of two earlier print/formatting programs DITTO and TJ-2, only the latter had, and introduced, text justification; RUNOFF also added pagination.

The name RUNOFF, and similar names led to other formatting program implementations. By 1982, Runoff (a name not possible before lowercase letters were introduced to filenames) largely became associated with Digital Equipment Corporation and Unix computers. DEC used the terms VAX DSR and DSR to refer to VAX DIGITAL Standard Runoff.[1]

History

CTSS

The original RUNOFF type-setting program for CTSS was written by Jerome H. Saltzer circa 1964. Bob Morris and Doug McIlroy translated that from MAD to BCPL.[2] Morris and McIlroy then moved the BCPL version to Multics when the IBM 7094 on which CTSS ran was being shut down.

Multics

Documentation for the Multics version of RUNOFF described it as "types out text segments in manuscript form."[3]

Other versions and implementations

A later version of runoff for Multics was written in PL/I by Dennis Capps, in 1974.[4] This runoff code was the ancestor of roff that was written for the fledgling Unix in assembly language by Ken Thompson.

Other versions of Runoff were developed for various computer systems including Digital Equipment Corporation's PDP-11 minicomputer systems running RT-11, RSTS/E, RSX on Digital's PDP-10[5] and for OpenVMS on VAX minicomputers, as well as UNIVAC Series 90 mainframes using the EDT text editor under the VS/9 operating system. These different releases of Runoff typically had little in common except the convention of indicating a command to Runoff by beginning the line with a period.

The origin of IBM's SCRIPT software began in 1968 when IBM contracted Stuart Madnick of MIT to write a simple document preparation tool[6] for CP/67,[7] which he modelled on MIT's CTSS RUNOFF.[8]

Background

RUNOFF was written in 1964 for the CTSS operating system by Jerome H. Saltzer in MAD and FAP.

It actually consisted of a pair of programs, TYPSET (which was basically a document editor), and RUNOFF (the output processor). RUNOFF had support for pagination and headers, as well as text justification (TJ-2 appears to have been the earliest text justification system, but it did not have the other capabilities).

RUNOFF is a direct predecessor of the runoff document formatting program of Multics, which in turn was the ancestor of the roff and nroff document formatting programs of Unix, and their descendants. It was also the ancestor of FORMAT for the IBM System/360, and of course indirectly of every computerized word processing system.

Likewise, RUNOFF for CTSS was the predecessor of the various RUNOFFs for DEC's operating systems, via the RUNOFF developed by the University of California, Berkeley's Project Genie for the SDS 940 system.[9] [10]

The name is alleged to have come from the phrase at the time, I'll run off a copy.[11]

TYPESET contains features inspired by a variety of other programs including Colossal Typewriter and Expensive Typewriter.[12]

Example

Input:When you're ready to order,call us at our toll free number:.BR.CENTER1-800-555-xxxx.BRYour order will be processedwithin two working days and shipped

Output:

When you're ready to order, call us at our toll free number: 1-800-555-xxxx Your order will be processed within two working days and shipped

See also

Further reading

Notes and References

  1. Web site: DEC VAX History. William. Bader. June 16, 2023. DSR stands for Digital Standard Runoff, a text formatter similar to roff.. 2024-04-20.
  2. Web site: Multics Features. Ken Thompson wrote a version of QED in BCPL, and Doug McIlroy and Bob Morris wrote Multics runoff in BCPL based on Jerry Saltzer's MAD version of RUNOFF.
  3. Web site: Info segment for runoff command. August 30, 1979. Massachusetts Institute of Technology. Function: types out text segments in manuscript form..
  4. Web site: UNIX manpage history: CTSS RUNOFF. October 23, 2011. Jerry. Saltzer. Jerome H. Saltzer. Jerry Saltzer. "compose" was apparently a PL/I re-write of RUNOFF on Multics. […] the secondary record shows Dennis Capps as starting compose in 1974..
  5. Web site: The Language List. January 23, 1995. RUNOFF - An early text-formatting language supported under TOPS-10 on the PDP-10.. dead. 2024-04-20. 2018-10-05. https://web.archive.org/web/20181005112109/https://www.iro.umontreal.ca/~bengioy/ift2030/H99/doc/lang-list.txt.
  6. PC Magazine. March 19, 1985. Script/PC. IBM contracted Stuart Madnick of MIT to write a simple document preparation. 210.
  7. SCRIPT, An On-Line Manuscript Processing System. August 1968. 10.1109/TEWS.1968.4322339. 51633921. Madnick . Stuart E.. Moulton . Allen. IEEE Transactions on Engineering Writing and Speech. IEEE. EWS-11. 2. 92–100. 2024-04-20.
  8. Web site: History of UNIX Manpages. 1967: SCRIPT (Stuart Madnick). In 1967, Madnick ported the RUNOFF code to the IBM CP67/CMS at IBM as SCRIPT..
  9. Re: Runoffs (was: TJ-2, a very early word-processor-like program for the PDP-1) . John V. Everett . 1997-02-08 . alt.sys.pdp10 . 5diaq1$6cn$2@kirin.wwa.com . 2008-11-14.
  10. Book: Barnes, Larry . RUNOFF: A Program for the Preparation of Documents . 14 November 2008 . Bitsavers' PDF Document Archive . 27 March 1973 . Office of the Secretary of Defense Advanced Research Projects Agency . Washington, DC . R-37.
  11. Web site: The Jargon Lexicon. The Jargon File. 4.4.7. ROFF which was in turn modeled after the Multics and CTSS program RUNOFF by Jerome Saltzer (that name came from the expression “to run off a copy”).. Eric S.. Raymond. Eric S. Raymond.
  12. Web site: The Compatible Time-Sharing System, A Programmer's Guide . Crisman . Patricia A. . December 31, 1969 . 504 . The M.I.T Computation Center . March 10, 2022.