Merge from vendor branch LESS:
[dragonfly.git] / contrib / nvi / docs / changelog
1 1.78 -> 1.79 (10/23/96)
2         + Rename delete() to del(), for C++.
3         + Add Spanish to the list of translations.
4         + Update to Perl 5.003_06, and other Perl interpreter updates.
5         + Update the set-edit-option interface for the scripting languages.
6         + Rework ex command parsing to match historic practice for backslash
7           escaped <newline> characters inside of global commands.
8         + Enhance the comment edit option to skip C++ comments.
9         + Change installation to configure the recovery shell script to match
10           the system pathnames and to install it into the vi data directory.
11           Move the recover script into the build directory, and delete the
12           recover directory.
13         + Enhance LynxOS support.
14 1.76 -> 1.78 (10/01/96)
15         + Fix bugs when both the leftright scrolling and number edit options
16           were on.
17         + Fix bug where splitting in the middle of the screen could repaint
18           incorrectly.
19         + Fix first-nul in input bug, where random garbage was inserted.
20         + Correct search and mark-as-motion-command bug, it's a line mode
21           action if the search starts at or before the first non<blank>.
22         + Fix bug autoindent bug, where ^D could shift too far in the line.
23         + Fix core dump where ! command called from the .exrc file.
24         + Add the -S command-line option, which initializes vi to have the
25           secure edit option preset.
26 1.75 -> 1.76 (09/15/96)
27         + Fix bug where ^V didn't keep input mapping from happening.
28         + Fix a core dump bug in the R command.
29         + Give up on licensing: no more shareware, adware, whatever.
30         + Fix cursor positioning bug for C, S and c$ in an empty file.
31 1.74 -> 1.75 (08/22/96)
32         + Add French to the error message translations.
33         + Move the UNLICENSED message to the end of the message line.
34         + Fix bug where wide characters in a file name weren't calculated
35           correctly in the status message.
36         + Fix bug where cl_rename was called directly, by the ex shell code.
37         + Fix bug where splitting a screen resulting in a new screen at the
38           top of the display resulted in badly displayed status messages.
39 1.73 -> 1.74 (08/18/96)
40         + Fix bug where the status line wasn't redisplayed if the user ran
41           an ex command that trashed the screen.
42         + Fix bug where the long version of the status line wasn't displayed
43           when switching screens.
44         + Rework fast-path filename completion code to sort the entries, and
45           strip out . and .. by default.
46         + Fix bug where ex went to the first line instead of the last one when
47           reading in a file.
48 1.72 -> 1.73 (08/12/96)
49         + Do filename completion and some file expansion internally for speed.
50         + Fix CSCOPE_DIRS environmental variable support.
51         + Ex parser fix for global commands in script files.
52         + Add the O_PATH option, so you can specify a directory search path
53           for files.
54         + Make it possible to specify the database file to cscope, allowing
55           multiple databases in a single directory.
56         + Fix incremental search to overwrite erased characters so the user
57           can tell where they are on the colon-command line.
58         + Fix incremental search to restart the search if the user enters an
59           unescaped shell meta character.
60 1.71 -> 1.72 (07/12/96)
61         + Cscope fix: test for files newer than the database was reversed.
62         + Display "files to edit" message for rewind, next and initial screen.
63         + Fix a bug in the R command where it could fail if the user extended
64           the file.
65         + Fix a bug where text abbreviations could corrupt the line.
66         + Fix a bug where the windowname edit option couldn't be set before a
67           file was loaded into the edit buffer.
68         + Fix a bug where the system .exrc values weren't being overridden by
69           the user's $HOME .exrc values.
70         + Fix a bug in the filename completion code, where garbage characters
71           could be added to the colon command line.
72         + Fix bug where multiple edit sessions on a non-existent file could
73           all write the file without warning.
74         + Fix bug where screen update was incorrect if a character triggered
75           both a wrapmargin and showmatch condition.
76         + Fix bug in leftright scrolling where <CR> during text input didn't
77           return the cursor to the left margin.
78         + Rev the Perl interpreter code, new version from Sven Verdoolaege,
79           based on Perl 5.003.01.
80         + Fix bug in tags file pattern search introduced in 1.71.
81 1.70 -> 1.71 (07/01/96)
82         + Don't include <term.h> -- neither HPUX or Solaris can cope with it.
83         + Fix bug where ^M's in the original pattern were converted into new
84           lines in the file during substitution commands.
85         + Make window resize events separate from interrupts -- too many users
86           complained.
87         + Fix bug in first-character-is-null text input semantic.
88         + Rework search routines to take a length instead of a nul-terminated
89           string for a pattern.  This fixes a couple of bugs in searching, but
90           probably introduces new ones.
91         + Fix prompting the user after a write filter command, the way I did
92           it in 1.70 broke the display.
93         + Don't switch to the alternate xterm screen when entering the ex
94           text input commands from vi mode.
95         + Implement the Fg command, so can foreground a background screen into
96           a split screen.
97         + Change the fg command to match screen names using the last component
98           of the filename the full filename fails.
99 1.69 -> 1.70 (06/28/96)
100         + Change the ex read command to support named pipes.
101         + Copy the EXINIT/NEXINIT strings before executing their commands so
102           we don't step on the process environment.
103         + Don't do "line modification" reports for intermediate commands
104           executed from the vi colon command line, it screws up filter
105           reads, causing nvi to prompt for the user to continue.
106         + Add "smd" as an abbreviation for showmode: HP, ICL and SCO have it.
107         + Change nvi to always prompt the user after a write filter command.
108           This matches historic practice.
109         + Fix recovery information mailed to the user to reflect the program's
110           installed name.
111         + Change configuration script to not cache option information, e.g.,
112           --disable-curses.
113         + Fix a bug where the second character of the vi [[, ]] and ZZ
114           commands could start a command mapped sequence.
115         + Fix 3 write bugs: partial writes (3,$write), were clearing the
116           modified flag, full writes using line numbers (1,$write) were
117           not, and append historically never cleared the modified flag, and
118           we didn't get that right.
119         + Shorten the "more files to edit" message so it can gang on a single
120           line, lots of people have complained.  Add the number of files that
121           are left to edit, it's historic practice.
122         + Fix core dump where message catalogs collided with truncating the
123           write path.  Add a new write message so the string "appended" is
124           taken from a message catalog.
125         + Fix bug where an undo followed by '.' to repeat it wouldn't work
126           if no other repeatable commands had been entered.
127         + Fix core dump when resolution of input lines' autoindent characters
128           invalidated cached display information.
129         + Set the name of the X11 xterm icon/window to "xterm" when exiting,
130           if modified based on the windowname option.
131         + Include <term.h> if it exists, fixes portability problems on IRIX
132           systems.
133 1.68 -> 1.69 (06/17/96)
134         + Add the windowname edit option and code to change the icon/window
135           name for xterm's.
136         + Enhance the comment edit option to skip shell comments.
137         + Add conditional prototypes to replacement C library functions.
138         + Minor enhancements/reworking to Makefile.in, other build files.
139         + Fix bug in vi text input ^D processing, could result in cursor
140           warp to the beginning of the line.
141         + Fix leftright screen bug where the screen wasn't repainted when
142           being repainted from scratch.
143         + Update the Swedish and Dutch catalogs.
144         + Truncate paths in write commands if they don't fit on one line.
145         + Fix alternate screen bug where the screen flashed and output lost
146           when switching to/from the X11 xterm alternate screen.  Fix bug
147           where nvi switched into the alternate screen during filter-read
148           commands, which doesn't match historic practice.
149         + Minor relative cursor positioning change, make cursor position
150           changes from ex real and permanent.
151 1.67 -> 1.68 (06/09/96)
152         + Fix core dump when tagging out of a modified file.
153 1.66 -> 1.67 (06/09/96)
154         + Convert the license to adware.
155         + Leftright scrolling tweak, don't repaint the screen as often.
156         + Change so that search warning/error messages don't appear during an
157           incremental search.
158         + Cscope fix: test for files newer than the database was reversed.
159         + Don't display ex `welcome message' if in ex batch mode.
160         + Test for vsnprintf and snprintf separately, HP 10.10 has snprintf
161           but not vsnprintf.
162         + Reverse lookup order between LC_MESSAGES and LANG.
163         + Fix Tcl/Perl core dumps in common API code to get/set options.
164         + Fix R command -- it used a DB pinned page after discarding it.
165         + Minor fixes in multiple edit buffer message handling code.
166         + Fix yk command moving to shorter line core dump.
167         + Rework message handling to try and gang more messages onto a single
168           line.
169 1.65 -> 1.66 (05/18/96)
170         + Convert vi man page to historic -man macro package, and install it.
171         + Fix bug were !! on an empty line with a nonexistent command left the
172           cursor on the second character, not the first.
173         + Fix bug where line redisplay was wrong when a <tab> replaced a
174           previous <tab> in the line.
175         + Fix bug where D (d$) didn't reset the relative cursor position.
176         + Fix bug where yG incorrectly reset the relative cursor position.
177         + Fix bug where the window size couldn't be grown once it was shrunk.
178         + Fix bug where the extended edit option caused tag searches to fail.
179         + If multiple lines in the tags file with the same leading tag, build
180           a tags stack like the Cscope stack.  This is the obvious extension,
181           and the way that Larry McVoy's ctags program works.
182         + Send the appropriate TI/TE sequence in the curses screen whenever
183           entering ex/vi mode.  This means that :shell now shows the correct
184           screen when using xterm alternate screens.
185         + Rework the options display code to get five columns in an 80 column
186           screen.
187         + Interactive Unix V3.0 port -- mostly file name shortening, other
188           minor changes.  Only preliminary, more work will be necessary.
189         + Add debugging option to not read EXINIT/.exrc information.
190         + Fix bug where re_compile printed an error message to the screen
191           when the user entered [ to an incremental search.
192         + Turn off screen beeps when incremental search is failing.
193         + Fix bug where the iclower option didn't trigger an RE recompilation.
194         + Fix bug where -t into an already locked file forced the user to wait
195           as if a startup command had failed.
196         + LynxOS port -- mostly adding <sys/types.h> even though <sys/param.h>
197           was already included.
198         + Fix ex output bug, where it appeared as if an ex command was skipped
199           due to flags not being cleared in the vs_msg() routine.
200         + Fix core dump when global command tried to switch screens.
201 1.64 -> 1.65 (05/13/96)
202         + Fix cscope <blank>-matching pattern to use extended RE's, and bug
203           that kept cscope from finding patterns containing <blank>s.
204         + Fix core dumps in both leftright and folded screens when tabstops
205           edit option value was large, and tab characters occurred as the last
206           character in the logical screen.
207         + Fix core dump where the second screen of a folded line wasn't
208           displayed correctly.
209         + Fix incremental search to match the current location for strings
210           starting with \< patterns.
211         + Fix bug where margins were ignored during replay of text input.
212         + Fix bug where motion components to shorter lines could lose because
213           the relative motion flags weren't ever set.  This has been broken
214           forever, but the change almost certainly breaks something else -- I
215           have no idea what.
216         + Tags display: don't print the current entry separately, display
217           them all and add a trailing asterisk for the current one.
218         + Change the cscope add command to put the directory name through
219           standard file name expansion.
220         + Fix cscope use of buffers -- search commands weren't nul-terminated.
221 1.63 -> 1.64 (05/08/96)
222         + Add installation target to the Makefile.
223         + Add documentation on the new tags commands to the Vi Reference
224           Manual.
225         + Make the sidescroll edit option work again.
226         + Fix bug where messages output during startup by ex could be lost.
227         + Change ex/vi commands errors into beeps, unless the verbose edit
228           option is set -- there are too many macros that are expected to
229           eventually fail.  This matches historic practice.
230         + Truncate paths in initial vi screen if they won't fit on one line.
231         + Make cursor position after filter write match historic practice.
232         + Force the user to wait if there is output and the user is leaving
233           the screen for any reason -- don't permit further ex commands.
234         + Don't use a <newline> character to scroll the screen when exiting,
235           scroll in the vi screen before endwin() is called.
236         + Fix bug where the column number could be incorrect because the old
237           screen wasn't updated after a screen split.
238         + Fix ex print routine to correctly specify print flags.
239         + Make -g/-O a separate make/configuration option.
240         + Fix bug where ex/vi messages weren't being joined.
241         + Fix bug where termcap strings were free'd twice.
242         + Fix bug where TI/TE still weren't working -- I didn't put in the
243           translation strings for BSD style curses.
244         + Fix bug where I misspelled the iclower edit option as icloser.
245 1.62 -> 1.63 (04/29/96)
246         + Robustness and type/lint fixes for the Tcl interface code.
247         + Fix core dump if TERM wasn't set or terminal type was unknown.
248         + Fix bug where combining ex commands that did/did not require an
249           ex screen would overwrite the command with the want-to-continue
250           messsage.
251         + Fix bug where the screen was never resolved if the user continued
252           entering ex commands using the : character, but then backspaced
253           over the prompt to quit or tried to edit their colon command-line
254           history.
255         + Fix bug where cursor wasn't placed over the ^ placeholder character
256           when quoting using the literal-next character.
257         + Fix bug where nvi under BSD style curses wasn't sending TI/TE termcap
258           strings when suspending the process.
259         + Rename mic again, to iclower.
260         + Fix bug where 'z' commands trailing / or ? commands weren't being
261           executed.
262         + Change incremental search to leave the cursor at its last position
263           when searching for something that was never found.
264         + Fix bug where search-with-confirmation from vi mode didn't position
265           the cursor correctly after displaying the confirm message.
266         + Fix bug where the "search wrapped" message was dependent on the
267           verbose edit option, which doesn't match historic practice.  Change
268           search messages to be in inverse video.
269         + Fix bug where matched showmatch character wasn't being displayed
270           before the matching character was displayed.
271         + Another cursor update bug required a change to vs_paint().
272         + Fix bug were initial line offset was wrong for the first split screen
273           (symptom is very strange column numbers and blank first line).
274         + Create filename "argument" lists when creating new screens.
275         + Fix bug where globals with associated commands that included both
276           buffer execution and other commands could fail to execute the latter.
277 1.61 -> 1.62 (04/22/96)
278         + Rename the "searchci" edit option to be "mic".
279         + Fix memory corruption in global commands ending in searches.
280         + Fix text resolution bug, corrected the cursor based on the
281           first line input, not the last.
282         + Rework the readonly edit option to match historic practice.
283         + Fix several minor incremental search bugs; make incremental
284           searches work in maps.
285         + Fix long-line core dump, where an incorrect screen map could be
286           used.
287 1.60 -> 1.61 (04/12/96)
288         + The cursor now ends up on the FIRST character of the put text for
289           all versions of the vi put commands, regardless of the source
290           of the text.  This matches System III/V behavior and POSIX 1003.2.
291         + Fixed bug where showmatch messages were getting discarded.
292         + Minor Perl integration fixes.
293         + Integrate Cscope into the tags stack code -- major change.
294         + Fixed bug where ^T would drop core if returning to a temporary file.
295         + Changed vs_ routine to display ex output to replace tab characters
296           with spaces.
297         + Fix autoindent code to not back up past beginning of line when ^T
298           inserted into the middle of a line, i.e. offset != 0.
299         + Fix "notimeout" option, was being ignored, by a coding error.
300         + Fix showmatch code to never flash on a match if keys are waiting.
301         + Change the vi 'D' command to ignore any supplied count, matching
302           historic practice.
303         + Fix viusage for D, S, C and Y (the aliased vi commands).
304         + Fix the Perl5 configuration bug in the configuration script.
305         + Make file completion commands in empty lines work.
306         + Fix where the change to let vi use the default ex command structure
307           broke the ex specification of the script or source file name.
308         + Fix to free saved RE structures when screens exit.  This is a major
309           RE change, which fixed several bugs in the handling of saved/subst
310           RE's.  It's likely to have added new bugs, however.
311         + Add case-independent searching (the searchci edit option).
312         + Add incremental search (the searchincr edit option).
313         + Home the cursor when executing ex commands from vi.
314 1.59 -> 1.60 (03/29/96)
315         + Fix ":w >>" core dump, make that command match historic practice.
316         + Fix autoindent bug where the length of the line was incorrectly
317           calculated.
318         + Fix cursor bug where cursor could end up at the wrong place if the
319           movement keys were entered quickly enough.
320         + Change the read/write whirling indicator to appear only every 1/4
321           second, clean up the appearance.
322         + Don't change the options real values until underlying functions
323           have returned OK -- fix "set tabstop=0" core dump.
324         + Fix resizing on Sun's: use SA_INTERRUPT to interrupt read calls.
325         + Fix two forward mark command bugs: one where it wasn't setting the
326           "favorite cursor" position because of the refresh optimization,
327           and one where it didn't have VM_RCM_SET set in the command flags
328           for some reason.
329         + Fix a bug were the 's' command on top of a <tab> didn't correctly
330           copy the buffer.
331         + Make :exusage command work for commands having optional leading
332           capital letters, e.g. Next.
333         + Previous changes broke the inital-matching-prefix code in the key
334           mapping part of v_event_get -- fix it, and fix the infinite macro
335           interrupt code at the same time.
336         + Add "cedit" edit option, so colon command-line editing is optional.
337           Change filec/cedit so that you can set them to the same character,
338           and they do cedit if in column 1, and filec otherwise.
339         + Fix "source of non-existent file" core dump.
340         + Fix bug where functions keys specified in startup information were
341           never resolved/activated.
342         + Fix v_txt bug where could infinitely loop if <escape> triggered an
343           abbreviation expansion.
344         + Move version string into VERSION file, out of ex_version.c
345 1.58 -> 1.59
346         + Configuration changes, several minor bug fixes, including a few
347           core dumps.  No functional changes.
348 1.57 -> 1.58
349         + Fix the problem where colon command-line temporary files were
350           getting left in /tmp.
351         + Fix the configuration scripts to quit immediately if the Perl
352           or Tk/Tcl libraries are specified but not found.
353         + Several screen fixes -- the changes in 1.57 weren't as safe as
354           I thought.  More specifically, the refresh-only-if-waiting change
355           caused a lot of problems.  In general, fixing them should provide
356           even more speedup, but I'm nervous.
357         + Lots of changes in the configuration scripts, hopefully this is
358           just a first-round ordeal.
359         + Several other minor bug fixes.
360 1.56 -> 1.57
361         + Add <esc> hook to colon commands, so you can edit colon commands.
362         + Add Perl5 interpreter.
363         + Change shell expansion code to fail if it doesn't read at least
364           one non-blank character from the shell.  If the shell expansion
365           process fails, or if not at least one non-blank character, it
366           now displays an error message to the user.
367         + Rework the screen display so that it matches the historic vi screen
368           refreshes.
369         + Rework options processing: print/noprint are no longer cumulative,
370           provide more information to underlying edit options modules, move
371           O_MESG information into the screen specific code.
372         + Make file completion character settable.
373         + Rework terminal restart -- you can now use ":set term" to switch
374           terminal types.  This cleaned up screen resizing considerably.
375         + Character display fix, display \177 as ^?, not in hex/octal.
376         + Tag search bug fix, don't repeat search if successful.
377         + Replace sys_siglist[] use with private sigmsg() routine.
378         + Fix core dump if illegal screenId specified to Tcl routine.
379         + Add get/set mark interface to Tcl Interpreter interface.
380         + Fix core dump if file expansion code stressed (re: filec edit option)
381         + Fix bug where filter commands in empty files couldn't find line 0.
382         + Switch to GNU autoconf 2.7 for configuration, delete nvi/PORT.
383           Many random portability fixes.
384 1.55 -> 1.56 (11/26/95)
385         + Bug fix release -- generally available beta release.
386 1.54 -> 1.55 (11/18/95)
387         + Bug fix release.
388         + Integrate Tcl interpreter.
389 1.53 -> 1.54 (11/11/95)
390         + Bug fix release.  A major change in reworking the ex commands, when
391           called from the colon command line, to match historic practice, and
392           permit them to be entered repeatedly after ex has trashed the screen.
393         + Use restartable endwin() from System V curses to implement screen
394         + suspend.
395 1.52 -> 1.53 (10/29/95)
396         + Switch to using vendor's curses library for all ports.
397         + Back out the event driven version, leaving screen separation.
398         + User configuration of <escape> timeout (the escapetime edit option).
399         + Add Tcl/Tk screen support.
400         + Add file name completion (the filec edit option).
401         + Disallow access to outside applications (the secure edit option).
402 1.51 -> 1.52 (7/26/95)
403         + Minor cleanups, snapshotted for SMI.
404 1.50 -> 1.51 (7/05/95)
405         + Lots and lots of changes for event driven model, largely in moving
406           the boundary between the screen code and the editor up and down.
407           Private release for Rob Zimmermann @ Tartan and Bill Shannon @ SMI.
408 1.49 -> 1.50 Fri Jun  9 13:56:17 1995
409         + Minor bug fixes for stability.
410         + Convert to an event driven model, with the usual Nachos Supreme
411           layering that results.  This is a completely new version, nothing
412           done previously matters any more.
413 1.48 -> 1.49 Wed Mar  8 10:42:17 1995
414         + Changes in 1.46 broke ^A processing.
415         + Add :previous to split screen commands.
416         + Lots o' random bug fixes -- passes purify testing again.
417 1.47 -> 1.48 Thu Feb  9 18:13:29 1995
418         + Random bug fixes for 1.47.
419         + Move the FREF (file structure) list out of the screen and into
420           the global area.
421         + Change semantics to :E to more closely match :e -- ":E" joins
422           the current file, so ":E /tmp" is now the command to match the
423           historic ":split".
424 1.46 -> 1.47 Wed Feb  8 19:43:41 1995
425         + All ex commands (including visual and excluding global and v)
426           are now supported inside ex global commands.
427         + Rework the append/change/insert commands to match historic
428           practice for text appended to the ex command line, and inside
429           of ex global commands.
430         + Restructure to make single-line screens work.
431         + Restructure to create curses independent screen routines.
432         + Restructure to permit Edit, Next, and Tag routines to create new
433           screens on the fly.
434         + Change hexadecimal output to be \x## instead of 0x##.
435         + Change ex commands run from vi to stay in vi mode for as long as
436           possible, i.e. until ex modifies the screen outside of the editor.
437 1.45 -> 1.46 Tue Jan 24 10:22:27 1995
438         + Restructure to build as a library.
439 1.44 -> 1.45 Thu Jan 12 21:33:06 1995
440         + Fix relative cursor motion to handle folded lines.
441         + Recompile the search pattern if applicable edit options change.
442         + Change +/-c command ordering to match historic practice.
443         + Rework autoindent code to always resolve preceeding <blank>
444           characters when a ^T or ^D are entered.
445         + Add the print/noprint edit options, so can now specify if
446           a character is printable.
447         + Change ex to run in canonical mode.
448         + Fix ex text input to support the number edit option.
449         + Vi text input fix for the R command to correctly restore
450           characters entered and then backspaced over.
451         + Several vi increment command fixes.
452 1.43 -> 1.44
453         + Bug fix, vi was printing the last line number on the status line
454           at startup.  Change to execute commands at first line set, i.e.
455           "vi -t tag -c cmd" executes cmd at the tag line, not EOF.
456 1.42 -> 1.43 Sat Dec  3 13:11:32 1994
457         + Marks, SunOS signed comparison fix for 1.42.
458 1.41 -> 1.42 Fri Dec  2 20:08:16 1994
459         + Make autowrite require the file not be read-only.
460         + Make the ex insert command work in empty files.
461         + Tab expansion is no longer limited to values < 20 (which matches
462           historical practice).
463         + Simplify (and fix limit detection for) the # command.  It's no
464           longer possible to use the # command itself to repeat or modify
465           a previous # command, '.' is the only possibility.
466         + Lots more reworking of the ex addresses, putting ? and / into
467           the ex addressing code broke the world.
468         + Make the Put, Preserve and Print commands work (don't ask).
469         + Split stdout/stderr from shell expansions; stdout is expansion
470           text, stderr is entered on the message queue.
471 1.40 -> 1.41 Fri Nov 18 16:13:52 1994
472         + Addition of a port for AUX 3.1
473         + Addition of a message catalog for Russian.
474         + Make vi ? and / commands be true ex addresses (historic practice).
475         + Display the date first in vi -r recovery list.
476 1.39 -> 1.40 Mon Nov 14 10:46:56 1994
477         + Two bug fixes for 1.39; -r option and v_change core dump.
478 1.38 -> 1.39 Sun Nov 13 18:04:08 1994
479         + Ex substitution with confirmation now matches historic practice
480           (except that it still runs in raw mode, not cooked).
481         + Nvi now clears the screen before painting, if repainting the
482           entire screen.
483         + Fix final cursor position for put command entering text in a
484           single line.
485         + Change to break error message lines on the last <blank> in the
486           line.
487         + Always center the current line when returning to a previously
488           edited file or moving to a tag line that's not visible on the
489           screen.
490         + Change write of the current file using an explicit name or % to
491           match the semantics of :w<CR>, not :w file<CR>.
492         + Add command aliases to vi, and remap 6 historic commands to their
493           historic counterparts: D->d$, Y->y_, S->c_, C->c$, A->$a, I->^i.
494         + Match option display to historic practice; if boolean or numeric
495           options changed to default values, not displayed by default.
496           Nvi treats string options the same way, vi always displayed any
497           string option that was changed.
498         + Added lock edit option, if not set, no file locking is done.
499         + Rework ex to permit any ex command in the EXINIT variable or
500           exrc startup files.  This fixes the bug were `vi +100 file'
501           painted the screen and then moved to line 100 and repainted.
502           (Yanked to SCCS ID 9.1.)
503         + Bug fix: could report file modified more recently than it was
504           written, incorrectly.
505         + Search fix: historically, motions with deltas were not corrected
506           to the previous/next line based on the starting/stopping column.
507         + Addressing fixes: make trailing non-existent addresses work, change
508           % to be text substitution, not a unique address (to follow future
509           POSIX).
510 1.37 -> 1.38 Mon Oct 24 12:51:58 1994
511         + Scrolling fix; ^B can move to nonexistent lines.
512         + Fix to vi mapped commands; <escape> characters while already in
513           command mode did not historically cause the mapped characters to
514           be flushed.
515         + Add the backup edit option, automatically version edit files.
516         + Make it possible to edit files that db can't read, i.e. edit a
517           temporary file, with the correct file name.
518         + Only anchor the last line of the file to the bottom line of the
519           screen if there's half or less of a screen between the target
520           line and the end of the file.
521         + Fix wrapmargin text allocation bug.
522         + Fix ex put command to work in any empty file.
523         + Fix global command to handle move's to line 0 correctly.
524         + Regularize the yank cursor motions, several bug fixes for historic
525           practice.
526         + Fix N and n, when used as a motion command for the ! command,
527           repeat the last bang command instead of prompting for a new
528           one.
529         + Timeout maps beginning with <escape> quickly, instead of based
530           on the keytime option.
531         + Bug fix for wraplen option, wasn't triggered for input commands.
532 1.36 -> 1.37 Sun Oct  9 19:02:53 1994
533         + Change PORT directories to install patches before distribution.
534         + Fix ^A to set search direction and pattern for consistency.
535         + Fold the showdirty option into the showmode option.
536         + Ex addressing fix: change search offset and line arguments (e.g.
537           the copy command) to be ex addressing offsets, matching historic
538           practice.
539         + Ex addressing fix: support ^ as an offset/flag equivalent to -.
540         + Ex addressing fix: historically, any missing address defaulted to
541           dot, e.g. "4,,," was the same as ".,.".
542         + Ex addressing fix: historically, <blank> separated numbers were
543           additive, e.g. "3 5p" displayed line 8.
544         + Ex addressing fix: make ';' as a range delimiter match historic
545           practice.
546         + Change nvi to exit immediately if stdout isn't a terminal.
547         + Change alternate file name behavior to match historic practice,
548           make the :write command set the current file name.
549         + Text input fix; input keys from a map, with an associated count,
550           weren't historically affected by the wrapmargin value.
551         + Add wraplen option, same as wrapmargin, but from the left-hand
552           column, not the right.
553         + Make ex address .<number> be equivalent to .+<number>, i.e. the
554           '+' is understood; matches historic practice, and it's widely
555           documented for ed(1).
556         + Input mode ^V^J historically mapped into a single ^J.
557         + Minor catalog changes, fixes; don't use 's' to pluralize words.
558 1.35 -> 1.36 Thu Sep  8 08:40:25 1994
559         + Don't overwrite user's maps with standard (termcap) mappings.
560         + Make \ escape kill and erase characters in vi text input mode.
561         + Fix ^D autoindent bug by resolving leading <blank>s at ^D.
562         + Rework abbreviation tests (again!) to match historic practice.
563         + Change ^D/^U default scrolling value to be based on window option
564           value, not screen lines, correct scrolling option value, both to
565           match historic practice.  NOTE: System V does this differently!
566 1.34 -> 1.35 Wed Aug 31 19:20:15 1994
567         + Add the historic -l option.
568         + Message catalogs.
569         + Display global messages at each flush, just in case some are there.
570         + Fix global substitute code, `\\' wasn't handled correctly.
571         + Fix abbreviation code to use <blank>s as the preceding character.
572         + Fix ruler to display logical column, not physical column.
573         + Block signals when user issues :preserve command, so no race caused
574           by SIGHUP/SIGTERM.
575 1.33 -> 1.34 Wed Aug 17 14:37:32 1994 (PUBLICLY AVAILABLE VERSION)
576         + Back out sccsid string fix, it won't work on SunOS 4.1.
577 1.32 -> 1.33 Wed Aug 17 09:31:41 1994 (PUBLICLY AVAILABLE VERSION)
578         + Get back 5K of data space for the sccsid strings.
579         + Fix bug where cG fix in version 1.31 broke cw cursor positioning
580           when the change command extended the line.
581         + Fix core dump in map/seq code if character larger than 7 bits.
582         + Block signals when manipulating the SCR chains.
583         + Fix memory allocation for machines with multiple pointer sizes.
584 1.31 -> 1.32 Mon Aug 15 14:27:49 1994
585         + Turn off recno mmap call for Solaris 2.4/SunOS 5.4.
586 1.30 -> 1.31 Sun Aug 14 13:13:35 1994
587         + Fix bug were cG on the last line of a file wasn't done in line mode,
588           and where the cursor wasn't positioned correctly after exiting text
589           insert mode.
590         + Add termcap workaround to make function keys greater than 9 work
591           correctly (or fail if old-style termcap support).
592         + Change ex/vi to not flush mapped keys on error -- this is historic
593           practice, and people depended on it.
594         + Rework vi parser so that no command including a mapped key ever
595           becomes the '.' command, matching historic practice.
596         + Make <escape> cancellation in the vi parser match POSIX 1003.2.
597         + Fix curses bug where standout string was written for each standout
598           character, and where standout mode was never exited explicitly.
599           Fix bugs in curses SF/sf and SR/sr scrolling, as seen on Sun and
600           x86 consoles.
601         + The v/global commands execute the print command by default.
602         + The number option historically applies to ex as well as vi.
603 1.29 -> 1.30 Mon Aug  8 10:30:42 1994
604         + Make first read into a temporary set the file's name.
605         + Permit any key to continue scrolling or ex commands -- this
606           allows stacked colon commands, and matches historic practice.
607         + Don't output normal ! command commentary in ex silent mode.
608         + Allow +/- flags after substitute commands, make line (flag)
609           offsets from vi mode match historic practice.
610         + Return <eof> to ex immediately, even if preceded by spaces.  Rework
611           ex parser to do erase the prompt instead of depending on the print
612           routines to do it.  Minor fixes to the ex parser for display of
613           default and scrolling commands.  MORE EX PARSER CHANGES.
614 1.28 -> 1.29 Fri Aug  5 10:18:07 1994
615         + Make the abbreviated ex delete command work (:dele---###lll for
616           example, is historically legal.
617         + When autoprint fires, multiple flags may be set, use ex_print
618           directly instead of the stub routines.
619         + Change v/global commands to turn off autoprint while running.
620         + Minor changes to make the ! command display match historic output.
621         + Rework the ex parser to permit multiple command separators without
622           commands -- MAJOR CHANGE, likely to introduce all sorts of new bugs.
623         + Fix cd command to expand argument in the context of each element
624           of the cdpath option, make relative paths always relative to the
625           current directory.
626         + Rework write/quit cases for temporary files, so that user's don't
627           discard them accidentally.
628         + Check for window size changes when continuing after a suspend.
629         + Fix memory problem in svi_screen, used free'd memory.
630         + Change the ex change, insert, append commands to match historic
631           cursor positions if no data entered by the user.
632         + Change ex format flags (#, l, p) to affect future commands, not
633           just the current one, to match historic practice.
634         + Make the user's EOF character an additional scroll character in ex.
635         + Fix ex ^D scrolling to be the value of the scroll option, not half
636           the screen.
637         + Fix buffer execution to match historic practice -- bugs where the
638           '*' command didn't work, and @<carriage-return> didn't work.
639         + Fix doubled reporting of deleted lines in filters.
640         + Rework the % ` / ? ( ) N n { and ^A commands to always cut into
641           numeric buffers regardless of the location or length of the cut.
642           This matches historic practice.
643         + Fix the { command to check the current line if the cursor doesn't
644           start on the first character of the line.
645         + Do '!' expansion in the ex read command arguments, it's historic
646           practice.  In addition, it sets the last '!' command.
647 1.27 -> 1.28 Wed Jul 27 21:29:18 1994
648         + Add support for scrolling using the CS and SF/sf/SR/sr termcap
649           strings to the 4BSD curses.
650         + Rework of getkey() introduced a bug where command interrupt put
651           nvi into an infinite loop.
652         + Piping through a filter historically cut the replaced lines into
653           the default buffer, although not the numeric ones.
654         + Read of a filter and !! historically moved to the first nonblank
655           of the resulting cursor line (most of the time).
656         + Rework cursor motion flags, to support '!' as a motion command.
657 1.26 -> 1.27 Tue Jul 26 10:27:58 1994
658         + Add the meta option, to specify characters the shell will expand.
659         + Fix the read command to match historic practice, the white space
660           and bang characters weren't getting parsed correctly.
661         + Change SIGALRM handler to save and restore errno.
662         + Change SunOS include/compat.h to include <vfork.h> so that the
663           ex/filter.c code works again.
664         + Don't put lines deleted by the ex delete command into the numeric
665           buffers, matching historic practice.
666         + Fix; if appending to a buffer, default buffer historically only
667           references the appended text, not the resulting text.
668         + Support multiple, semi-colon separated search strings, and 'z'
669           commands after search strings.
670         + Make previous context mark setting match historic practice (see
671           docs/internals/context).
672         + Fix the set command to permit whitespace between the option and
673           the question mark, fix question marks in general.
674         + Fix bug where ex error messages could be accidentally preceded
675           by a single space.
676         + Fix bug where curses reorganization could lose screen specific
677           mappings as soon as any screen exited.
678         + Fix bug in paragraph code where invalid macros could be matched.
679           Make paragraph motions stop at formfeed (^L) characters.
680         + Change 'c' to match historic practice, it cut text into numeric
681           buffers.
682 1.25 -> 1.26 Tue Jul 19 17:46:24 1994
683         + Ignore SIGWINCH if the screen size is unchanged; SunOS systems
684           deliver one when a screen is uncovered.
685         + Fix: don't permit a command with a motion component to wrap due
686           to wrapscan and return to the original cursor position.
687         + Fix: ^E wasn't beeping when reaching the bottom of the file.
688         + Fix bg/fg bug where tmp file exiting caused a NULL dereference.
689         + Rework file locking code to use fcntl(2) explicitly.
690         + Fix bug in section code where invalid macros could be matched.
691         + Fix bug where line number reset by vi's Q command.
692         + Add explicit character mode designation to character mode buffers.
693         + Add <sys/ioctl.h> include to sex/sex_window.c, needed by NET/2
694           vintage systems.
695         + Change to always flush a character during suspend, 4BSD curses
696           has the optimization where it doesn't flush after a standend().
697         + Fix bug on OSF1 where <curses.h> changes the values of VERASE,
698           VKILL and VWERASE to incorrect ones.
699         + Fix bug where optarg used incorrectly in main.c.
700         + Block all signals when acting on a signal delivery.
701         + Fix recovery bug where RCV_EMAIL could fire even if there wasn't
702           a backing file; format recovery message.
703 1.24 -> 1.25 Sun Jul 17 14:33:38 1994
704         + Stop allowing keyboard suspends (^Z) in insert mode, it's hard
705           to get autowrite correct, and it's not historic practice.
706         + Fix z^, z+ to match historic practice.
707         + Bug in message handling, "vi +35 non-existent_file" lost the
708           status message because the "+35" pushed onto the stack erased
709           it.  For now, change so that messages aren't displayed if there
710           are keys waiting -- may need to add a "don't-erase" bit to the
711           character in the stack instead.
712         + Bug in svi_msgflush(), where error messages could come out in
713           normal video.
714 1.23 -> 1.24 Sat Jul 16 18:30:18 1994
715         + Fix core dump in exf.c, where editing a non-existent file and
716           exiting could cause already free'd memory to be free'd.
717         + Clean up numerous memory errors, courtesy of Purify.
718         + Change process wait code to fail if wait fails, and not attempt
719           to interpret the wait return information.
720         + Open recovery and DB files for writing as well as reading, System
721           V (fcntl) won't let you acquire LOCK_EX locks otherwise.
722         + Fix substitute bug where could malloc 0 bytes (AIX breaks).
723         + Permit the mapping of <carriage-return>, it's historic practice.
724         + Historic vi didn't eat <blank> characters before the force
725           flag, match historic practice.
726         + Bug in ex argument parsing, corrected for literal characters
727           twice.
728         + Delete screen specific maps when the screen closes.
729         + Move to the first non-<blank> in the line on startup; historic
730           practice.
731         + Change the ex visual command to move directly to a line if no
732           trailing 'z' command.
733         + Fix "[[" and "]]" to match historic practice (yet again...).
734         + Fix "yb" and "y{" commands to update the cursor correctly.
735         + Change "~<motion>" to match the yank cursor movement semantics
736           exactly.
737         + Move all of the curses related code into sex/svi -- major rework,
738           but should help in future ports.
739         + Fix bug in split code caused by new file naming code, where would
740           drop core when a split screen exited.
741         + Change svi_ex_write to do character display translation, so that
742           messages with file names in them are displayed correctly.
743         + Display the file name on split screens instead of a divider line.
744         + Fix move bug, wasn't copying lines before putting them.
745         + Fix bug were :n dropped core if no arguments supplied.
746         + Don't quote characters in executed buffer: "ifoo<esc>" should leave
747           insert mode after the buffer is executed.
748         + Tagpop and tagpush should set the absolute mark in case only moving
749           within a file.
750         + Skip leading whitespace characters before tags and cursor word
751           searches.
752         + Fix bug in ex_global where re_conv() was allocating the temporary
753           buffer and not freeing it.
754 1.22 -> 1.23: Wed Jun 29 19:22:33 1994
755         + New <sys/cdefs.h> required "inline" to change to "__inline"
756         + Fix System V curses code for new ^Z support.
757         + Fix off-by-one in the move code, avoid ":1,$mo$" with only one
758           line in the buffer.
759         + Line orientation of motion commands was remembered too long,
760           i.e.  '.' command could be incorrectly marked as line oriented.
761         + Move file modification time into EXF, so it's shared across
762           split screens.
763         + Put the prev[ious] command back in, people complained.
764         + Random fixes to next/prev semantics changed in 1.22.
765         + Historically vi doesn't only move to the last address if there's
766           ANYTHING after the addresses, e.g. ":3" moves to line 3, ":3|"
767           prints line 3.
768 1.21 -> 1.22: Mon Jun 27 11:01:41 1994
769         + Make the line between split screens inverse video again.
770         + Delete the prev[ious] command, it's not useful enough to keep.
771         + Rework :args/file name handling from scratch -- MAJOR CHANGE,
772           likely to introduce all sorts of new bugs.
773         + Fix RE bug where no subexpressions in the pattern but there were
774           subexpressions referenced in the replacement, e.g. "s/XXX/\1/g".
775         + Change recovery to not leave unmodified files around after a
776           crash, by using the owner 'x' bit on unmodified backup files.
777           MAJOR CHANGE, the system recovery script has to change!
778         + Change -r option to delete recovery.* files that reference non-
779           existent vi.* files.
780         + Rework recovery locking so that fcntl(2) locking will work.
781         + Fix append (upper-case) buffers, broken by cut fixes.
782         + Fix | to not set the absolute motion mark.
783         + Read $HOME/.exrc file on startup if the effective user ID is
784           root.  This makes running vi while su(1)'d work correctly.
785         + Use the full pathname of the file as the recovery name, not
786           just the last component.  Matches historic practice.
787         + Keep marks in empty files from being destroyed.
788         + Block all caught signals before calling the DB routines.
789         + Make the line change report match historic practice (yanked
790           lines were different than everything else).
791         + Add section on multiple screens to the reference manual.
792         + Display all messages at once, combine onto a single line if
793           possible.  Delete the trailing period from all messages.
794 1.20 -> 1.21: Thu May 19 12:21:58 1994
795         + Delete the -l flag from the recover mail.
796         + Send the user email if ex command :preserve executed, this matches
797           historic practice.  Lots of changes to the preserve and recovery
798           code, change preserve to snapshot files (again, historic practice).
799         + Make buffers match historic practice: "add logically stores text
800           into buffer a, buffer 1, and the unnamed buffer.
801         + Print <tab> characters as ^I on the colon command line if the
802           list option set.
803         + Adjust ^F and ^B scroll values in the presence of split screens
804           and small windows.
805         + Break msg* routines out from util.c into msg.c, start thinking
806           about message catalogs.
807         + Add tildeop set option, based on stevie's option of the same name.
808           Changes  the ~ command into "[count] ~ motion", i.e. ~ takes a
809           trailing motion.
810         + Chose NOT to match historic practice on cursor positioning after
811           consecutive undo commands on a single line; see vi/v_undo.c for
812           the comment.
813         + Add a one line cache so that multiple changes to the same line
814           are only counted once (e.g. "dl35p" changes one line, not 35).
815         + Rework signals some more.  Block file sync signals in vi routines
816           that interface to DB, so can sync the files at interrupt time.
817           Write up all of the signal handling arguments, see signal.c.
818 1.19 -> 1.20: Thu May  5 19:24:57 1994
819         + Return ^Z to synchronous handling.  See the dicussion in signal.c
820           and svi_screen.c:svi_curses_init().
821         + Fix bug where line change report was wrong in util.c:msg_rpt().
822 1.18 -> 1.19: Thu May  5 12:59:51 1994
823         + Block DSUSP so that ^Y isn't delivered at SIGTSTP.
824         + Fix bug -- put into an empty file leaves the cursor at 1,0,
825           not the first nonblank.
826         + Fix bug were number of lines reported for the 'P' command was
827           off-by-one.
828         + Fix bug were 0^D wasn't being handled correctly.
829         + Delete remnants of ^Z as a raw character.
830         + Fix bug where if a map was an entire colon command, it may never
831           have been displayed.
832         + Final cursor position fixes for the vi T and t commands.
833         + The ex :next command took an optional ex command as it's first
834           argument similar to the :edit commands.  Match historic practice.
835 1.17 -> 1.18: Wed May  4 13:57:10 1994
836         + Rework curses information in the PORT/Makefile's.
837         + Minor fixes to ^Z asynchronous code.
838 1.16 -> 1.17: Wed May  4 11:15:56 1994
839         + Make ex comment handling match historic practice.
840         + Make ^Z work asynchronously, we can no longer use the SIGTSTP
841           handler in the curses library.
842 1.15 -> 1.16: Mon May  2 19:42:07 1994
843         + Make the 'p' and 'P' commands support counts, i.e. "Y10p" works.
844         + Make characters that map to themselves as the first part of the
845           mapping work, it's historic practice.
846         + Fix bug where "s/./\& /" discarded the space in the replacement
847           string.
848         + Add support for up/down cursor arrows in text input mode, rework
849           left/right support to match industry practice.
850         + Fix bug were enough character remapping could corrupt memory.
851         + Delete O_REMAPMAX in favor of setting interrupts after N mapped
852           characters without a read, delete the map counter per character.
853           MAJOR CHANGE.  All of the interrupt signal handling has been
854           reworked so that interrupts are always turned on instead of
855           being turned on periodically, when an interruptible operation is
856           pending.
857         + Fix bug where vi wait() was interrupted by the recovery alarm.
858         + Make +cmd's and initial commands execute with the current line
859           set to the last line of the file.  This is historic practice.
860         + Change "lock failed" error message to a file status message.
861           It always fails over NFS, and making all NFS files readonly
862           isn't going to fly.
863         + Use the historic line number format, but check for overflow.
864         + Fix bug where vi command parser ignored buffers specified as
865           part of the motion command.
866         + Make [@*]buffer commands on character mode buffers match historic
867           practice.
868         + Fix bug where the cmap/chf entries of the tty structure weren't
869           being cleared when new characters were read.
870         + Fix bug where the default command motion flags were being set
871           when the command was a motion component.
872         + Fix wrapmargin bug; if appending characters, and wrapmargin breaks
873           the line, an additional space is eaten.
874 1.14 -> 1.15: Fri Apr 29 07:44:57 1994
875         + Make the ex delete command work in any empty file.
876         + Fix bug where 't' command placed the cursor on the character
877           instead of to its left.
878         + ^D and ^U didn't set the scroll option value historically.
879           Note, this change means that any user set value (e.g. 15^D)
880           will be lost when splitting the screen, since the split code
881           now resets the scroll value regardless.
882         + Fix the ( command to set the absolute movement mark.
883         + Only use TIOCGWINSZ for window information if SIGWINCH signal
884           caught.
885         + Delete the -l flag, and make -r work for multiple arguments.
886           Add the ex "recover[!] file" command.
887         + Switch into ex terminal mode and use the sex routines when
888           append/change/insert called from vi mode.
889         + Make ^F and ^B match historic practice.  This required a fairly
890           extensive rework of the svi scrolling code.
891         + Cursor positioning in H, M, L, G (first non-blank for 1G) wasn't
892           being done correctly.  Delete the SETLFNB flag.  H, M, and L stay
893           logical movements (SETNNB) and G always moves to the first nonblank.
894         + System V uses "lines" and "cols", not "li" and "co", change as
895           necessary.  Check termcap function returns for errors.
896         + Fix `<character> command to do start/end of line correction,
897           and to set line mode if starting and stopping at column 0.
898         + Fix bug in delete code where dropped core if deleted in character
899           mode to an empty line.  (Rework the delete code for efficiency.)
900         + Give up on SunOS 4.1.X, and use "cc" instead of /usr/5bin/cc.
901         + Protect ex_getline routine from interrupted system calls (if
902           possible, set SA_RESTART on SIGALRM, too).
903         + Fix leftright scrolling bug, when moving to a shorter line.
904         + Do validity checking on the copy, move, t command target line
905           numbers.
906         + Change for System V % pattern broke trailing flags for empty
907           replacement strings.
908         + Fix bug when RCM flags retained in the saved dot structure.
909         + Make the ex '=' command work for empty files.
910         + Fix bug where special_key array was being free'd (it's no longer
911           allocated).
912         + Matches cut in line mode only if the starting cursor is at or
913           before the first nonblank in its line, and the ending cursor is
914           at or after the last nonblank in its line.
915         + Add the :wn command, so you can write a file and switch to a new
916           file in one command.
917         + Allow only a single key as an argument to :viusage.
918         + New movement code broke filter/paragraph operations in empty
919           files ("!}date" in an empty file was dropping core).
920 1.12 -> 1.14: Mon Apr 18 11:05:10 1994 (PUBLICLY AVAILABLE VERSION, 4.4BSD)
921         + Fix FILE structure leakage in the ex filter code.
922         + Rework suspend code for System V curses.  Nvi has to do the
923           the work, there's no way to get curses to do it right.
924         + Revert SunOS 4.1.X ports to the distributed curses.  There's
925           a bug in Sun's implementation that we can't live with.
926         + Quit immediately if row/column values are unreasonable.
927         + Fix the function keys to match vi historic behavior.
928         + Replace the echo/awk magic in the Makefile's with awk scripts.
929 1.11 -> 1.12: Thu Apr 14 11:10:19 1994
930         + Fix bug where only the first vi key was checked for validity.
931         + Make 'R' continue to overwrite after a <carriage-return>.
932         + Only display the "no recovery" message once.
933         + Rework line backup code to restore the line to its previous
934           condition.
935         + Don't permit :q in a .exrc file or EXINIT variable.
936         + Fix wrapscan option bug where forward searches become backward
937           searches and do cursor correction accordingly.
938         + Change "dd" to move the cursor to the first non-blank on the line.
939         + Delete cursor attraction to the first non-blank, change non-blank
940           motions to set the most attractive cursor position instead.
941         + Fix 'r' substitute option to set the RE to the last RE, not the
942           last substitute RE.
943         + Fix 'c' and 'g' substitute options to always toggle, and fix
944           edcompatible option to not reset them.
945         + Display ex error messages in inverse video.
946         + Fix errorbells option to match historic practice.
947         + Delete fixed character display table in favor of table built based
948           on the current locale.
949         + Add ":set octal" option, that displays unknown characters as octal
950           values instead of the default hexadecimal.
951         + Make all command and text input modes interruptible.
952         + Fix ex input mode to display error messages immediately, instead
953           of waiting for the lines to be resolved.
954         + Fix bug where vi calling append could overwrite the command.
955         + Fix off-by-one in the ex print routine tab code.
956         + Fix incorrect ^D test in vi text input routines.
957         + Add autoindent support for ex text insert routines.
958         + Add System V substitute command replacement pattern semantics,
959           where '%' means the last replacement pattern.
960         + Fix bug that \ didn't escape newlines in ex commands.
961         + Regularize the names of special characters to CH_*.
962         + Change hex insert character from ^Vx<hex_char> to ^X<hex_char>
963         + Integrate System V style curses, so SunOS and Solaris ports can
964           use the native curses implementation.
965 1.10 -> 1.11: Thu Mar 24 16:07:45 EST 1994 (PUBLICLY AVAILABLE VERSION)
966         + Change H, M, and L to set the absolute mark, historical practice.
967         + Fix bug in stepping through multiple tags files.
968         + Add "remapmax" option that turns off map counts so you can remap
969           infinitely.  If it's off, term_key() can be interrupted from the
970           keyboard, which will cause the buffers to flush.  I also dropped
971           the default max number of remaps to 50.  (Only Dave Hitz's TM
972           macros and maze appear to go over that limit.)
973         + Change :mkexrc to not dump w{300,1200,9600}, lisp options.
974         + Fix backward search within a line bug.
975         + Change all the includes of "pathnames.h" to use <>'s so that the
976           PORT versions can use -I. to replace it with their own versions.
977         + Make reads and writes interruptible.  Rework code that enters and
978           leaves ex for '!' and filter commands, rework all interrupt and
979           timer code.
980         + Fix core dump when user displayed option in .exrc file.
981         + Fix bug where writing empty files didn't update the saved
982           modification time.
983         + Fix bug where /pattern/ addressing was always a backward search.
984         + Fix bug triggered by autoindent of more than 32 characters, where
985           nvi wasn't checking the right TEXT length.
986         + Fix bug where joining only empty lines caused a core dump.
987 1.09 -> 1.10: Sat Mar 19 15:40:29 EST 1994
988         + Fix "set all" core dump.
989 1.08 -> 1.09: Sat Mar 19 10:11:14 EST 1994
990         + If the tag's file path is relative, and it doesn't exist, check
991           relative to the tag file location.
992         + Fix ~ command to free temporary buffer on error return.
993         + Create vi.ref, a first cut at a reference document for vi.
994           The manual page and the reference document only document the
995           set options, so far.
996         + Fix 1G bug not always going to the first non-blank.
997         + Upgrade PORT/regex to release alpha3.4, from Henry Spencer.
998         + Add MKS vi's "cdpath" option, supporting a cd search path.
999         + Handle if search as a motion was discarded, i.e. "d/<erase>".
1000         + Change nvi to not create multiple recovery files if modifying
1001           a recovered file.
1002         + Decide to ignore that the cursor is before the '$' when inserting
1003           in list mode.  It's too hard to fix.
1004 1.07 -> 1.08: Wed Mar 16 07:37:36 EST 1994
1005         + Leftright and big line scrolling fixes.  This meant more changes
1006           to the screen display code, so there may be new problems.
1007         + Don't permit search-style addresses until a file has been read.
1008         + "c[Ww]" command incorrectly handled the "in whitespace" case.
1009         + Fix key space allocation bug triggered by cut/paste under SunOS.
1010         + Ex move command got the final cursor position wrong.
1011         + Delete "optimize option not implemented" message.
1012         + Make the literal-next character turn off mapping for the next
1013           character in text input mode.
1014 1.06 -> 1.07: Mon Mar 14 11:10:33 EST 1994
1015         + The "wire down" change in 1.05 broke ex command parsing, there
1016           wasn't a corresponding change to handle multiple K_VLNEXT chars.
1017         + Fix final position for vi's 't' command.
1018 1.05 -> 1.06: Sun Mar 13 16:12:52 EST 1994
1019         + Wire down ^D, ^H, ^W, and ^V, regardless of the user's termios
1020           values.
1021         + Add ^D as the ex scroll command.
1022         + Support ^Q as a literal-next character.
1023         + Rework abbreviations to be delimited by any !inword() character.
1024         + Add options description to the manual page.
1025         + Minor screen cache fix for svi_get.c.
1026         + Rework beautify option support to match historical practice.
1027         + Exit immediately if not reading from a tty and a command fails.
1028         + Default the SunOS 4.* ports to the distributed curses, not SMI's.
1029 1.04 -> 1.05: Thu Mar 24 16:07:45 EST 1994
1030         + Make cursor keys work in input mode.
1031         + Rework screen column code in vi curses screen.  MAJOR CHANGE --
1032           after this, we'll be debugging curses screen presentation from
1033           scratch.
1034         + Explode include files in vi.h into the source files.
1035 1.03 -> 1.04: Sun Mar  6 14:14:16 EST 1994
1036         + Make the ex move command keep the marks on the moved lines.
1037         + Change resize semantics so you can set the screen size to a
1038           specific value.  A couple of screen fixes for the resize code.
1039         + Fixes for foreground/background due to SIGWINCH.
1040         + Complete rework of all of vi's cursor movements.  The underlying
1041           assumption in the old code was that the starting cursor position
1042           was part of the range of lines cut or deleted.  The command
1043           "d[[" is an example where this isn't true.  Change it so that all
1044           motion component commands set the final cursor position separately
1045           from the range, as it can't be done correctly later.  This is a
1046           MAJOR CHANGE -- after this change, we'll be debugging the cursor
1047           positioning from scratch.
1048         + Rewrite the B, b, E, e commands to use vi's getc() interface
1049           instead of rolling their own.
1050         + Add a second MARK structure, LMARK, which is the larger mark
1051           needed by the logging and mark queue code.  Everything else uses
1052           the reworked MARK structure, which is simply a line/column pair.
1053         + Rework cut/delete to not expect 1-past-the-end in the range, but
1054           to act on text to the end of the range, inclusive.
1055         + Sync on write's, to force NFS to flush.
1056 1.01 -> 1.03: Sun Jan 23 17:50:35 EST 1994 (PUBLICLY AVAILABLE VERSION)
1057         + Tag stack fixes, was returning to the tag, not the position from
1058           which the user tagged.
1059         + Only use from the cursor to the end of the word in cursor word
1060           searches and tags.  (Matches historical vi behavior.)
1061         + Fix delete-last-line bug when line number option set.
1062         + Fix usage line for :split command.
1063         + If O_NUMBER set, long input lines would eventually fail, the column
1064           count for the second screen of long lines wasn't set correctly.
1065         + Fix for [[ reaching SOF with a column longer than the first line.
1066         + Fix for multiple error messages if no screen displayed.
1067         + Fix :read to set alternate file name as in historical practice.
1068         + Fix cut to rotate the numeric buffers if line mode flag set.
1069 1.00 -> 1.01: Wed Jan 12 13:37:18 EST 1994
1070         + Don't put cut items into numeric buffers if cutting less than
1071           parts of two lines.
1072 0.94 -> 1.00: Mon Jan 10 02:27:27 EST 1994
1073         + Read-ahead not there; BSD tty driver problem, SunOS curses
1074           problem.
1075         + Global command could error if it deleted the last line of
1076           the file.
1077         + Change '.' to only apply to the 'u' if entered immediately
1078           after the 'u' command.  "1pu.u.u. is still broken, but I
1079           expect that it's going to be sacrificed for multiple undo.
1080         + If backward motion on a command, now move to the point; get
1081           yank cursor positioning correct.
1082         + Rework cut buffers to match historic practice -- yank/delete
1083           numeric buffers redone sensibly, ignoring historic practice.
1084 0.92 -> 0.93: Mon Dec 20 19:52:14 EST 1993
1085         + Christos Zoulas reimplemented the script windows using pty's,
1086           which means that they now work reasonably.  The down side of
1087           this is that almost all ports other than 4.4BSD need to include
1088           two new files, login_tty.c and pty.c from the PORT/clib directory.
1089           I've added them to the Makefiles.
1090         + All calloc/malloc/realloc functions now cast their pointers, for
1091           SunOS -- there should be far fewer warning messages, during the
1092           build.  The remaining messages are where CHAR_T's meet char *'s,
1093           i.e. where 8-bit clean meets strcmp.
1094         + The user's argument list handling has been reworked so that there
1095           is always a single consistent position for use by :next, :prev and
1096           :rewind.
1097         + All of the historical options are now at least accepted, although
1098           not all of them are implemented.  (Edcompatible, hardtabs, lisp,
1099           optimize, redraw, and slowopen aren't implemented.)
1100         + The RE's have been reworked so that matches of length 0 are handled
1101           in the same way as vi used to handle them.
1102         + Several more mapping fixes and ex parser addressing fixes.