BSD 2 development
[unix-history] / .ref-BSD-1 / exrefm / exrefm0.n
CommitLineData
2fd0a8e1
BJ
1.nr xx 1
2.so tmac.e
3.RP
4.TL
5Ex Reference Manual
6.br
7Version 1.1 \- November, 1977
8.AU
9William N. Joy
10.AI
11Computer Science Division
12.br
13Department of Electrical Engineering and Computer Science
14.br
15University of California, Berkeley
16.br
17Berkeley, California 94720
18.AB
19.Ex
20is a
21.UX
22text editor,
23based on and largely compatible with the standard
24.UX
25editor
26.ED .
27.Ex
28is a line oriented editor and has a
29.I command
30mode similar to
31.ED .
32.Ex
33also has an
34.I open
35mode which allows intraline editing on video
36terminals,
37and a
38.I visual
39mode for screen oriented editing on
40cursor-addressible terminals such as the
41.SM "LSI ADM-3A"
42and
43.SM "HP 2645" .
44.Ex
45gives a great deal of feedback to the user
46prompting for command input,
47indicating the scope of changes performed by commands,
48and giving diagnostics for all error conditions.
49For more experienced users,
50.EX
51can be made more
52.I terse .
53The
54.EX
55user is protected against accidental loss of work by the
56.I undo
57command,
58which can reverse the effect of the last buffer modifying command,
59and by sensibility restrictions on the
60.I write
61command,
62which prevent loss of the current file
63and the accidental overwriting of other files.
64.Ex
65has a recovery mechanism which allows work to be saved to within
66a few lines of changes after system or editor crashes.
67.PP
68The
69.I "Reference Manual"
70provides a concise description of all features of
71.I ex ,
72summarizing commands,
73command variants,
74options and
75.I open
76and
77.I visual
78modes.
79.AE
80.LP
81.SH
82Introduction
83.PP
84The
85reference manual summarizes,
86in a concise form,
87the features of the text editor
88.I ex.
89.SH
90History of the editor
91.PP
92.ND
93.Ex
94is heavily based on the text editor
95.ED .
96The first versions of
97.EX
98were modifications of a text editor
99.I em
100developed at Queen Mary's College in England.
101.I Em
102was a modified
103.I ed
104which had some added features which were useful on high-speed
105terminals.
106The earlier versions of
107.I ex
108also included features from the modified
109.ED
110in use at
111.SM UCLA ,
112and the ideas of the present author and
113Charles Haley,
114who implemented most of the modifications to
115.I em
116which resulted in these early versions of
117.EX .
118Versions of
119.EX
120have been in use since September, 1976.
121Version 1.1 of
122.EX
123results from a redesign of
124.EX
125implemented by the present author in the
126summer and fall of 1977.
127.SH
128Acknowledgements
129.PP
130The author would like to thank Chuck Haley,
131who collaborated on the earlier versions of
132.EX
133and acted as mentor for the design of this version;
134Bruce Englar,
135who stimulated the redesign of
136.EX
137and convinced the author of the worth of the intraline
138editing facilities;
139and his faculty advisor Susan L. Graham.
140In addition, a large number of people have contributed ideas to the
141development of
142.EX ,
143aided in its debugging
144and in the preparation of documentation.
145The author would like to thank
146Eric Allman,
147Ricki Blau,
148Rich Blomseth,
149Clint Gilliam,
150Steve Glanville,
151Ed Gould,
152Mike Harrison,
153James Joyce,
154Howard Katseff,
155Ivan Maltz,
156Doug Merritt,
157David Mosher,
158Dick Peters,
159Bill Rowan,
160Genji Schmeder,
161Eric Schmidt,
162Jeff Schriebman,
163Kurt Shoens,
164Bob Tidd,
165Bob Toxen,
166Mike Ubell,
167and
168Vance Vaughan.
169.bp