TJ-2

Last updated
TJ-2
Original author(s) Peter Samson
Initial releaseMay 1963;60 years ago (1963-05)
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:

Contents

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]

A similar program for the ITS PDP-6 and later the PDP-10 was TJ6. [7]

See also

DEC PDP-1 at the Computer History Museum PDP-1.jpg
DEC PDP-1 at the Computer History Museum

Notes

  1. Budne, Phil (n.d.). "Phil's PDP10 Miscellany Page" . Retrieved 2006-07-01.
  2. Furuta, Richard (March 1992). "Important papers in the history of document preparation systems: basic sources". Electronic Publishing. 5: 29.
  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."
  4. Smith, Daniel P. B. (February 7, 1993). "Re: world's worst comment". Newsgroup:  alt.folklore.computers. Usenet:   C226CC.BEL@world.std.com . Retrieved December 5, 2014.
  5. Saltzer, J. (15 December 1966). "CTSS Programmer's Guide" . Retrieved 2006-07-02.
  6. Barger, Jorn (5 June 1998). "WP timeline (Was: Electic [sic] Pencil)". Newsgroup:  alt.folklore.computers. Usenet:   1da5eho.ygau281evkm05N@jorn.pr.mcs.net . Retrieved December 5, 2014.
  7. R. Greenblatt, B.K.P. Horn, L.J. Krakauer, "The Text-Justifier TJ6", M.I.T. Project MAC Artificial Intelligence Laboratory, Memo 164A, June 1970

Related Research Articles

<span class="mw-page-title-main">PDP-10</span> 36-bit computer by Digital (1966–1983)

Digital Equipment Corporation (DEC)'s PDP-10, later marketed as the DECsystem-10, is a mainframe computer family manufactured beginning in 1966 and discontinued in 1983. 1970s models and beyond were marketed under the DECsystem-10 name, especially as the TOPS-10 operating system became widely used.

<span class="mw-page-title-main">PDP-1</span> Computer

The PDP-1 is the first computer in Digital Equipment Corporation's PDP series and was first produced in 1959. It is famous for being the computer most important in the creation of hacker culture at Massachusetts Institute of Technology, BBN and elsewhere. The PDP-1 is the original hardware for playing history's first game on a minicomputer, Steve Russell's Spacewar!

troff, short for "typesetter roff", is the major component of a document processing system developed by Bell Labs for the Unix operating system. troff and the related nroff were both developed from the original roff.

vi Keyboard-oriented text editor

vi is a screen-oriented text editor originally created for the Unix operating system. The portable subset of the behavior of vi and programs based on it, and the ex editor language supported within these programs, is described by the Single Unix Specification and POSIX.

<span class="mw-page-title-main">Word processor (electronic device)</span> Electronic device

A word processor is an electronic device for text, composing, editing, formatting, and printing.

<span class="mw-page-title-main">ROT13</span> Simple encryption method

ROT13 is a simple letter substitution cipher that replaces a letter with the 13th letter after it in the latin alphabet. ROT13 is a special case of the Caesar cipher which was developed in ancient Rome.

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.

roff is a typewriter-oriented markup language. As the first Unix text-formatting computer program, it is a predecessor of the nroff and troff document processing systems.

<span class="mw-page-title-main">Compatible Time-Sharing System</span> Computer operating system

The Compatible Time-Sharing System (CTSS) was the first general purpose time-sharing operating system. Compatible Time Sharing referred to time sharing which was compatible with batch processing; it could offer both time sharing and batch processing concurrently.

Sporgery is the disruptive act of posting a flood of articles to a Usenet newsgroup, with the article headers falsified so that they appear to have been posted by others. The word is a portmanteau of spam and forgery, coined by German software developer, and critic of Scientology, Tilman Hausherr.

Eternal September or the September that never ended is Usenet slang for a period beginning around 1993 when Internet service providers began offering Usenet access to many new users. The flood of new users overwhelmed the existing culture for online forums and the ability to enforce existing norms. AOL followed with their Usenet gateway service in March 1994, leading to a constant stream of new users. Hence, from the early Usenet point of view, the influx of new users in September 1993 never ended.

<span class="mw-page-title-main">Expensive Typewriter</span> Computer program

Expensive Typewriter was a pioneering text editor program that ran on the DEC PDP-1 computer which had been delivered to MIT in the early 1960s.

The Story of Mel is an archetypical piece of computer programming folklore. Its subject, Melvin Kaye, is an exemplary "Real Programmer" whose subtle techniques fascinate his colleagues.

<span class="mw-page-title-main">Alan Kotok</span> American computer scientist

Alan Kotok was an American computer scientist known for his work at Digital Equipment Corporation and at the World Wide Web Consortium (W3C). Steven Levy, in his book Hackers: Heroes of the Computer Revolution, describes Kotok and his classmates at the Massachusetts Institute of Technology (MIT) as the first true hackers.

Peter R. Samson is an American computer scientist, best known for creating pioneering computer software for the TX-0 and PDP-1.

<span class="mw-page-title-main">Colossal Typewriter</span> Computer program

Colossal Typewriter by John McCarthy and Roland Silver was one of the earliest computer text editors. The program ran on the PDP-1 at Bolt, Beranek and Newman (BBN) by December 1960.

Harmony Compiler was written by Peter Samson at the Massachusetts Institute of Technology (MIT). The compiler was designed to encode music for the PDP-1 and built on an earlier program Samson wrote for the TX-0 computer.

A Usenet personality was a particular kind of Internet celebrity, being an individual who gained a certain level of notoriety from posting on Usenet, a global network of computer users with a vast array of topics for discussion. The platform is usually anonymous, although users can get celebrity status, usually by being deemed different from other posters in some way.

<span class="mw-page-title-main">Usenet</span> Worldwide computer-based distributed discussion system

Usenet, USENET, or "in full", User’s Network, is a worldwide distributed discussion system available on computers. It was developed from the general-purpose Unix-to-Unix Copy (UUCP) dial-up network architecture. Tom Truscott and Jim Ellis conceived the idea in 1979, and it was established in 1980. Users read and post messages to one or more topic categories, known as newsgroups. Usenet resembles a bulletin board system (BBS) in many respects and is the precursor to the Internet forums that have become widely used. Discussions are threaded, as with web forums and BBSs, though posts are stored on the server sequentially.

<span class="mw-page-title-main">Emacs</span> Family of text editors

Emacs, originally named EMACS, is a family of text editors that are characterized by their extensibility. The manual for the most widely used variant, GNU Emacs, describes it as "the extensible, customizable, self-documenting, real-time display editor". Development of the first Emacs began in the mid-1970s, and work on its direct descendant, GNU Emacs, continues actively; the latest version is 28.2, released in September 2022.

References