TJ-2

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
TJ-2
150px
Memo: TJ-2: Type Justifying Program
Original author(s) Peter Samson
Initial release May 1963
Platform PDP-1
Type Page layout
Website PDP-1 Restoration Project

TJ-2 (Type Justifying Program) was published by Peter Samson in May 1963 and is thought to be the first page layout program. Although it lacks page numbering, page headers and footers, TJ-2 is the first word processor to provide a number of essential typographic alignment and automatic typesetting features:

Developed from two earlier Samson programs, Justify[1] and TJ-1,[2] TJ-2 was written for the PDP-1 that was donated to the Massachusetts Institute of Technology in 1961 by Digital Equipment Corporation.

Taking English text as input, TJ-2 aligns left and right margins, justifying the output using white space and word hyphenation. Text is marked-up with single lowercase characters combined with the PDP-1's overline character, carriage returns, and internal concise codes. The computer's six toggle switches control the input and output devices, enable and disable hyphenation and stop the session. Words can be hyphenated with a light pen on the computer's CRT display and from the session's dictionary in memory. On-screen hyphenation has SAVE and FORGET commands and OOPS, the undo.

Comments in the code were quoted thirty years later: "The ways of God are just and can be justified to man"[3] and "Girls who wear pants should be sure that the end justifies the jeans."[4]

TJ-2 was succeeded by TYPSET and RUNOFF, a pair of complementary programs written in 1964 for the CTSS operating system.[5] TYPSET and RUNOFF soon evolved into runoff for Multics, which was in turn ported to Unix in the 1970s as roff.[6]

See also

Notes

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. An allusion to or quotation of the lines from the opening invocation of Milton's Paradise Lost, "What in me is dark Illumine/what is low raise and support;/That to the highth of this great Argument/I may assert th' Eternal Providence, And justifie the wayes of God to men."[1]
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. Lua error in package.lua at line 80: module 'strict' not found.

References

  • Lua error in package.lua at line 80: module 'strict' not found. Transcription of the 1963 memo describing TJ-2, with annotations by Daniel P. B. Smith
  • Lua error in package.lua at line 80: module 'strict' not found.. Samson begins at 1:16.


<templatestyles src="Asbox/styles.css"></templatestyles>