Bug in vi
Tony L. Hansen
hansen at pegasus.UUCP
Thu Oct 10 12:48:17 AEST 1985
< Subject: bug in 3.6 vi (probably 3.7 also)
<
< Description:
< Vi has a bug in it when the ^^ (control ^) command is used if the
< current file has been modified and there was no previous file edited
< and vi set for autowrite.
< ...
< When, under the above circumstances, this key is hit, the current file
< will be written out, the error message of "No filename substitute for #"
< will be displayed, then the last line of the file will REPLACE the
< current line the cursor is on. If at this point the ^^ key is
< accidently hit again, the file, now with a bogus line, will be written
< out again.
I just checked my beta-version of 3.10 Vi (the version going into UNIX
System Vr3) and the bug still exists. Maybe it'll get fixed for Vr4.
Tony Hansen
ihnp4!pegasus!hansen
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list