Commit Graph

21 Commits

Author SHA1 Message Date
alm 1f6f4700ad Renamed insque 1994-03-23 04:22:08 +00:00
alm 1357f1551d `s3' applies the last substitution to the 3rd (or nth) match.
Split up the code to several files.
1994-02-20 06:56:16 +00:00
cgd 421e7320f6 delete definition of sys_errlist; our headers supply it 1993-12-04 03:01:28 +00:00
pk 5d726082c5 __386BSD__ ==> __NetBSD__ 1993-12-01 13:48:47 +00:00
alm 9380925b08 Added a line-addressing test so this isn't overlooked again.
Added BACKWARDS directive to Makefile for compatibility.
Completely changed the name space as per FSF's request.
Fixed a line-addressing bug introduced by previous `fix', i.e.,
space preceding a digit acts a plus (+) operator, as in `1 1' == `2',
and a plus operator by itself acts as +1, but a space by itself
should not equal a plus operator, i.e., `1 ' != `1+' == `2'.
1993-11-23 04:41:44 +00:00
alm ba4d688de2 fix line addressing so that 1,2, == 2,2 (as per SunOS ed) not 1,2
add global-active routines to replace some bad hacks
remove obsolescent Addison-Wesley copyrights
1993-11-12 10:48:43 +00:00
alm c91a4017da Repeating a search requires only `/' (or `?'), not `//' (or `??')
But `s/' is still invalid, use `s//' instead.
If first regex is invalid, regex pointer is now set to NULL so that repeating
the search correctly reports "No previous pattern".
1993-08-30 02:20:18 +00:00
mycroft 8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
alm 79b13f93c3 corrected return type 1993-07-02 10:05:24 +00:00
alm aef94df1e8 fixed undo within a global command (would corrupt the buffer) 1993-07-02 10:02:26 +00:00
alm eca46021bb fixed regex initialization
added more support for BACKWARDS option
1993-06-16 07:36:51 +00:00
alm f7f6e6ffd5 Added a restricted mode in the form of a new command: red 1993-05-27 01:27:46 +00:00
alm 2621a68caf added support for lines of arbitrary length
added support for 8-bit data, including NULs
1993-05-08 10:49:52 +00:00
cgd f25e2eb300 386BSD -> NetBSD 1993-04-28 05:19:50 +00:00
alm 17714ca3e0 rearranged headers to compile cleanly
minor corrections in man page
1993-04-28 03:37:34 +00:00
alm 20d732999d added man page (draft)
fixed `!' command
final code cleanup
1993-04-23 02:08:48 +00:00
alm 9b18e2903e Removed getrange() hack from undo() 1993-04-16 08:38:44 +00:00
alm f30a0860be added an efficient and relatively clean move (`m' command)
added ustack checking
1993-04-15 04:58:32 +00:00
alm b9b97259e6 implemented line marks as pointers
marks to lines that are moved, deleted or otherwise changed are cleared
undo restores cleared marks
added strerror diagnostics
1993-04-14 12:22:14 +00:00
cgd 336e165c02 updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
cgd 9b082a69f0 added ed, from Andrew Moore, alm@netcom.com 1993-04-08 01:07:16 +00:00