home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / editors / elvis17.zoo / doc / Changes next >
Encoding:
Text File  |  1993-09-23  |  7.4 KB  |  156 lines

  1. - The version number has been changed to 1.7.
  2.  
  3. - The exit code of elvis is now 1 if the file wasn't updated, 0 if it was
  4.   updated, or some other value for errors.  This was done because some
  5.   versions of crontab apparently are sensitive to the exit status.
  6.  
  7.   (Note: version 1.6 got this backwards)
  8.  
  9. - In version 1.6, giving the command "=}" would cause a core dump if you
  10.   were at the last paragraph, and there was no blank line after it.  This
  11.   bug has been fixed.
  12.  
  13. - The :ks=:ke=: termcap strings are supported again.  Support for those
  14.   strings was removed from 1.6, but that appears to have been a mistake.
  15.  
  16. - In autoindent mode, if you insert a newline in front of whitespace, that
  17.   whitespace is deleted before the automatic indent is inserted.  This
  18.   makes elvis' autoindent act more like vi's autoindent.
  19.  
  20. - Elvis will complain & exit if you try to load a too-large file.  Earlier
  21.   versions of elvis would crash if you did this.
  22.  
  23.   Also, if the text grows too large during editing, you will receive warnings.
  24.   If you ignore the warnings, then elvis will eventually preserve the text and
  25.   then exit.  THIS IS NOT 100% BULLET PROOF.
  26.  
  27. - The "elvprsv" program will now refuse to preserve a zero-length file.
  28.  
  29. - "make install" has been improved for UNIX and MS-DOS systems.
  30.  
  31.   For UNIX systems, it will try to install the man-pages automatically
  32.   (though this is known NOT to work for Minix and Coherent), and it will
  33.   create the /usr/preserve directory if necessary.  For systems which use
  34.   a /etc/rc2.d directory, it will also install a script that runs elvprsv
  35.   when the system is rebooted; for others, you still need to modify /etc/rc
  36.   by hand.
  37.  
  38.   For MS-DOS, it will create the C:\TMP and C:\PRESERVE directories, if
  39.   necessary.  You still need to modify AUTOEXEC.BAT manually.
  40.  
  41. - The -DS5WINSIZE option has vanished, and -DNO_S5WINSIZE has been added.
  42.   This way, under SysV elvis will now try to include window-resizing code
  43.   by default; if your SysV doesn't support winsize then you'll learn about
  44.   it pretty quick!  -DNO_S5WINSIZE will allow elvis to be compiled on SysV
  45.   systems which lack winsize support.
  46.  
  47. - The ":color" command should work under Coherent now.  (Coherent doesn't
  48.   allow ANSI `SGR' escape sequences to be combined.  So where everybody else
  49.   is happy with "\E[1;37;43m", Coherent needs "\E[1m\E[37m\E[43m".)
  50.  
  51. - Earlier versions of elvis would leave the text colors set to white-on-black
  52.   after you exit it, even if you never used the :color command.  Elvis 1.7
  53.   will leave the text colors set to white-on-black only if you've used the
  54.   :color command.  So, if you're using some other command to set your text
  55.   color scheme, elvis won't interfere with it.
  56.  
  57.   Sadly, there is no standard way for elvis to find out which colors the
  58.   screen is using when elvis is started... so, if you use elvis' :color
  59.   command to change the colors, elvis won't know which colors it should
  60.   revert to upon exiting.  That is why elvis leaves the screen in
  61.   white-on-black mode.
  62.  
  63. - Tag-stacks have been added!  Muchos gracias a Periklis Beligrano.  Tag stacks can
  64.   be disabled by adding -DNO_TAGSTACK to CFLAGS.
  65.  
  66.   For the uninitiated: Every time you lookup  a tag, the file & position
  67.   where you came from is saved on a stack.  You can return to that previous
  68.   position via ^T or :pop.
  69.  
  70.   NOTE: I altered his patches somewhat.  If there are bugs, blame me.
  71.  
  72. - A bug has been fix.  If you were in input mode, and started visibly marking
  73.   text, and then tried to do some other ^O command, elvis would get stuck.
  74.   (When elvis is in input mode, ^O can be used as a prefix to allow *SOME*
  75.   visual commands to be given.  For example, ^Oj moves down a line and still
  76.   leaves you in input mode.)
  77.  
  78. - Also in input mode, ^Ol on a blank line would leave elvis rather confused.
  79.   This has been fixed.
  80.  
  81. - Unknown ":set" options, or unsupported ":color" commands, won't generate
  82.   error messages anymore when run from the .exrc file.  When interactively
  83.   run, they will generate error messages.
  84.  
  85. - The "ref" program will now tell you which source file it is looking in.
  86.   Also, it won't try to show argument lines for macros; it knows that they
  87.   don't have any.
  88.  
  89.   When "ref" is supposed to be used for tag lookup (i.e., not -DINTERNAL_TAGS),
  90.   and the "ref" program can't be executed for some reason, elvis will now
  91.   give a more meaningful error message than just "tag not found".
  92.  
  93.   Also, its usage message no longer says there is a "-a" option.  There is no
  94.   "-a" option, and hasn't been for a long time.
  95.  
  96. - Since version 1.5, the name of the temp file has been derived partially
  97.   from elvis' process ID.  This has caused name clashes when several different
  98.   elvis processes have the same process ID.  This happens often when running
  99.   multi-tasking DOS, since each virtual machine has its own set of process
  100.   IDs.  It can also happen on a network, even under UNIX.
  101.  
  102.   Elvis 1.7 avoids this sort of name clash.  When it wants to create a
  103.   temp file, it first looks to see whether there is already a file with the
  104.   name it would like to use; if so, it chooses another name.
  105.  
  106. - When typing a command line or search pattern on the bottom line, ^U will
  107.   backspace over all characters typed so far.  (However, ^W does not yet
  108.   backspace over the last word typed.)
  109.  
  110.   Also, <Esc> now acts like <Return> when entering an ex command.  Vi has
  111.   always done this.  I don't like vi's behaviour, but some macro packages
  112.   depend on it, so there it is.
  113.  
  114. - In Makefile.mix, Coherent 3.x and Coherent 4.0 now have separate sets of
  115.   suggested settings.
  116.  
  117.   The Coherent 4.0 settings are written with the assumption that VMIN/VTIME
  118.   work correctly, but in the original 4.0 release they don't work.  If you
  119.   have Coherent 4.0, try compiling with settings from the file.  If that
  120.   doesn't work, then edit unix.c, go to line 112, and delete "|| COH_386".
  121.  
  122.   If VMIN/VTIME works, elvis can use it to recognize the <Esc> key in a
  123.   fraction of a second, instead of the 1~2 second delay that Coherent 3.x
  124.   imposes.
  125.  
  126. - A new section has been added to the manual.  It describes Makefile.mix
  127.   and all of its configuration macros.
  128.  
  129. - If you attempt to quit elvis when there are still more files to be edited,
  130.   then FIRST save your text (if appropriate) and SECOND inform you that there
  131.   are more files.  The real vi does it this way, but earlier versions of elvis
  132.   did those two steps the other way around.
  133.  
  134. - Under MS-DOS or Atari TOS, if the "HOME" environment variable isn't set then
  135.   elvis will assume that the home directory is the one which contains the
  136.   ELVIS.EXE (or ELVIS.TTP) executable.
  137.  
  138. - In 1.6 (the previous version) I tried to protect elvis against terminals
  139.   whose left-arrow key sends a backspace; if '\b' is mapped to 'h', as left
  140.   arrow codes usually are, then you would have no way to backspace.
  141.  
  142.   Unfortunately I did it wrong.  I protected elvis against the *RIGHT* arrow
  143.   sending '\b' instead of the left arrow.  This time I got it right!
  144.  
  145. - The behaviour of the (, ), { and } commands is improved.  Specifically,
  146.   ( and ) stop at paragraph boundaries, and { and } stop at section boundaries.
  147.   I'm still now quite satisfied, though.
  148.  
  149. - The 't' and 'T' character search commands are more vi-like.  You give the
  150.   command "th" when the cursor is already adjacent to an 'h', then the cursor
  151.   will not move.  (Earlier versions of elvis would skip the adjacent 'h' and
  152.   look for one after that.)
  153.  
  154. - A serious bug has been fixed in the mapping, which prevented ":set remap"
  155.   from working.
  156.