home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / apps / text_ed / elv16b2 / doc / changes < prev    next >
Text File  |  1992-06-30  |  6KB  |  132 lines

  1. - The version number has been changed to 1.6.
  2.  
  3. - The exit code of elvis is now 0 if the file wasn't updated, 1 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. - The :join and shift-J commands are now a little smarter.
  8.  
  9. - Most UNIX versions of elvis will now allow ":source" scripts to recursively
  10.   invoke other scripts.  Also, the script files can be larger.
  11.  
  12.   Why not all versions?  The solution uses a lot of stack space.  Some systems
  13.   have tiny stacks, so they must continue to use the old code.
  14.  
  15. - New-style function prototypes are used if __STDC__ or cplusplus is defined.
  16.   The function definitions are still written in the old style, so K&R compilers
  17.   can still compile elvis.  A few of the function declarations were changed
  18.   slightly, in order to avoid differences between ANSI and K&R standards.
  19.  
  20.   Also, if __STDC__ is defined then elvis's source code will try to include
  21.   some of the ANSI headers such as <stdlib.h>.
  22.  
  23. - Two bugs have been fixed in the wrapmargin code.
  24.  
  25.   The first bug caused my ELVIS.EXE MS-DOS executable to go into an infinite
  26.   loop when it tried to do an automatic wrap.  This was apparently due to
  27.   a bug in my MSC 5.10 compiler.  It went away when I broke up a 4-line
  28.   expression into four 1-line expressions.
  29.  
  30.   The second bug showed up when inserting text in front of some words.
  31.   When the line gre too long, the last word would be moved to the next line,
  32.   even if the cursor hadn't reached the wrapmargin yet.
  33.  
  34. - Two bugs have been fixed in autoindent mode.
  35.  
  36.   One was a biggie: The code that was supposed to delete trailing whitespace
  37.   from a line was actually deleting text up to the previous end-of-line.
  38.   So if you inserted a newline into the middle of a line, then the tail of
  39.   the line just "went away."
  40.  
  41.   The other was that "i" on an empty line would automatically insert
  42.   whitespace to make its indent match that of the line above.  The real vi
  43.   doesn't do that, and elvis 1.6 doesn't either.
  44.  
  45. - A new compile-time option has been added: -DMAILER=string.  This will allow
  46.   you UNIX users to choose a mailer other than "mail", if they wish.  On BSD
  47.   systems, you might prefer to use "Mail" to deliver your mail, for example.
  48.   SysV users may prefer "mailx".  Since the value of MAILER should be a quoted
  49.   string, you need to be careful about quotes:
  50.  
  51.         -DMAILER=\"mailx\"
  52.  
  53. - The ctags program didn't work under MS-DOS because it wasn't stripping the
  54.   '\r' character from the end of each line.  This has been fixed.
  55.  
  56.   Also, it didn't expand wildcard characters in filenames correctly, either.
  57.   This has also been fixed.
  58.  
  59. - The :ks=:ke=: termcap strings aren't used anymore.  Those strings are
  60.   supposed to be used to put the keypad in "application mode", but it seems
  61.   that editors aren't applications in the eyes of termcap entry writers.
  62.   The :ks=: string was making the arrow keys send goofy codes instead of the
  63.   normal codes defined in :ku=: etc.
  64.  
  65.   So the arrow keys on a vt100 or Xterm are more likely to work now.
  66.  
  67. - "d}" now works better at the end of the file.  Also, this will delete
  68.   characters now, instead of whole lines.
  69.  
  70. - "dw" while the cursor is on whitespace will now correctly delete one
  71.   character.  (It used to delete two characters.)
  72.  
  73. - With ":set number" turned on, there is no longer a '|' between the line
  74.   number and the text.
  75.  
  76. - Elvis should now work better on screens with a width that isn't divisible
  77.   by eight.  (This bug caused some lines to be drawn indented on some
  78.   terminals.)
  79.  
  80. - Sometimes, after a long move, the line containing the cursor would not be
  81.   redrawn.  This bug has been fixed.  I think.
  82.  
  83. - A bug has been fixed in the regexp code.  This bug caused elvis to dump core
  84.   on a command such as ":s/--/[]/g".  What was happening was that *part* of
  85.   the regexp parser was failing to stop at the end of the regexp, and was
  86.   processing the replacement text as though it was part of the regexp.  This
  87.   would cause elvis to write past the end of the internal struct used to store
  88.   the regexp.
  89.  
  90. - We generally try to avoid using "#if defined(SYMBOL)", since not all
  91.   preprocessors can handle the defined() function.
  92.  
  93. - The \ menu wasn't being erased completely under some circumstances when
  94.   the > option was chosen.  This has been fixed.
  95.  
  96. - After something like "d/foo" to delete all text up to the next "foo",
  97.   "." would only automatically repeat the "d/" part of the command.  You
  98.   still had to type in "foo" manually.  This has been fixed.
  99.  
  100. - The command "dtA" would delete a character even if no "A" was found.
  101.   This bug has been partially fixed: it doesn't delete anything, but it
  102.   doesn't beep at you either.
  103.  
  104. - On VMS systems, wildcard expansion no longer includes the version number.
  105.   Earlier versions did include the version number which could cause confusion
  106.   if you edited a file, wrote it out, and then did a ":rew" or something.
  107.  
  108. - Under AmigaDos 1.3, any files written out by elvis would be marked as
  109.   "resource busy" or something like that.  This has been fixed.
  110.  
  111. - Some minor compatibility fixes were made; elvis should be easier to compile
  112.   now, especially under AmigaDos with the Manx Aztec C compiler. 
  113.  
  114. - If the <Right> arrow key is the same as the <BackSpace> key, then elvis
  115.   will not map it automatically.  This was causing some major confusion
  116.   among people who're stuck with ancient terminals.
  117.  
  118. - A new option has been added: "nearscroll".  It is a numeric option, and its
  119.   value is used by elvis when deciding whether an off-screen line is near
  120.   enough that the screen should be scrolled to bring it into view, or far
  121.   enough that the whole screen should be redrawn with the line in the center
  122.   of the screen.  It defaults to 15 lines, which is pretty much the way elvis
  123.   has always acted.
  124.  
  125. - The elvprsv program will now work under MS-DOS.  It didn't before, due to
  126.   a bug in the Elvis.mak file and also a because ctype wasn't initialized
  127.   before wildcards were expanded.
  128.  
  129.   If you add "elvprsv c:\tmp\elv*.*" to the end of your AUTOEXEC.BAT file,
  130.   and create a directory called "C:\preserve", then your edit buffers will
  131.   be preserved automatically after a power failure, etc.
  132.