Bug in vi

David Elliott dce at hammer.UUCP
Tue Oct 15 08:23:58 AEST 1985


This bug seems to be just an instance of a problem in the error printing code.

Here are two known ways of making this kind of problem happen:

1. vi nonexistentfile
ahi there david

	ews^[--wcw^[u^^

(^[ is escape, ^^ is control-^)
The first line becomes the same as the last line.

2. vi nonexistentfile
Alternately hit the interrupt and escape keys ten or fifteen times. Then,
type ^L to redraw the screen. The first line of the file is now the word
"Interrupt".

			David Elliott



More information about the Comp.bugs.4bsd.ucb-fixes mailing list