<s>
TJ-2	B-Protocol
(	O
Type	O
Justifying	O
Program	O
)	O
was	O
published	O
by	O
Peter	O
Samson	O
in	O
May	O
1963	O
and	O
is	O
thought	O
to	O
be	O
the	O
first	O
page	O
layout	O
program	O
.	O
</s>
<s>
Although	O
it	O
lacks	O
page	O
numbering	O
,	O
page	O
headers	O
and	O
footers	O
,	O
TJ-2	B-Protocol
is	O
the	O
first	O
word	B-General_Concept
processor	I-General_Concept
to	O
provide	O
a	O
number	O
of	O
essential	O
typographic	O
alignment	O
and	O
automatic	O
typesetting	O
features	O
:	O
</s>
<s>
Developed	O
from	O
two	O
earlier	O
Samson	O
programs	O
,	O
Justify	O
and	O
TJ-1	O
,	O
TJ-2	B-Protocol
was	O
written	O
for	O
the	O
PDP-1	B-Device
that	O
was	O
donated	O
to	O
the	O
Massachusetts	O
Institute	O
of	O
Technology	O
in	O
1961	O
by	O
Digital	O
Equipment	O
Corporation	O
.	O
</s>
<s>
Taking	O
English	O
text	O
as	O
input	O
,	O
TJ-2	B-Protocol
aligns	O
left	O
and	O
right	O
margins	O
,	O
justifying	O
the	O
output	O
using	O
white	O
space	O
and	O
word	O
hyphenation	O
.	O
</s>
<s>
Text	O
is	O
marked-up	O
with	O
single	O
lowercase	O
characters	O
combined	O
with	O
the	O
PDP-1	B-Device
'	O
s	O
overline	O
character	O
,	O
carriage	O
returns	O
,	O
and	O
internal	O
concise	O
codes	O
.	O
</s>
<s>
Words	O
can	O
be	O
hyphenated	O
with	O
a	O
light	B-Device
pen	I-Device
on	O
the	O
computer	O
's	O
CRT	B-Device
display	I-Device
and	O
from	O
the	O
session	O
's	O
dictionary	O
in	O
memory	O
.	O
</s>
<s>
On-screen	O
hyphenation	O
has	O
SAVE	O
and	O
FORGET	O
commands	O
and	O
OOPS	O
,	O
the	O
undo	B-Application
.	O
</s>
<s>
TJ-2	B-Protocol
was	O
succeeded	O
by	O
TYPSET	B-Protocol
and	I-Protocol
RUNOFF	I-Protocol
,	O
a	O
pair	O
of	O
complementary	O
programs	O
written	O
in	O
1964	O
for	O
the	O
CTSS	B-Operating_System
operating	O
system	O
.	O
</s>
<s>
TYPSET	B-Protocol
and	I-Protocol
RUNOFF	I-Protocol
soon	O
evolved	O
into	O
runoff	B-Protocol
for	O
Multics	B-Application
,	O
which	O
was	O
in	O
turn	O
ported	O
to	O
Unix	B-Application
in	O
the	O
1970s	O
as	O
roff	O
.	O
</s>
<s>
A	O
similar	O
program	O
for	O
the	O
ITS	B-Application
PDP-6	B-Device
and	O
later	O
the	O
PDP-10	B-Device
was	O
TJ6	O
.	O
</s>
