.ce 5
ED CHANGES
.sp 2
Gabi Steinberg
Hebrew University
Jerusalem

.ti +3
Two kinds of changes were introduced into the local
version of "ed".

.ti +3
1) A combination of changes made in Toronto's "ed" and
in Rand's "ed" together with QMC's 'join' command and a few original
changes. These include a more sophisticated "write?"
warning (not fooled by adding or deleting 0 lines, syntax
error, etc. It can be fooled, though), a prompting option
that is not confusing while adding text, etc.
For a full listing of the changes see EDUPDATE (I) (a modified
version of Toronto's EDUPDATE doc.).

.ti +3
2) Straightening out (partially) the awfull mess in "ed"'s
source code. This included rewriting the address routines,
rearranging the command routine, introducing a primitive
version of printf, adding a comment or two (!), etc.
In the process some strange bugs were removed (e.g. how much is
5++++-2 ? Try it on your "ed"!). Some line addressing syntax
errors, previously acceptable with rather mystifying results are
now diagnosed.
'^' (previously equivalent to '-') and multiaddresses (e.g
'/re1/;re2/;/re3/;l') were removed,
but can easily be added now, if wished.
Some restrictions were put on the 'g' command (no more 'g//q'
or wondering what a 'g//e file' did).

Implementing new changes in our version will be a lot
easier now, we hope.

Note: The division of "ed.c" into the 5 files is by no means
the way it should be done. It is, rather, a result of momentary
programming and debugging convenience.
