[comp.bugs.4bsd] vi-bug: internal error in vgoto

rcodi@yabbie.rmit.oz (Ian Donaldson) (08/03/88)

Description:
    Ever noticed that if you have your cursor positioned after column 80 on a
    long line on an 80 character wide screen, and you hit ^Z, then "fg" that
    you end up with nothing on the screen, and sometimes you even
    get the message:

	    internal error in vgoto

    Hitting any key seems to fix the screen, but its a bit irritating at times,
    especially when the file you have has most of its lines longer than
    the screen width (like our /etc/passwd does).

Repeat-by:
    vi /etc/passwd

    look for a long line, to to it, hit this in sequence
	$
	^Z
	fg 

    Note the blank screen, or an error message.

Systems:
    This happens on all versions of 4.[123]BSD, including all Suns that
    I have played with.  It doesn't happen on vanilla System-V, due to lack 
    of job control.

Ian D