Obscure Vi bug?

Rob Warnock rpw3 at rigden.wpd.sgi.com
Sat Jul 28 14:33:25 AEST 1990


In article <295 at sherpa.UUCP> rac at sherpa.UUCP (Roger Cornelius) writes:
+---------------
| From article <798 at intelhf.hf.intel.com>, by fredch at starlite.hf.intel.com:
| > Go to 2 lines below the bottom line using the G command.  For example, under
| > TERM=xterm, go to line 25; under TERM=AT386 or TERM=vtpc, go to line 26.
| > Then type ^B.  It will beep.  Then, type j.  Suddenly the current line will
| > be copied onto line 1, and your file just got modified.
| 
| This also occurs with the vi on SCO UNIX V3.2.0, which, when given the
| :version command reports SVR3.1.  It doesn't appear to be file length
| specific.
+---------------

This does *not* fail on an SGI 4D/25 (Irix 3.3). I tried "G"ing to +0, +1,
+2, +3 lines below the bottom one on the screen; "^B" always worked properly
from there, no beeps, no altering of text.

The ":version" command reports "Version SVR3.1". I don't know if the fix is
local to SGI, or possibly the bug is only in '386 versions of System-V.


-ROb

-----
Rob Warnock, MS-9U/510		rpw3 at sgi.com		rpw3 at pei.com
Silicon Graphics, Inc.		(415)335-1673		Protocol Engines, Inc.
2011 N. Shoreline Blvd.
Mountain View, CA  94039-7311



More information about the Comp.bugs.sys5 mailing list