Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 alpha 4/3/85; site elsie.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!elsie!ado From: ado@elsie.UUCP (Arthur David Olson) Newsgroups: net.bugs.4bsd Subject: 4.?bsd vi drops @'s into long lines (with fix) Message-ID: <5091@elsie.UUCP> Date: Wed, 10-Apr-85 23:34:37 EST Article-I.D.: elsie.5091 Posted: Wed Apr 10 23:34:37 1985 Date-Received: Fri, 12-Apr-85 06:42:53 EST Organization: NIH-LEC, Bethesda, MD Lines: 40 Index: ucb/ex/ex_vadj.c Fix Description: 4.?bsd vi may drop '@' characters into long lines on some terminals. Repeat-By: Hop onto a VT52 (or go into VT52 mode on a terminal capable of doing so). Execute vi. Ensure that vi's "redraw" option is set. Enter two lines of text, each of which has seventy 'x' characters followed by twenty spaces followed by ten 'y' characters. Position the cursor on the first line. Tap the 'd' key twice to delete the first line, then tap the 'u' key to put it back. Note the '@' character at the beginning of the second line of the screen. Fix: The trade secret status of the code precludes a clearer posting. Note that this is really a workaround rather than a fix; in some cases, installing this workaround may cause '@' characters that mark "deleted" lines to not be displayed when they ought to be. ed ex_vadj.c /vinslin/i #ifndef OLDVERSION /* Added April, 1985 to remove extraneous @s */ if (!glitched) { ++glitched; oldheldech = heldech; oldhold = hold; } hold |= HOLDAT; #endif . w q -- VT52 is a Digital Equipment Corporation trademark Bugs is a Warner Brothers trademark VI is a Prisoner trademark -- UUCP: ..decvax!seismo!elsie!ado ARPA: elsie!ado@seismo.ARPA DEC, VAX and Elsie are Digital Equipment and Borden trademarks