119304Speter1.78 -> 1.79 (10/23/96)
219304Speter	+ Rename delete() to del(), for C++.
319304Speter	+ Add Spanish to the list of translations.
419304Speter	+ Update to Perl 5.003_06, and other Perl interpreter updates.
519304Speter	+ Update the set-edit-option interface for the scripting languages.
619304Speter	+ Rework ex command parsing to match historic practice for backslash
719304Speter	  escaped <newline> characters inside of global commands.
819304Speter	+ Enhance the comment edit option to skip C++ comments.
919304Speter	+ Change installation to configure the recovery shell script to match
1019304Speter	  the system pathnames and to install it into the vi data directory.
1119304Speter	  Move the recover script into the build directory, and delete the
1219304Speter	  recover directory.
1319304Speter	+ Enhance LynxOS support.
1419304Speter1.76 -> 1.78 (10/01/96)
1519304Speter	+ Fix bugs when both the leftright scrolling and number edit options
1619304Speter	  were on.
1719304Speter	+ Fix bug where splitting in the middle of the screen could repaint
1819304Speter	  incorrectly.
1919304Speter	+ Fix first-nul in input bug, where random garbage was inserted.
2019304Speter	+ Correct search and mark-as-motion-command bug, it's a line mode
2119304Speter	  action if the search starts at or before the first non<blank>.
2219304Speter	+ Fix bug autoindent bug, where ^D could shift too far in the line.
2319304Speter	+ Fix core dump where ! command called from the .exrc file.
2419304Speter	+ Add the -S command-line option, which initializes vi to have the
2519304Speter	  secure edit option preset.
2619304Speter1.75 -> 1.76 (09/15/96)
2719304Speter	+ Fix bug where ^V didn't keep input mapping from happening.
2819304Speter	+ Fix a core dump bug in the R command.
2919304Speter	+ Give up on licensing: no more shareware, adware, whatever.
3019304Speter	+ Fix cursor positioning bug for C, S and c$ in an empty file.
3119304Speter1.74 -> 1.75 (08/22/96)
3219304Speter	+ Add French to the error message translations.
3319304Speter	+ Move the UNLICENSED message to the end of the message line.
3419304Speter	+ Fix bug where wide characters in a file name weren't calculated
3519304Speter	  correctly in the status message.
3619304Speter	+ Fix bug where cl_rename was called directly, by the ex shell code.
3719304Speter	+ Fix bug where splitting a screen resulting in a new screen at the
3819304Speter	  top of the display resulted in badly displayed status messages.
3919304Speter1.73 -> 1.74 (08/18/96)
4019304Speter	+ Fix bug where the status line wasn't redisplayed if the user ran
4119304Speter	  an ex command that trashed the screen.
4219304Speter	+ Fix bug where the long version of the status line wasn't displayed
4319304Speter	  when switching screens.
4419304Speter	+ Rework fast-path filename completion code to sort the entries, and
4519304Speter	  strip out . and .. by default.
4619304Speter	+ Fix bug where ex went to the first line instead of the last one when
4719304Speter	  reading in a file.
4819304Speter1.72 -> 1.73 (08/12/96)
4919304Speter	+ Do filename completion and some file expansion internally for speed.
5019304Speter	+ Fix CSCOPE_DIRS environmental variable support.
5119304Speter	+ Ex parser fix for global commands in script files.
5219304Speter	+ Add the O_PATH option, so you can specify a directory search path
5319304Speter	  for files.
5419304Speter	+ Make it possible to specify the database file to cscope, allowing
5519304Speter	  multiple databases in a single directory.
5619304Speter	+ Fix incremental search to overwrite erased characters so the user
5719304Speter	  can tell where they are on the colon-command line.
5819304Speter	+ Fix incremental search to restart the search if the user enters an
5919304Speter	  unescaped shell meta character.
6019304Speter1.71 -> 1.72 (07/12/96)
6119304Speter	+ Cscope fix: test for files newer than the database was reversed.
6219304Speter	+ Display "files to edit" message for rewind, next and initial screen.
6319304Speter	+ Fix a bug in the R command where it could fail if the user extended
6419304Speter	  the file.
6519304Speter	+ Fix a bug where text abbreviations could corrupt the line.
6619304Speter	+ Fix a bug where the windowname edit option couldn't be set before a
6719304Speter	  file was loaded into the edit buffer.
6819304Speter	+ Fix a bug where the system .exrc values weren't being overridden by
6919304Speter	  the user's $HOME .exrc values.
7019304Speter	+ Fix a bug in the filename completion code, where garbage characters
7119304Speter	  could be added to the colon command line.
7219304Speter	+ Fix bug where multiple edit sessions on a non-existent file could
7319304Speter	  all write the file without warning.
7419304Speter	+ Fix bug where screen update was incorrect if a character triggered
7519304Speter	  both a wrapmargin and showmatch condition.
7619304Speter	+ Fix bug in leftright scrolling where <CR> during text input didn't
7719304Speter	  return the cursor to the left margin.
7819304Speter	+ Rev the Perl interpreter code, new version from Sven Verdoolaege,
7919304Speter	  based on Perl 5.003.01.
8019304Speter	+ Fix bug in tags file pattern search introduced in 1.71.
8119304Speter1.70 -> 1.71 (07/01/96)
8219304Speter	+ Don't include <term.h> -- neither HPUX or Solaris can cope with it.
8319304Speter	+ Fix bug where ^M's in the original pattern were converted into new
8419304Speter	  lines in the file during substitution commands.
8519304Speter	+ Make window resize events separate from interrupts -- too many users
8619304Speter	  complained.
8719304Speter	+ Fix bug in first-character-is-null text input semantic.
8819304Speter	+ Rework search routines to take a length instead of a nul-terminated
8919304Speter	  string for a pattern.  This fixes a couple of bugs in searching, but
9019304Speter	  probably introduces new ones.
9119304Speter	+ Fix prompting the user after a write filter command, the way I did
9219304Speter	  it in 1.70 broke the display.
9319304Speter	+ Don't switch to the alternate xterm screen when entering the ex
9419304Speter	  text input commands from vi mode.
9519304Speter	+ Implement the Fg command, so can foreground a background screen into
9619304Speter	  a split screen.
9719304Speter	+ Change the fg command to match screen names using the last component
9819304Speter	  of the filename the full filename fails.
9919304Speter1.69 -> 1.70 (06/28/96)
10019304Speter	+ Change the ex read command to support named pipes.
10119304Speter	+ Copy the EXINIT/NEXINIT strings before executing their commands so
10219304Speter	  we don't step on the process environment.
10319304Speter	+ Don't do "line modification" reports for intermediate commands
10419304Speter	  executed from the vi colon command line, it screws up filter
10519304Speter	  reads, causing nvi to prompt for the user to continue.
10619304Speter	+ Add "smd" as an abbreviation for showmode: HP, ICL and SCO have it.
10719304Speter	+ Change nvi to always prompt the user after a write filter command.
10819304Speter	  This matches historic practice.
10919304Speter	+ Fix recovery information mailed to the user to reflect the program's
11019304Speter	  installed name.
11119304Speter	+ Change configuration script to not cache option information, e.g.,
11219304Speter	  --disable-curses.
11319304Speter	+ Fix a bug where the second character of the vi [[, ]] and ZZ
11419304Speter	  commands could start a command mapped sequence.
11519304Speter	+ Fix 3 write bugs: partial writes (3,$write), were clearing the
11619304Speter	  modified flag, full writes using line numbers (1,$write) were
11719304Speter	  not, and append historically never cleared the modified flag, and
11819304Speter	  we didn't get that right.
11919304Speter	+ Shorten the "more files to edit" message so it can gang on a single
12019304Speter	  line, lots of people have complained.  Add the number of files that
12119304Speter	  are left to edit, it's historic practice.
12219304Speter	+ Fix core dump where message catalogs collided with truncating the
12319304Speter	  write path.  Add a new write message so the string "appended" is
12419304Speter	  taken from a message catalog.
12519304Speter	+ Fix bug where an undo followed by '.' to repeat it wouldn't work
12619304Speter	  if no other repeatable commands had been entered.
12719304Speter	+ Fix core dump when resolution of input lines' autoindent characters
12819304Speter	  invalidated cached display information.
12919304Speter	+ Set the name of the X11 xterm icon/window to "xterm" when exiting,
13019304Speter	  if modified based on the windowname option.
13119304Speter	+ Include <term.h> if it exists, fixes portability problems on IRIX
13219304Speter	  systems.
13319304Speter1.68 -> 1.69 (06/17/96)
13419304Speter	+ Add the windowname edit option and code to change the icon/window
13519304Speter	  name for xterm's.
13619304Speter	+ Enhance the comment edit option to skip shell comments.
13719304Speter	+ Add conditional prototypes to replacement C library functions.
13819304Speter	+ Minor enhancements/reworking to Makefile.in, other build files.
13919304Speter	+ Fix bug in vi text input ^D processing, could result in cursor
14019304Speter	  warp to the beginning of the line.
14119304Speter	+ Fix leftright screen bug where the screen wasn't repainted when
14219304Speter	  being repainted from scratch.
14319304Speter	+ Update the Swedish and Dutch catalogs.
14419304Speter	+ Truncate paths in write commands if they don't fit on one line.
14519304Speter	+ Fix alternate screen bug where the screen flashed and output lost
14619304Speter	  when switching to/from the X11 xterm alternate screen.  Fix bug
14719304Speter	  where nvi switched into the alternate screen during filter-read
14819304Speter	  commands, which doesn't match historic practice.
14919304Speter	+ Minor relative cursor positioning change, make cursor position
15019304Speter	  changes from ex real and permanent.
15119304Speter1.67 -> 1.68 (06/09/96)
15219304Speter	+ Fix core dump when tagging out of a modified file.
15319304Speter1.66 -> 1.67 (06/09/96)
15419304Speter	+ Convert the license to adware.
15519304Speter	+ Leftright scrolling tweak, don't repaint the screen as often.
15619304Speter	+ Change so that search warning/error messages don't appear during an
15719304Speter	  incremental search.
15819304Speter	+ Cscope fix: test for files newer than the database was reversed.
15919304Speter	+ Don't display ex `welcome message' if in ex batch mode.
16019304Speter	+ Test for vsnprintf and snprintf separately, HP 10.10 has snprintf
16119304Speter	  but not vsnprintf.
16219304Speter	+ Reverse lookup order between LC_MESSAGES and LANG.
16319304Speter	+ Fix Tcl/Perl core dumps in common API code to get/set options.
16419304Speter	+ Fix R command -- it used a DB pinned page after discarding it.
16519304Speter	+ Minor fixes in multiple edit buffer message handling code.
16619304Speter	+ Fix yk command moving to shorter line core dump.
16719304Speter	+ Rework message handling to try and gang more messages onto a single
16819304Speter	  line.
16919304Speter1.65 -> 1.66 (05/18/96)
17019304Speter	+ Convert vi man page to historic -man macro package, and install it.
17119304Speter	+ Fix bug were !! on an empty line with a nonexistent command left the
17219304Speter	  cursor on the second character, not the first.
17319304Speter	+ Fix bug where line redisplay was wrong when a <tab> replaced a
17419304Speter	  previous <tab> in the line.
17519304Speter	+ Fix bug where D (d$) didn't reset the relative cursor position.
17619304Speter	+ Fix bug where yG incorrectly reset the relative cursor position.
17719304Speter	+ Fix bug where the window size couldn't be grown once it was shrunk.
17819304Speter	+ Fix bug where the extended edit option caused tag searches to fail.
17919304Speter	+ If multiple lines in the tags file with the same leading tag, build
18019304Speter	  a tags stack like the Cscope stack.  This is the obvious extension,
18119304Speter	  and the way that Larry McVoy's ctags program works.
18219304Speter	+ Send the appropriate TI/TE sequence in the curses screen whenever
18319304Speter	  entering ex/vi mode.  This means that :shell now shows the correct
18419304Speter	  screen when using xterm alternate screens.
18519304Speter	+ Rework the options display code to get five columns in an 80 column
18619304Speter	  screen.
18719304Speter	+ Interactive Unix V3.0 port -- mostly file name shortening, other
18819304Speter	  minor changes.  Only preliminary, more work will be necessary.
18919304Speter	+ Add debugging option to not read EXINIT/.exrc information.
19019304Speter	+ Fix bug where re_compile printed an error message to the screen
19119304Speter	  when the user entered [ to an incremental search.
19219304Speter	+ Turn off screen beeps when incremental search is failing.
19319304Speter	+ Fix bug where the iclower option didn't trigger an RE recompilation.
19419304Speter	+ Fix bug where -t into an already locked file forced the user to wait
19519304Speter	  as if a startup command had failed.
19619304Speter	+ LynxOS port -- mostly adding <sys/types.h> even though <sys/param.h>
19719304Speter	  was already included.
19819304Speter	+ Fix ex output bug, where it appeared as if an ex command was skipped
19919304Speter	  due to flags not being cleared in the vs_msg() routine.
20019304Speter	+ Fix core dump when global command tried to switch screens.
20119304Speter1.64 -> 1.65 (05/13/96)
20219304Speter	+ Fix cscope <blank>-matching pattern to use extended RE's, and bug
20319304Speter	  that kept cscope from finding patterns containing <blank>s.
20419304Speter	+ Fix core dumps in both leftright and folded screens when tabstops
20519304Speter	  edit option value was large, and tab characters occurred as the last
20619304Speter	  character in the logical screen.
20719304Speter	+ Fix core dump where the second screen of a folded line wasn't
20819304Speter	  displayed correctly.
20919304Speter	+ Fix incremental search to match the current location for strings
21019304Speter	  starting with \< patterns.
21119304Speter	+ Fix bug where margins were ignored during replay of text input.
21219304Speter	+ Fix bug where motion components to shorter lines could lose because
21319304Speter	  the relative motion flags weren't ever set.  This has been broken
21419304Speter	  forever, but the change almost certainly breaks something else -- I
21519304Speter	  have no idea what.
21619304Speter	+ Tags display: don't print the current entry separately, display
21719304Speter	  them all and add a trailing asterisk for the current one.
21819304Speter	+ Change the cscope add command to put the directory name through
21919304Speter	  standard file name expansion.
22019304Speter	+ Fix cscope use of buffers -- search commands weren't nul-terminated.
22119304Speter1.63 -> 1.64 (05/08/96)
22219304Speter	+ Add installation target to the Makefile.
22319304Speter	+ Add documentation on the new tags commands to the Vi Reference
22419304Speter	  Manual.
22519304Speter	+ Make the sidescroll edit option work again.
22619304Speter	+ Fix bug where messages output during startup by ex could be lost.
22719304Speter	+ Change ex/vi commands errors into beeps, unless the verbose edit
22819304Speter	  option is set -- there are too many macros that are expected to
22919304Speter	  eventually fail.  This matches historic practice.
23019304Speter	+ Truncate paths in initial vi screen if they won't fit on one line.
23119304Speter	+ Make cursor position after filter write match historic practice.
23219304Speter	+ Force the user to wait if there is output and the user is leaving
23319304Speter	  the screen for any reason -- don't permit further ex commands.
23419304Speter	+ Don't use a <newline> character to scroll the screen when exiting,
23519304Speter	  scroll in the vi screen before endwin() is called.
23619304Speter	+ Fix bug where the column number could be incorrect because the old
23719304Speter	  screen wasn't updated after a screen split.
23819304Speter	+ Fix ex print routine to correctly specify print flags.
23919304Speter	+ Make -g/-O a separate make/configuration option.
24019304Speter	+ Fix bug where ex/vi messages weren't being joined.
24119304Speter	+ Fix bug where termcap strings were free'd twice.
24219304Speter	+ Fix bug where TI/TE still weren't working -- I didn't put in the
24319304Speter	  translation strings for BSD style curses.
24419304Speter	+ Fix bug where I misspelled the iclower edit option as icloser.
24519304Speter1.62 -> 1.63 (04/29/96)
24619304Speter	+ Robustness and type/lint fixes for the Tcl interface code.
24719304Speter	+ Fix core dump if TERM wasn't set or terminal type was unknown.
24819304Speter	+ Fix bug where combining ex commands that did/did not require an
24919304Speter	  ex screen would overwrite the command with the want-to-continue
25019304Speter	  messsage.
25119304Speter	+ Fix bug where the screen was never resolved if the user continued
25219304Speter	  entering ex commands using the : character, but then backspaced
25319304Speter	  over the prompt to quit or tried to edit their colon command-line
25419304Speter	  history.
25519304Speter	+ Fix bug where cursor wasn't placed over the ^ placeholder character
25619304Speter	  when quoting using the literal-next character.
25719304Speter	+ Fix bug where nvi under BSD style curses wasn't sending TI/TE termcap
25819304Speter	  strings when suspending the process.
25919304Speter	+ Rename mic again, to iclower.
26019304Speter	+ Fix bug where 'z' commands trailing / or ? commands weren't being
26119304Speter	  executed.
26219304Speter	+ Change incremental search to leave the cursor at its last position
26319304Speter	  when searching for something that was never found.
26419304Speter	+ Fix bug where search-with-confirmation from vi mode didn't position
26519304Speter	  the cursor correctly after displaying the confirm message.
26619304Speter	+ Fix bug where the "search wrapped" message was dependent on the
26719304Speter	  verbose edit option, which doesn't match historic practice.  Change
26819304Speter	  search messages to be in inverse video.
26919304Speter	+ Fix bug where matched showmatch character wasn't being displayed
27019304Speter	  before the matching character was displayed.
27119304Speter	+ Another cursor update bug required a change to vs_paint().
27219304Speter	+ Fix bug were initial line offset was wrong for the first split screen
27319304Speter	  (symptom is very strange column numbers and blank first line).
27419304Speter	+ Create filename "argument" lists when creating new screens.
27519304Speter	+ Fix bug where globals with associated commands that included both
27619304Speter	  buffer execution and other commands could fail to execute the latter.
27719304Speter1.61 -> 1.62 (04/22/96)
27819304Speter	+ Rename the "searchci" edit option to be "mic".
27919304Speter	+ Fix memory corruption in global commands ending in searches.
28019304Speter	+ Fix text resolution bug, corrected the cursor based on the
28119304Speter	  first line input, not the last.
28219304Speter	+ Rework the readonly edit option to match historic practice.
28319304Speter	+ Fix several minor incremental search bugs; make incremental
28419304Speter	  searches work in maps.
28519304Speter	+ Fix long-line core dump, where an incorrect screen map could be
28619304Speter	  used.
28719304Speter1.60 -> 1.61 (04/12/96)
28819304Speter	+ The cursor now ends up on the FIRST character of the put text for
28919304Speter	  all versions of the vi put commands, regardless of the source
29019304Speter	  of the text.  This matches System III/V behavior and POSIX 1003.2.
29119304Speter	+ Fixed bug where showmatch messages were getting discarded.
29219304Speter	+ Minor Perl integration fixes.
29319304Speter	+ Integrate Cscope into the tags stack code -- major change.
29419304Speter	+ Fixed bug where ^T would drop core if returning to a temporary file.
29519304Speter	+ Changed vs_ routine to display ex output to replace tab characters
29619304Speter	  with spaces.
29719304Speter	+ Fix autoindent code to not back up past beginning of line when ^T
29819304Speter	  inserted into the middle of a line, i.e. offset != 0.
29919304Speter	+ Fix "notimeout" option, was being ignored, by a coding error.
30019304Speter	+ Fix showmatch code to never flash on a match if keys are waiting.
30119304Speter	+ Change the vi 'D' command to ignore any supplied count, matching
30219304Speter	  historic practice.
30319304Speter	+ Fix viusage for D, S, C and Y (the aliased vi commands).
30419304Speter	+ Fix the Perl5 configuration bug in the configuration script.
30519304Speter	+ Make file completion commands in empty lines work.
30619304Speter	+ Fix where the change to let vi use the default ex command structure
30719304Speter	  broke the ex specification of the script or source file name.
30819304Speter	+ Fix to free saved RE structures when screens exit.  This is a major
30919304Speter	  RE change, which fixed several bugs in the handling of saved/subst
31019304Speter	  RE's.  It's likely to have added new bugs, however.
31119304Speter	+ Add case-independent searching (the searchci edit option).
31219304Speter	+ Add incremental search (the searchincr edit option).
31319304Speter	+ Home the cursor when executing ex commands from vi.
31419304Speter1.59 -> 1.60 (03/29/96)
31519304Speter	+ Fix ":w >>" core dump, make that command match historic practice.
31619304Speter	+ Fix autoindent bug where the length of the line was incorrectly
31719304Speter	  calculated.
31819304Speter	+ Fix cursor bug where cursor could end up at the wrong place if the
31919304Speter	  movement keys were entered quickly enough.
32019304Speter	+ Change the read/write whirling indicator to appear only every 1/4
32119304Speter	  second, clean up the appearance.
32219304Speter	+ Don't change the options real values until underlying functions
32319304Speter	  have returned OK -- fix "set tabstop=0" core dump.
32419304Speter	+ Fix resizing on Sun's: use SA_INTERRUPT to interrupt read calls.
32519304Speter	+ Fix two forward mark command bugs: one where it wasn't setting the
32619304Speter	  "favorite cursor" position because of the refresh optimization,
32719304Speter	  and one where it didn't have VM_RCM_SET set in the command flags
32819304Speter	  for some reason.
32919304Speter	+ Fix a bug were the 's' command on top of a <tab> didn't correctly
33019304Speter	  copy the buffer.
33119304Speter	+ Make :exusage command work for commands having optional leading
33219304Speter	  capital letters, e.g. Next.
33319304Speter	+ Previous changes broke the inital-matching-prefix code in the key
33419304Speter	  mapping part of v_event_get -- fix it, and fix the infinite macro
33519304Speter	  interrupt code at the same time.
33619304Speter	+ Add "cedit" edit option, so colon command-line editing is optional.
33719304Speter	  Change filec/cedit so that you can set them to the same character,
33819304Speter	  and they do cedit if in column 1, and filec otherwise.
33919304Speter	+ Fix "source of non-existent file" core dump.
34019304Speter	+ Fix bug where functions keys specified in startup information were
34119304Speter	  never resolved/activated.
34219304Speter	+ Fix v_txt bug where could infinitely loop if <escape> triggered an
34319304Speter	  abbreviation expansion.
34419304Speter	+ Move version string into VERSION file, out of ex_version.c
34519304Speter1.58 -> 1.59
34619304Speter	+ Configuration changes, several minor bug fixes, including a few
34719304Speter	  core dumps.  No functional changes.
34819304Speter1.57 -> 1.58
34919304Speter	+ Fix the problem where colon command-line temporary files were
35019304Speter	  getting left in /tmp.
35119304Speter	+ Fix the configuration scripts to quit immediately if the Perl
35219304Speter	  or Tk/Tcl libraries are specified but not found.
35319304Speter	+ Several screen fixes -- the changes in 1.57 weren't as safe as
35419304Speter	  I thought.  More specifically, the refresh-only-if-waiting change
35519304Speter	  caused a lot of problems.  In general, fixing them should provide
35619304Speter	  even more speedup, but I'm nervous.
35719304Speter	+ Lots of changes in the configuration scripts, hopefully this is
35819304Speter	  just a first-round ordeal.
35919304Speter	+ Several other minor bug fixes.
36019304Speter1.56 -> 1.57
36119304Speter	+ Add <esc> hook to colon commands, so you can edit colon commands.
36219304Speter	+ Add Perl5 interpreter.
36319304Speter	+ Change shell expansion code to fail if it doesn't read at least
36419304Speter	  one non-blank character from the shell.  If the shell expansion
36519304Speter	  process fails, or if not at least one non-blank character, it
36619304Speter	  now displays an error message to the user.
36719304Speter	+ Rework the screen display so that it matches the historic vi screen
36819304Speter	  refreshes.
36919304Speter	+ Rework options processing: print/noprint are no longer cumulative,
37019304Speter	  provide more information to underlying edit options modules, move
37119304Speter	  O_MESG information into the screen specific code.
37219304Speter	+ Make file completion character settable.
37319304Speter	+ Rework terminal restart -- you can now use ":set term" to switch
37419304Speter	  terminal types.  This cleaned up screen resizing considerably.
37519304Speter	+ Character display fix, display \177 as ^?, not in hex/octal.
37619304Speter	+ Tag search bug fix, don't repeat search if successful.
37719304Speter	+ Replace sys_siglist[] use with private sigmsg() routine.
37819304Speter	+ Fix core dump if illegal screenId specified to Tcl routine.
37919304Speter	+ Add get/set mark interface to Tcl Interpreter interface.
38019304Speter	+ Fix core dump if file expansion code stressed (re: filec edit option)
38119304Speter	+ Fix bug where filter commands in empty files couldn't find line 0.
38219304Speter	+ Switch to GNU autoconf 2.7 for configuration, delete nvi/PORT.
38319304Speter	  Many random portability fixes.
38419304Speter1.55 -> 1.56 (11/26/95)
38519304Speter	+ Bug fix release -- generally available beta release.
38619304Speter1.54 -> 1.55 (11/18/95)
38719304Speter	+ Bug fix release.
38819304Speter	+ Integrate Tcl interpreter.
38919304Speter1.53 -> 1.54 (11/11/95)
39019304Speter	+ Bug fix release.  A major change in reworking the ex commands, when
39119304Speter	  called from the colon command line, to match historic practice, and
39219304Speter	  permit them to be entered repeatedly after ex has trashed the screen.
39319304Speter	+ Use restartable endwin() from System V curses to implement screen
39419304Speter	+ suspend.
39519304Speter1.52 -> 1.53 (10/29/95)
39619304Speter	+ Switch to using vendor's curses library for all ports.
39719304Speter	+ Back out the event driven version, leaving screen separation.
39819304Speter	+ User configuration of <escape> timeout (the escapetime edit option).
39919304Speter	+ Add Tcl/Tk screen support.
40019304Speter	+ Add file name completion (the filec edit option).
40119304Speter	+ Disallow access to outside applications (the secure edit option).
40219304Speter1.51 -> 1.52 (7/26/95)
40319304Speter	+ Minor cleanups, snapshotted for SMI.
40419304Speter1.50 -> 1.51 (7/05/95)
40519304Speter	+ Lots and lots of changes for event driven model, largely in moving
40619304Speter	  the boundary between the screen code and the editor up and down.
40719304Speter	  Private release for Rob Zimmermann @ Tartan and Bill Shannon @ SMI.
40819304Speter1.49 -> 1.50 Fri Jun  9 13:56:17 1995
40919304Speter	+ Minor bug fixes for stability.
41019304Speter	+ Convert to an event driven model, with the usual Nachos Supreme
41119304Speter	  layering that results.  This is a completely new version, nothing
41219304Speter	  done previously matters any more.
41319304Speter1.48 -> 1.49 Wed Mar  8 10:42:17 1995
41419304Speter	+ Changes in 1.46 broke ^A processing.
41519304Speter	+ Add :previous to split screen commands.
41619304Speter	+ Lots o' random bug fixes -- passes purify testing again.
41719304Speter1.47 -> 1.48 Thu Feb  9 18:13:29 1995
41819304Speter	+ Random bug fixes for 1.47.
41919304Speter	+ Move the FREF (file structure) list out of the screen and into
42019304Speter	  the global area.
42119304Speter	+ Change semantics to :E to more closely match :e -- ":E" joins
42219304Speter	  the current file, so ":E /tmp" is now the command to match the
42319304Speter	  historic ":split".
42419304Speter1.46 -> 1.47 Wed Feb  8 19:43:41 1995
42519304Speter	+ All ex commands (including visual and excluding global and v)
42619304Speter	  are now supported inside ex global commands.
42719304Speter	+ Rework the append/change/insert commands to match historic
42819304Speter	  practice for text appended to the ex command line, and inside
42919304Speter	  of ex global commands.
43019304Speter	+ Restructure to make single-line screens work.
43119304Speter	+ Restructure to create curses independent screen routines.
43219304Speter	+ Restructure to permit Edit, Next, and Tag routines to create new
43319304Speter	  screens on the fly.
43419304Speter	+ Change hexadecimal output to be \x## instead of 0x##.
43519304Speter	+ Change ex commands run from vi to stay in vi mode for as long as
43619304Speter	  possible, i.e. until ex modifies the screen outside of the editor.
43719304Speter1.45 -> 1.46 Tue Jan 24 10:22:27 1995
43819304Speter	+ Restructure to build as a library.
43919304Speter1.44 -> 1.45 Thu Jan 12 21:33:06 1995
44019304Speter	+ Fix relative cursor motion to handle folded lines.
44119304Speter	+ Recompile the search pattern if applicable edit options change.
44219304Speter	+ Change +/-c command ordering to match historic practice.
44319304Speter	+ Rework autoindent code to always resolve preceeding <blank>
44419304Speter	  characters when a ^T or ^D are entered.
44519304Speter	+ Add the print/noprint edit options, so can now specify if
44619304Speter	  a character is printable.
44719304Speter	+ Change ex to run in canonical mode.
44819304Speter	+ Fix ex text input to support the number edit option.
44919304Speter	+ Vi text input fix for the R command to correctly restore
45019304Speter	  characters entered and then backspaced over.
45119304Speter	+ Several vi increment command fixes.
45219304Speter1.43 -> 1.44
45319304Speter	+ Bug fix, vi was printing the last line number on the status line
45419304Speter	  at startup.  Change to execute commands at first line set, i.e.
45519304Speter	  "vi -t tag -c cmd" executes cmd at the tag line, not EOF.
45619304Speter1.42 -> 1.43 Sat Dec  3 13:11:32 1994
45719304Speter	+ Marks, SunOS signed comparison fix for 1.42.
45819304Speter1.41 -> 1.42 Fri Dec  2 20:08:16 1994
45919304Speter	+ Make autowrite require the file not be read-only.
46019304Speter	+ Make the ex insert command work in empty files.
46119304Speter	+ Tab expansion is no longer limited to values < 20 (which matches
46219304Speter	  historical practice).
46319304Speter	+ Simplify (and fix limit detection for) the # command.  It's no
46419304Speter	  longer possible to use the # command itself to repeat or modify
46519304Speter	  a previous # command, '.' is the only possibility.
46619304Speter	+ Lots more reworking of the ex addresses, putting ? and / into
46719304Speter	  the ex addressing code broke the world.
46819304Speter	+ Make the Put, Preserve and Print commands work (don't ask).
46919304Speter	+ Split stdout/stderr from shell expansions; stdout is expansion
47019304Speter	  text, stderr is entered on the message queue.
47119304Speter1.40 -> 1.41 Fri Nov 18 16:13:52 1994
47219304Speter	+ Addition of a port for AUX 3.1
47319304Speter	+ Addition of a message catalog for Russian.
47419304Speter	+ Make vi ? and / commands be true ex addresses (historic practice).
47519304Speter	+ Display the date first in vi -r recovery list.
47619304Speter1.39 -> 1.40 Mon Nov 14 10:46:56 1994
47719304Speter	+ Two bug fixes for 1.39; -r option and v_change core dump.
47819304Speter1.38 -> 1.39 Sun Nov 13 18:04:08 1994
47919304Speter	+ Ex substitution with confirmation now matches historic practice
48019304Speter	  (except that it still runs in raw mode, not cooked).
48119304Speter	+ Nvi now clears the screen before painting, if repainting the
48219304Speter	  entire screen.
48319304Speter	+ Fix final cursor position for put command entering text in a
48419304Speter	  single line.
48519304Speter	+ Change to break error message lines on the last <blank> in the
48619304Speter	  line.
48719304Speter	+ Always center the current line when returning to a previously
48819304Speter	  edited file or moving to a tag line that's not visible on the
48919304Speter	  screen.
49019304Speter	+ Change write of the current file using an explicit name or % to
49119304Speter	  match the semantics of :w<CR>, not :w file<CR>.
49219304Speter	+ Add command aliases to vi, and remap 6 historic commands to their
49319304Speter	  historic counterparts: D->d$, Y->y_, S->c_, C->c$, A->$a, I->^i.
49419304Speter	+ Match option display to historic practice; if boolean or numeric
49519304Speter	  options changed to default values, not displayed by default.
49619304Speter	  Nvi treats string options the same way, vi always displayed any
49719304Speter	  string option that was changed.
49819304Speter	+ Added lock edit option, if not set, no file locking is done.
49919304Speter	+ Rework ex to permit any ex command in the EXINIT variable or
50019304Speter	  exrc startup files.  This fixes the bug were `vi +100 file'
50119304Speter	  painted the screen and then moved to line 100 and repainted.
50219304Speter	  (Yanked to SCCS ID 9.1.)
50319304Speter	+ Bug fix: could report file modified more recently than it was
50419304Speter	  written, incorrectly.
50519304Speter	+ Search fix: historically, motions with deltas were not corrected
50619304Speter	  to the previous/next line based on the starting/stopping column.
50719304Speter	+ Addressing fixes: make trailing non-existent addresses work, change
50819304Speter	  % to be text substitution, not a unique address (to follow future
50919304Speter	  POSIX).
51019304Speter1.37 -> 1.38 Mon Oct 24 12:51:58 1994
51119304Speter	+ Scrolling fix; ^B can move to nonexistent lines.
51219304Speter	+ Fix to vi mapped commands; <escape> characters while already in
51319304Speter	  command mode did not historically cause the mapped characters to
51419304Speter	  be flushed.
51519304Speter	+ Add the backup edit option, automatically version edit files.
51619304Speter	+ Make it possible to edit files that db can't read, i.e. edit a
51719304Speter	  temporary file, with the correct file name.
51819304Speter	+ Only anchor the last line of the file to the bottom line of the
51919304Speter	  screen if there's half or less of a screen between the target
52019304Speter	  line and the end of the file.
52119304Speter	+ Fix wrapmargin text allocation bug.
52219304Speter	+ Fix ex put command to work in any empty file.
52319304Speter	+ Fix global command to handle move's to line 0 correctly.
52419304Speter	+ Regularize the yank cursor motions, several bug fixes for historic
52519304Speter	  practice.
52619304Speter	+ Fix N and n, when used as a motion command for the ! command,
52719304Speter	  repeat the last bang command instead of prompting for a new
52819304Speter	  one.
52919304Speter	+ Timeout maps beginning with <escape> quickly, instead of based
53019304Speter	  on the keytime option.
53119304Speter	+ Bug fix for wraplen option, wasn't triggered for input commands.
53219304Speter1.36 -> 1.37 Sun Oct  9 19:02:53 1994
53319304Speter	+ Change PORT directories to install patches before distribution.
53419304Speter	+ Fix ^A to set search direction and pattern for consistency.
53519304Speter	+ Fold the showdirty option into the showmode option.
53619304Speter	+ Ex addressing fix: change search offset and line arguments (e.g.
53719304Speter	  the copy command) to be ex addressing offsets, matching historic
53819304Speter	  practice.
53919304Speter	+ Ex addressing fix: support ^ as an offset/flag equivalent to -.
54019304Speter	+ Ex addressing fix: historically, any missing address defaulted to
54119304Speter	  dot, e.g. "4,,," was the same as ".,.".
54219304Speter	+ Ex addressing fix: historically, <blank> separated numbers were
54319304Speter	  additive, e.g. "3 5p" displayed line 8.
54419304Speter	+ Ex addressing fix: make ';' as a range delimiter match historic
54519304Speter	  practice.
54619304Speter	+ Change nvi to exit immediately if stdout isn't a terminal.
54719304Speter	+ Change alternate file name behavior to match historic practice,
54819304Speter	  make the :write command set the current file name.
54919304Speter	+ Text input fix; input keys from a map, with an associated count,
55019304Speter	  weren't historically affected by the wrapmargin value.
55119304Speter	+ Add wraplen option, same as wrapmargin, but from the left-hand
55219304Speter	  column, not the right.
55319304Speter	+ Make ex address .<number> be equivalent to .+<number>, i.e. the
55419304Speter	  '+' is understood; matches historic practice, and it's widely
55519304Speter	  documented for ed(1).
55619304Speter	+ Input mode ^V^J historically mapped into a single ^J.
55719304Speter	+ Minor catalog changes, fixes; don't use 's' to pluralize words.
55819304Speter1.35 -> 1.36 Thu Sep  8 08:40:25 1994
55919304Speter	+ Don't overwrite user's maps with standard (termcap) mappings.
56019304Speter	+ Make \ escape kill and erase characters in vi text input mode.
56119304Speter	+ Fix ^D autoindent bug by resolving leading <blank>s at ^D.
56219304Speter	+ Rework abbreviation tests (again!) to match historic practice.
56319304Speter	+ Change ^D/^U default scrolling value to be based on window option
56419304Speter	  value, not screen lines, correct scrolling option value, both to
56519304Speter	  match historic practice.  NOTE: System V does this differently!
56619304Speter1.34 -> 1.35 Wed Aug 31 19:20:15 1994
56719304Speter	+ Add the historic -l option.
56819304Speter	+ Message catalogs.
56919304Speter	+ Display global messages at each flush, just in case some are there.
57019304Speter	+ Fix global substitute code, `\\' wasn't handled correctly.
57119304Speter	+ Fix abbreviation code to use <blank>s as the preceding character.
57219304Speter	+ Fix ruler to display logical column, not physical column.
57319304Speter	+ Block signals when user issues :preserve command, so no race caused
57419304Speter	  by SIGHUP/SIGTERM.
57519304Speter1.33 -> 1.34 Wed Aug 17 14:37:32 1994 (PUBLICLY AVAILABLE VERSION)
57619304Speter	+ Back out sccsid string fix, it won't work on SunOS 4.1.
57719304Speter1.32 -> 1.33 Wed Aug 17 09:31:41 1994 (PUBLICLY AVAILABLE VERSION)
57819304Speter	+ Get back 5K of data space for the sccsid strings.
57919304Speter	+ Fix bug where cG fix in version 1.31 broke cw cursor positioning
58019304Speter	  when the change command extended the line.
58119304Speter	+ Fix core dump in map/seq code if character larger than 7 bits.
58219304Speter	+ Block signals when manipulating the SCR chains.
58319304Speter	+ Fix memory allocation for machines with multiple pointer sizes.
58419304Speter1.31 -> 1.32 Mon Aug 15 14:27:49 1994
58519304Speter	+ Turn off recno mmap call for Solaris 2.4/SunOS 5.4.
58619304Speter1.30 -> 1.31 Sun Aug 14 13:13:35 1994
58719304Speter	+ Fix bug were cG on the last line of a file wasn't done in line mode,
58819304Speter	  and where the cursor wasn't positioned correctly after exiting text
58919304Speter	  insert mode.
59019304Speter	+ Add termcap workaround to make function keys greater than 9 work
59119304Speter	  correctly (or fail if old-style termcap support).
59219304Speter	+ Change ex/vi to not flush mapped keys on error -- this is historic
59319304Speter	  practice, and people depended on it.
59419304Speter	+ Rework vi parser so that no command including a mapped key ever
59519304Speter	  becomes the '.' command, matching historic practice.
59619304Speter	+ Make <escape> cancellation in the vi parser match POSIX 1003.2.
59719304Speter	+ Fix curses bug where standout string was written for each standout
59819304Speter	  character, and where standout mode was never exited explicitly.
59919304Speter	  Fix bugs in curses SF/sf and SR/sr scrolling, as seen on Sun and
60019304Speter	  x86 consoles.
60119304Speter	+ The v/global commands execute the print command by default.
60219304Speter	+ The number option historically applies to ex as well as vi.
60319304Speter1.29 -> 1.30 Mon Aug  8 10:30:42 1994
60419304Speter	+ Make first read into a temporary set the file's name.
60519304Speter	+ Permit any key to continue scrolling or ex commands -- this
60619304Speter	  allows stacked colon commands, and matches historic practice.
60719304Speter	+ Don't output normal ! command commentary in ex silent mode.
60819304Speter	+ Allow +/- flags after substitute commands, make line (flag)
60919304Speter	  offsets from vi mode match historic practice.
61019304Speter	+ Return <eof> to ex immediately, even if preceded by spaces.  Rework
61119304Speter	  ex parser to do erase the prompt instead of depending on the print
61219304Speter	  routines to do it.  Minor fixes to the ex parser for display of
61319304Speter	  default and scrolling commands.  MORE EX PARSER CHANGES.
61419304Speter1.28 -> 1.29 Fri Aug  5 10:18:07 1994
61519304Speter	+ Make the abbreviated ex delete command work (:dele---###lll for
61619304Speter	  example, is historically legal.
61719304Speter	+ When autoprint fires, multiple flags may be set, use ex_print
61819304Speter	  directly instead of the stub routines.
61919304Speter	+ Change v/global commands to turn off autoprint while running.
62019304Speter	+ Minor changes to make the ! command display match historic output.
62119304Speter	+ Rework the ex parser to permit multiple command separators without
62219304Speter	  commands -- MAJOR CHANGE, likely to introduce all sorts of new bugs.
62319304Speter	+ Fix cd command to expand argument in the context of each element
62419304Speter	  of the cdpath option, make relative paths always relative to the
62519304Speter	  current directory.
62619304Speter	+ Rework write/quit cases for temporary files, so that user's don't
62719304Speter	  discard them accidentally.
62819304Speter	+ Check for window size changes when continuing after a suspend.
62919304Speter	+ Fix memory problem in svi_screen, used free'd memory.
63019304Speter	+ Change the ex change, insert, append commands to match historic
63119304Speter	  cursor positions if no data entered by the user.
63219304Speter	+ Change ex format flags (#, l, p) to affect future commands, not
63319304Speter	  just the current one, to match historic practice.
63419304Speter	+ Make the user's EOF character an additional scroll character in ex.
63519304Speter	+ Fix ex ^D scrolling to be the value of the scroll option, not half
63619304Speter	  the screen.
63719304Speter	+ Fix buffer execution to match historic practice -- bugs where the
63819304Speter	  '*' command didn't work, and @<carriage-return> didn't work.
63919304Speter	+ Fix doubled reporting of deleted lines in filters.
64019304Speter	+ Rework the % ` / ? ( ) N n { and ^A commands to always cut into
64119304Speter	  numeric buffers regardless of the location or length of the cut.
64219304Speter	  This matches historic practice.
64319304Speter	+ Fix the { command to check the current line if the cursor doesn't
64419304Speter	  start on the first character of the line.
64519304Speter	+ Do '!' expansion in the ex read command arguments, it's historic
64619304Speter	  practice.  In addition, it sets the last '!' command.
64719304Speter1.27 -> 1.28 Wed Jul 27 21:29:18 1994
64819304Speter	+ Add support for scrolling using the CS and SF/sf/SR/sr termcap
64919304Speter	  strings to the 4BSD curses.
65019304Speter	+ Rework of getkey() introduced a bug where command interrupt put
65119304Speter	  nvi into an infinite loop.
65219304Speter	+ Piping through a filter historically cut the replaced lines into
65319304Speter	  the default buffer, although not the numeric ones.
65419304Speter	+ Read of a filter and !! historically moved to the first nonblank
65519304Speter	  of the resulting cursor line (most of the time).
65619304Speter	+ Rework cursor motion flags, to support '!' as a motion command.
65719304Speter1.26 -> 1.27 Tue Jul 26 10:27:58 1994
65819304Speter	+ Add the meta option, to specify characters the shell will expand.
65919304Speter	+ Fix the read command to match historic practice, the white space
66019304Speter	  and bang characters weren't getting parsed correctly.
66119304Speter	+ Change SIGALRM handler to save and restore errno.
66219304Speter	+ Change SunOS include/compat.h to include <vfork.h> so that the
66319304Speter	  ex/filter.c code works again.
66419304Speter	+ Don't put lines deleted by the ex delete command into the numeric
66519304Speter	  buffers, matching historic practice.
66619304Speter	+ Fix; if appending to a buffer, default buffer historically only
66719304Speter	  references the appended text, not the resulting text.
66819304Speter	+ Support multiple, semi-colon separated search strings, and 'z'
66919304Speter	  commands after search strings.
67019304Speter	+ Make previous context mark setting match historic practice (see
67119304Speter	  docs/internals/context).
67219304Speter	+ Fix the set command to permit whitespace between the option and
67319304Speter	  the question mark, fix question marks in general.
67419304Speter	+ Fix bug where ex error messages could be accidentally preceded
67519304Speter	  by a single space.
67619304Speter	+ Fix bug where curses reorganization could lose screen specific
67719304Speter	  mappings as soon as any screen exited.
67819304Speter	+ Fix bug in paragraph code where invalid macros could be matched.
67919304Speter	  Make paragraph motions stop at formfeed (^L) characters.
68019304Speter	+ Change 'c' to match historic practice, it cut text into numeric
68119304Speter	  buffers.
68219304Speter1.25 -> 1.26 Tue Jul 19 17:46:24 1994
68319304Speter	+ Ignore SIGWINCH if the screen size is unchanged; SunOS systems
68419304Speter	  deliver one when a screen is uncovered.
68519304Speter	+ Fix: don't permit a command with a motion component to wrap due
68619304Speter	  to wrapscan and return to the original cursor position.
68719304Speter	+ Fix: ^E wasn't beeping when reaching the bottom of the file.
68819304Speter	+ Fix bg/fg bug where tmp file exiting caused a NULL dereference.
68919304Speter	+ Rework file locking code to use fcntl(2) explicitly.
69019304Speter	+ Fix bug in section code where invalid macros could be matched.
69119304Speter	+ Fix bug where line number reset by vi's Q command.
69219304Speter	+ Add explicit character mode designation to character mode buffers.
69319304Speter	+ Add <sys/ioctl.h> include to sex/sex_window.c, needed by NET/2
69419304Speter	  vintage systems.
69519304Speter	+ Change to always flush a character during suspend, 4BSD curses
69619304Speter	  has the optimization where it doesn't flush after a standend().
69719304Speter	+ Fix bug on OSF1 where <curses.h> changes the values of VERASE,
69819304Speter	  VKILL and VWERASE to incorrect ones.
69919304Speter	+ Fix bug where optarg used incorrectly in main.c.
70019304Speter	+ Block all signals when acting on a signal delivery.
70119304Speter	+ Fix recovery bug where RCV_EMAIL could fire even if there wasn't
70219304Speter	  a backing file; format recovery message.
70319304Speter1.24 -> 1.25 Sun Jul 17 14:33:38 1994
70419304Speter	+ Stop allowing keyboard suspends (^Z) in insert mode, it's hard
70519304Speter	  to get autowrite correct, and it's not historic practice.
70619304Speter	+ Fix z^, z+ to match historic practice.
70719304Speter	+ Bug in message handling, "vi +35 non-existent_file" lost the
70819304Speter	  status message because the "+35" pushed onto the stack erased
70919304Speter	  it.  For now, change so that messages aren't displayed if there
71019304Speter	  are keys waiting -- may need to add a "don't-erase" bit to the
71119304Speter	  character in the stack instead.
71219304Speter	+ Bug in svi_msgflush(), where error messages could come out in
71319304Speter	  normal video.
71419304Speter1.23 -> 1.24 Sat Jul 16 18:30:18 1994
71519304Speter	+ Fix core dump in exf.c, where editing a non-existent file and
71619304Speter	  exiting could cause already free'd memory to be free'd.
71719304Speter	+ Clean up numerous memory errors, courtesy of Purify.
71819304Speter	+ Change process wait code to fail if wait fails, and not attempt
71919304Speter	  to interpret the wait return information.
72019304Speter	+ Open recovery and DB files for writing as well as reading, System
72119304Speter	  V (fcntl) won't let you acquire LOCK_EX locks otherwise.
72219304Speter	+ Fix substitute bug where could malloc 0 bytes (AIX breaks).
72319304Speter	+ Permit the mapping of <carriage-return>, it's historic practice.
72419304Speter	+ Historic vi didn't eat <blank> characters before the force
72519304Speter	  flag, match historic practice.
72619304Speter	+ Bug in ex argument parsing, corrected for literal characters
72719304Speter	  twice.
72819304Speter	+ Delete screen specific maps when the screen closes.
72919304Speter	+ Move to the first non-<blank> in the line on startup; historic
73019304Speter	  practice.
73119304Speter	+ Change the ex visual command to move directly to a line if no
73219304Speter	  trailing 'z' command.
73319304Speter	+ Fix "[[" and "]]" to match historic practice (yet again...).
73419304Speter	+ Fix "yb" and "y{" commands to update the cursor correctly.
73519304Speter	+ Change "~<motion>" to match the yank cursor movement semantics
73619304Speter	  exactly.
73719304Speter	+ Move all of the curses related code into sex/svi -- major rework,
73819304Speter	  but should help in future ports.
73919304Speter	+ Fix bug in split code caused by new file naming code, where would
74019304Speter	  drop core when a split screen exited.
74119304Speter	+ Change svi_ex_write to do character display translation, so that
74219304Speter	  messages with file names in them are displayed correctly.
74319304Speter	+ Display the file name on split screens instead of a divider line.
74419304Speter	+ Fix move bug, wasn't copying lines before putting them.
74519304Speter	+ Fix bug were :n dropped core if no arguments supplied.
74619304Speter	+ Don't quote characters in executed buffer: "ifoo<esc>" should leave
74719304Speter	  insert mode after the buffer is executed.
74819304Speter	+ Tagpop and tagpush should set the absolute mark in case only moving
74919304Speter	  within a file.
75019304Speter	+ Skip leading whitespace characters before tags and cursor word
75119304Speter	  searches.
75219304Speter	+ Fix bug in ex_global where re_conv() was allocating the temporary
75319304Speter	  buffer and not freeing it.
75419304Speter1.22 -> 1.23: Wed Jun 29 19:22:33 1994
75519304Speter	+ New <sys/cdefs.h> required "inline" to change to "__inline"
75619304Speter	+ Fix System V curses code for new ^Z support.
75719304Speter	+ Fix off-by-one in the move code, avoid ":1,$mo$" with only one
75819304Speter	  line in the buffer.
75919304Speter	+ Line orientation of motion commands was remembered too long,
76019304Speter	  i.e.  '.' command could be incorrectly marked as line oriented.
76119304Speter	+ Move file modification time into EXF, so it's shared across
76219304Speter	  split screens.
76319304Speter	+ Put the prev[ious] command back in, people complained.
76419304Speter	+ Random fixes to next/prev semantics changed in 1.22.
76519304Speter	+ Historically vi doesn't only move to the last address if there's
76619304Speter	  ANYTHING after the addresses, e.g. ":3" moves to line 3, ":3|"
76719304Speter	  prints line 3.
76819304Speter1.21 -> 1.22: Mon Jun 27 11:01:41 1994
76919304Speter	+ Make the line between split screens inverse video again.
77019304Speter	+ Delete the prev[ious] command, it's not useful enough to keep.
77119304Speter	+ Rework :args/file name handling from scratch -- MAJOR CHANGE,
77219304Speter	  likely to introduce all sorts of new bugs.
77319304Speter	+ Fix RE bug where no subexpressions in the pattern but there were
77419304Speter	  subexpressions referenced in the replacement, e.g. "s/XXX/\1/g".
77519304Speter	+ Change recovery to not leave unmodified files around after a
77619304Speter	  crash, by using the owner 'x' bit on unmodified backup files.
77719304Speter	  MAJOR CHANGE, the system recovery script has to change!
77819304Speter	+ Change -r option to delete recovery.* files that reference non-
77919304Speter	  existent vi.* files.
78019304Speter	+ Rework recovery locking so that fcntl(2) locking will work.
78119304Speter	+ Fix append (upper-case) buffers, broken by cut fixes.
78219304Speter	+ Fix | to not set the absolute motion mark.
78319304Speter	+ Read $HOME/.exrc file on startup if the effective user ID is
78419304Speter	  root.  This makes running vi while su(1)'d work correctly.
78519304Speter	+ Use the full pathname of the file as the recovery name, not
78619304Speter	  just the last component.  Matches historic practice.
78719304Speter	+ Keep marks in empty files from being destroyed.
78819304Speter	+ Block all caught signals before calling the DB routines.
78919304Speter	+ Make the line change report match historic practice (yanked
79019304Speter	  lines were different than everything else).
79119304Speter	+ Add section on multiple screens to the reference manual.
79219304Speter	+ Display all messages at once, combine onto a single line if
79319304Speter	  possible.  Delete the trailing period from all messages.
79419304Speter1.20 -> 1.21: Thu May 19 12:21:58 1994
79519304Speter	+ Delete the -l flag from the recover mail.
79619304Speter	+ Send the user email if ex command :preserve executed, this matches
79719304Speter	  historic practice.  Lots of changes to the preserve and recovery
79819304Speter	  code, change preserve to snapshot files (again, historic practice).
79919304Speter	+ Make buffers match historic practice: "add logically stores text
80019304Speter	  into buffer a, buffer 1, and the unnamed buffer.
80119304Speter	+ Print <tab> characters as ^I on the colon command line if the
80219304Speter	  list option set.
80319304Speter	+ Adjust ^F and ^B scroll values in the presence of split screens
80419304Speter	  and small windows.
80519304Speter	+ Break msg* routines out from util.c into msg.c, start thinking
80619304Speter	  about message catalogs.
80719304Speter	+ Add tildeop set option, based on stevie's option of the same name.
80819304Speter	  Changes  the ~ command into "[count] ~ motion", i.e. ~ takes a
80919304Speter	  trailing motion.
81019304Speter	+ Chose NOT to match historic practice on cursor positioning after
81119304Speter	  consecutive undo commands on a single line; see vi/v_undo.c for
81219304Speter	  the comment.
81319304Speter	+ Add a one line cache so that multiple changes to the same line
81419304Speter	  are only counted once (e.g. "dl35p" changes one line, not 35).
81519304Speter	+ Rework signals some more.  Block file sync signals in vi routines
81619304Speter	  that interface to DB, so can sync the files at interrupt time.
81719304Speter	  Write up all of the signal handling arguments, see signal.c.
81819304Speter1.19 -> 1.20: Thu May  5 19:24:57 1994
81919304Speter	+ Return ^Z to synchronous handling.  See the dicussion in signal.c
82019304Speter	  and svi_screen.c:svi_curses_init().
82119304Speter	+ Fix bug where line change report was wrong in util.c:msg_rpt().
82219304Speter1.18 -> 1.19: Thu May  5 12:59:51 1994
82319304Speter	+ Block DSUSP so that ^Y isn't delivered at SIGTSTP.
82419304Speter	+ Fix bug -- put into an empty file leaves the cursor at 1,0,
82519304Speter	  not the first nonblank.
82619304Speter	+ Fix bug were number of lines reported for the 'P' command was
82719304Speter	  off-by-one.
82819304Speter	+ Fix bug were 0^D wasn't being handled correctly.
82919304Speter	+ Delete remnants of ^Z as a raw character.
83019304Speter	+ Fix bug where if a map was an entire colon command, it may never
83119304Speter	  have been displayed.
83219304Speter	+ Final cursor position fixes for the vi T and t commands.
83319304Speter	+ The ex :next command took an optional ex command as it's first
83419304Speter	  argument similar to the :edit commands.  Match historic practice.
83519304Speter1.17 -> 1.18: Wed May  4 13:57:10 1994
83619304Speter	+ Rework curses information in the PORT/Makefile's.
83719304Speter	+ Minor fixes to ^Z asynchronous code.
83819304Speter1.16 -> 1.17: Wed May  4 11:15:56 1994
83919304Speter	+ Make ex comment handling match historic practice.
84019304Speter	+ Make ^Z work asynchronously, we can no longer use the SIGTSTP
84119304Speter	  handler in the curses library.
84219304Speter1.15 -> 1.16: Mon May  2 19:42:07 1994
84319304Speter	+ Make the 'p' and 'P' commands support counts, i.e. "Y10p" works.
84419304Speter	+ Make characters that map to themselves as the first part of the
84519304Speter	  mapping work, it's historic practice.
84619304Speter	+ Fix bug where "s/./\& /" discarded the space in the replacement
84719304Speter	  string.
84819304Speter	+ Add support for up/down cursor arrows in text input mode, rework
84919304Speter	  left/right support to match industry practice.
85019304Speter	+ Fix bug were enough character remapping could corrupt memory.
85119304Speter	+ Delete O_REMAPMAX in favor of setting interrupts after N mapped
85219304Speter	  characters without a read, delete the map counter per character.
85319304Speter	  MAJOR CHANGE.  All of the interrupt signal handling has been
85419304Speter	  reworked so that interrupts are always turned on instead of
85519304Speter	  being turned on periodically, when an interruptible operation is
85619304Speter	  pending.
85719304Speter	+ Fix bug where vi wait() was interrupted by the recovery alarm.
85819304Speter	+ Make +cmd's and initial commands execute with the current line
85919304Speter	  set to the last line of the file.  This is historic practice.
86019304Speter	+ Change "lock failed" error message to a file status message.
86119304Speter	  It always fails over NFS, and making all NFS files readonly
86219304Speter	  isn't going to fly.
86319304Speter	+ Use the historic line number format, but check for overflow.
86419304Speter	+ Fix bug where vi command parser ignored buffers specified as
86519304Speter	  part of the motion command.
86619304Speter	+ Make [@*]buffer commands on character mode buffers match historic
86719304Speter	  practice.
86819304Speter	+ Fix bug where the cmap/chf entries of the tty structure weren't
86919304Speter	  being cleared when new characters were read.
87019304Speter	+ Fix bug where the default command motion flags were being set
87119304Speter	  when the command was a motion component.
87219304Speter	+ Fix wrapmargin bug; if appending characters, and wrapmargin breaks
87319304Speter	  the line, an additional space is eaten.
87419304Speter1.14 -> 1.15: Fri Apr 29 07:44:57 1994
87519304Speter	+ Make the ex delete command work in any empty file.
87619304Speter	+ Fix bug where 't' command placed the cursor on the character
87719304Speter	  instead of to its left.
87819304Speter	+ ^D and ^U didn't set the scroll option value historically.
87919304Speter	  Note, this change means that any user set value (e.g. 15^D)
88019304Speter	  will be lost when splitting the screen, since the split code
88119304Speter	  now resets the scroll value regardless.
88219304Speter	+ Fix the ( command to set the absolute movement mark.
88319304Speter	+ Only use TIOCGWINSZ for window information if SIGWINCH signal
88419304Speter	  caught.
88519304Speter	+ Delete the -l flag, and make -r work for multiple arguments.
88619304Speter	  Add the ex "recover[!] file" command.
88719304Speter	+ Switch into ex terminal mode and use the sex routines when
88819304Speter	  append/change/insert called from vi mode.
88919304Speter	+ Make ^F and ^B match historic practice.  This required a fairly
89019304Speter	  extensive rework of the svi scrolling code.
89119304Speter	+ Cursor positioning in H, M, L, G (first non-blank for 1G) wasn't
89219304Speter	  being done correctly.  Delete the SETLFNB flag.  H, M, and L stay
89319304Speter	  logical movements (SETNNB) and G always moves to the first nonblank.
89419304Speter	+ System V uses "lines" and "cols", not "li" and "co", change as
89519304Speter	  necessary.  Check termcap function returns for errors.
89619304Speter	+ Fix `<character> command to do start/end of line correction,
89719304Speter	  and to set line mode if starting and stopping at column 0.
89819304Speter	+ Fix bug in delete code where dropped core if deleted in character
89919304Speter	  mode to an empty line.  (Rework the delete code for efficiency.)
90019304Speter	+ Give up on SunOS 4.1.X, and use "cc" instead of /usr/5bin/cc.
90119304Speter	+ Protect ex_getline routine from interrupted system calls (if
90219304Speter	  possible, set SA_RESTART on SIGALRM, too).
90319304Speter	+ Fix leftright scrolling bug, when moving to a shorter line.
90419304Speter	+ Do validity checking on the copy, move, t command target line
90519304Speter	  numbers.
90619304Speter	+ Change for System V % pattern broke trailing flags for empty
90719304Speter	  replacement strings.
90819304Speter	+ Fix bug when RCM flags retained in the saved dot structure.
90919304Speter	+ Make the ex '=' command work for empty files.
91019304Speter	+ Fix bug where special_key array was being free'd (it's no longer
91119304Speter	  allocated).
91219304Speter	+ Matches cut in line mode only if the starting cursor is at or
91319304Speter	  before the first nonblank in its line, and the ending cursor is
91419304Speter	  at or after the last nonblank in its line.
91519304Speter	+ Add the :wn command, so you can write a file and switch to a new
91619304Speter	  file in one command.
91719304Speter	+ Allow only a single key as an argument to :viusage.
91819304Speter	+ New movement code broke filter/paragraph operations in empty
91919304Speter	  files ("!}date" in an empty file was dropping core).
92019304Speter1.12 -> 1.14: Mon Apr 18 11:05:10 1994 (PUBLICLY AVAILABLE VERSION, 4.4BSD)
92119304Speter	+ Fix FILE structure leakage in the ex filter code.
92219304Speter	+ Rework suspend code for System V curses.  Nvi has to do the
92319304Speter	  the work, there's no way to get curses to do it right.
92419304Speter	+ Revert SunOS 4.1.X ports to the distributed curses.  There's
92519304Speter	  a bug in Sun's implementation that we can't live with.
92619304Speter	+ Quit immediately if row/column values are unreasonable.
92719304Speter	+ Fix the function keys to match vi historic behavior.
92819304Speter	+ Replace the echo/awk magic in the Makefile's with awk scripts.
92919304Speter1.11 -> 1.12: Thu Apr 14 11:10:19 1994
93019304Speter	+ Fix bug where only the first vi key was checked for validity.
93119304Speter	+ Make 'R' continue to overwrite after a <carriage-return>.
93219304Speter	+ Only display the "no recovery" message once.
93319304Speter	+ Rework line backup code to restore the line to its previous
93419304Speter	  condition.
93519304Speter	+ Don't permit :q in a .exrc file or EXINIT variable.
93619304Speter	+ Fix wrapscan option bug where forward searches become backward
93719304Speter	  searches and do cursor correction accordingly.
93819304Speter	+ Change "dd" to move the cursor to the first non-blank on the line.
93919304Speter	+ Delete cursor attraction to the first non-blank, change non-blank
94019304Speter	  motions to set the most attractive cursor position instead.
94119304Speter	+ Fix 'r' substitute option to set the RE to the last RE, not the
94219304Speter	  last substitute RE.
94319304Speter	+ Fix 'c' and 'g' substitute options to always toggle, and fix
94419304Speter	  edcompatible option to not reset them.
94519304Speter	+ Display ex error messages in inverse video.
94619304Speter	+ Fix errorbells option to match historic practice.
94719304Speter	+ Delete fixed character display table in favor of table built based
94819304Speter	  on the current locale.
94919304Speter	+ Add ":set octal" option, that displays unknown characters as octal
95019304Speter	  values instead of the default hexadecimal.
95119304Speter	+ Make all command and text input modes interruptible.
95219304Speter	+ Fix ex input mode to display error messages immediately, instead
95319304Speter	  of waiting for the lines to be resolved.
95419304Speter	+ Fix bug where vi calling append could overwrite the command.
95519304Speter	+ Fix off-by-one in the ex print routine tab code.
95619304Speter	+ Fix incorrect ^D test in vi text input routines.
95719304Speter	+ Add autoindent support for ex text insert routines.
95819304Speter	+ Add System V substitute command replacement pattern semantics,
95919304Speter	  where '%' means the last replacement pattern.
96019304Speter	+ Fix bug that \ didn't escape newlines in ex commands.
96119304Speter	+ Regularize the names of special characters to CH_*.
96219304Speter	+ Change hex insert character from ^Vx<hex_char> to ^X<hex_char>
96319304Speter	+ Integrate System V style curses, so SunOS and Solaris ports can
96419304Speter	  use the native curses implementation.
96519304Speter1.10 -> 1.11: Thu Mar 24 16:07:45 EST 1994 (PUBLICLY AVAILABLE VERSION)
96619304Speter	+ Change H, M, and L to set the absolute mark, historical practice.
96719304Speter	+ Fix bug in stepping through multiple tags files.
96819304Speter	+ Add "remapmax" option that turns off map counts so you can remap
96919304Speter	  infinitely.  If it's off, term_key() can be interrupted from the
97019304Speter	  keyboard, which will cause the buffers to flush.  I also dropped
97119304Speter	  the default max number of remaps to 50.  (Only Dave Hitz's TM
97219304Speter	  macros and maze appear to go over that limit.)
97319304Speter	+ Change :mkexrc to not dump w{300,1200,9600}, lisp options.
97419304Speter	+ Fix backward search within a line bug.
97519304Speter	+ Change all the includes of "pathnames.h" to use <>'s so that the
97619304Speter	  PORT versions can use -I. to replace it with their own versions.
97719304Speter	+ Make reads and writes interruptible.  Rework code that enters and
97819304Speter	  leaves ex for '!' and filter commands, rework all interrupt and
97919304Speter	  timer code.
98019304Speter	+ Fix core dump when user displayed option in .exrc file.
98119304Speter	+ Fix bug where writing empty files didn't update the saved
98219304Speter	  modification time.
98319304Speter	+ Fix bug where /pattern/ addressing was always a backward search.
98419304Speter	+ Fix bug triggered by autoindent of more than 32 characters, where
98519304Speter	  nvi wasn't checking the right TEXT length.
98619304Speter	+ Fix bug where joining only empty lines caused a core dump.
98719304Speter1.09 -> 1.10: Sat Mar 19 15:40:29 EST 1994
98819304Speter	+ Fix "set all" core dump.
98919304Speter1.08 -> 1.09: Sat Mar 19 10:11:14 EST 1994
99019304Speter	+ If the tag's file path is relative, and it doesn't exist, check
99119304Speter	  relative to the tag file location.
99219304Speter	+ Fix ~ command to free temporary buffer on error return.
99319304Speter	+ Create vi.ref, a first cut at a reference document for vi.
99419304Speter	  The manual page and the reference document only document the
99519304Speter	  set options, so far.
99619304Speter	+ Fix 1G bug not always going to the first non-blank.
99719304Speter	+ Upgrade PORT/regex to release alpha3.4, from Henry Spencer.
99819304Speter	+ Add MKS vi's "cdpath" option, supporting a cd search path.
99919304Speter	+ Handle if search as a motion was discarded, i.e. "d/<erase>".
100019304Speter	+ Change nvi to not create multiple recovery files if modifying
100119304Speter	  a recovered file.
100219304Speter	+ Decide to ignore that the cursor is before the '$' when inserting
100319304Speter	  in list mode.  It's too hard to fix.
100419304Speter1.07 -> 1.08: Wed Mar 16 07:37:36 EST 1994
100519304Speter	+ Leftright and big line scrolling fixes.  This meant more changes
100619304Speter	  to the screen display code, so there may be new problems.
100719304Speter	+ Don't permit search-style addresses until a file has been read.
100819304Speter	+ "c[Ww]" command incorrectly handled the "in whitespace" case.
100919304Speter	+ Fix key space allocation bug triggered by cut/paste under SunOS.
101019304Speter	+ Ex move command got the final cursor position wrong.
101119304Speter	+ Delete "optimize option not implemented" message.
101219304Speter	+ Make the literal-next character turn off mapping for the next
101319304Speter	  character in text input mode.
101419304Speter1.06 -> 1.07: Mon Mar 14 11:10:33 EST 1994
101519304Speter	+ The "wire down" change in 1.05 broke ex command parsing, there
101619304Speter	  wasn't a corresponding change to handle multiple K_VLNEXT chars.
101719304Speter	+ Fix final position for vi's 't' command.
101819304Speter1.05 -> 1.06: Sun Mar 13 16:12:52 EST 1994
101919304Speter	+ Wire down ^D, ^H, ^W, and ^V, regardless of the user's termios
102019304Speter	  values.
102119304Speter	+ Add ^D as the ex scroll command.
102219304Speter	+ Support ^Q as a literal-next character.
102319304Speter	+ Rework abbreviations to be delimited by any !inword() character.
102419304Speter	+ Add options description to the manual page.
102519304Speter	+ Minor screen cache fix for svi_get.c.
102619304Speter	+ Rework beautify option support to match historical practice.
102719304Speter	+ Exit immediately if not reading from a tty and a command fails.
102819304Speter	+ Default the SunOS 4.* ports to the distributed curses, not SMI's.
102919304Speter1.04 -> 1.05: Thu Mar 24 16:07:45 EST 1994
103019304Speter	+ Make cursor keys work in input mode.
103119304Speter	+ Rework screen column code in vi curses screen.  MAJOR CHANGE --
103219304Speter	  after this, we'll be debugging curses screen presentation from
103319304Speter	  scratch.
103419304Speter	+ Explode include files in vi.h into the source files.
103519304Speter1.03 -> 1.04: Sun Mar  6 14:14:16 EST 1994
103619304Speter	+ Make the ex move command keep the marks on the moved lines.
103719304Speter	+ Change resize semantics so you can set the screen size to a
103819304Speter	  specific value.  A couple of screen fixes for the resize code.
103919304Speter	+ Fixes for foreground/background due to SIGWINCH.
104019304Speter	+ Complete rework of all of vi's cursor movements.  The underlying
104119304Speter	  assumption in the old code was that the starting cursor position
104219304Speter	  was part of the range of lines cut or deleted.  The command
104319304Speter	  "d[[" is an example where this isn't true.  Change it so that all
104419304Speter	  motion component commands set the final cursor position separately
104519304Speter	  from the range, as it can't be done correctly later.  This is a
104619304Speter	  MAJOR CHANGE -- after this change, we'll be debugging the cursor
104719304Speter	  positioning from scratch.
104819304Speter	+ Rewrite the B, b, E, e commands to use vi's getc() interface
104919304Speter	  instead of rolling their own.
105019304Speter	+ Add a second MARK structure, LMARK, which is the larger mark
105119304Speter	  needed by the logging and mark queue code.  Everything else uses
105219304Speter	  the reworked MARK structure, which is simply a line/column pair.
105319304Speter	+ Rework cut/delete to not expect 1-past-the-end in the range, but
105419304Speter	  to act on text to the end of the range, inclusive.
105519304Speter	+ Sync on write's, to force NFS to flush.
105619304Speter1.01 -> 1.03: Sun Jan 23 17:50:35 EST 1994 (PUBLICLY AVAILABLE VERSION)
105719304Speter	+ Tag stack fixes, was returning to the tag, not the position from
105819304Speter	  which the user tagged.
105919304Speter	+ Only use from the cursor to the end of the word in cursor word
106019304Speter	  searches and tags.  (Matches historical vi behavior.)
106119304Speter	+ Fix delete-last-line bug when line number option set.
106219304Speter	+ Fix usage line for :split command.
106319304Speter	+ If O_NUMBER set, long input lines would eventually fail, the column
106419304Speter	  count for the second screen of long lines wasn't set correctly.
106519304Speter	+ Fix for [[ reaching SOF with a column longer than the first line.
106619304Speter	+ Fix for multiple error messages if no screen displayed.
106719304Speter	+ Fix :read to set alternate file name as in historical practice.
106819304Speter	+ Fix cut to rotate the numeric buffers if line mode flag set.
106919304Speter1.00 -> 1.01: Wed Jan 12 13:37:18 EST 1994
107019304Speter	+ Don't put cut items into numeric buffers if cutting less than
107119304Speter	  parts of two lines.
107219304Speter0.94 -> 1.00: Mon Jan 10 02:27:27 EST 1994
107319304Speter	+ Read-ahead not there; BSD tty driver problem, SunOS curses
107419304Speter	  problem.
107519304Speter	+ Global command could error if it deleted the last line of
107619304Speter	  the file.
107719304Speter	+ Change '.' to only apply to the 'u' if entered immediately
107819304Speter	  after the 'u' command.  "1pu.u.u. is still broken, but I
107919304Speter	  expect that it's going to be sacrificed for multiple undo.
108019304Speter	+ If backward motion on a command, now move to the point; get
108119304Speter	  yank cursor positioning correct.
108219304Speter	+ Rework cut buffers to match historic practice -- yank/delete
108319304Speter	  numeric buffers redone sensibly, ignoring historic practice.
108419304Speter0.92 -> 0.93: Mon Dec 20 19:52:14 EST 1993
108519304Speter	+ Christos Zoulas reimplemented the script windows using pty's,
108619304Speter	  which means that they now work reasonably.  The down side of
108719304Speter	  this is that almost all ports other than 4.4BSD need to include
108819304Speter	  two new files, login_tty.c and pty.c from the PORT/clib directory.
108919304Speter	  I've added them to the Makefiles.
109019304Speter	+ All calloc/malloc/realloc functions now cast their pointers, for
109119304Speter	  SunOS -- there should be far fewer warning messages, during the
109219304Speter	  build.  The remaining messages are where CHAR_T's meet char *'s,
109319304Speter	  i.e. where 8-bit clean meets strcmp.
109419304Speter	+ The user's argument list handling has been reworked so that there
109519304Speter	  is always a single consistent position for use by :next, :prev and
109619304Speter	  :rewind.
109719304Speter	+ All of the historical options are now at least accepted, although
109819304Speter	  not all of them are implemented.  (Edcompatible, hardtabs, lisp,
109919304Speter	  optimize, redraw, and slowopen aren't implemented.)
110019304Speter	+ The RE's have been reworked so that matches of length 0 are handled
110119304Speter	  in the same way as vi used to handle them.
110219304Speter	+ Several more mapping fixes and ex parser addressing fixes.
1103