Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 See also  





2 Notes  





3 References  














TJ-2







Add links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


TJ-2
Original author(s)Peter Samson
Initial releaseMay 1963; 61 years ago (1963-05)
PlatformPDP-1
TypePage layout
WebsitePDP-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]

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

See also[edit]

restored PDP-1 with monitor and keyboard
DEC PDP-1 at the Computer History Museum

Notes[edit]

  1. ^ Budne, Phil (n.d.). "Phil's PDP10 Miscellany Page". Retrieved 2006-07-01.
  • ^ Furuta, Richard (March 1992). "Important papers in the history of document preparation systems: basic sources". Electronic Publishing. 5: 29.
  • ^ 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]
  • ^ Smith, Daniel P. B. (February 7, 1993). "Re: world's worst comment". Newsgroupalt.folklore.computers. Usenet: C226CC.BEL@world.std.com. Retrieved December 5, 2014.
  • ^ Saltzer, J. (15 December 1966). "CTSS Programmer's Guide". Retrieved 2006-07-02.
  • ^ Barger, Jorn (5 June 1998). "WP timeline (Was: Electic [sic] Pencil)". Newsgroupalt.folklore.computers. Usenet: 1da5eho.ygau281evkm05N@jorn.pr.mcs.net. Retrieved December 5, 2014.
  • ^ 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
  • References[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=TJ-2&oldid=1157180649"

    Categories: 
    Desktop publishing software
    Text editors
    Typesetting software
    Typesetting
    Word processors
    History of software
     



    This page was last edited on 26 May 2023, at 21:47 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki