Subject: Problems with console and vi
To: None <port-sparc@netbsd.org>
From: Alexander Sorg <AlexSorg@gmx.de>
List: port-sparc
Date: 10/11/1999 11:12:15
Hi!
I'm running NetBSD 1.4.1 on a Sparc20 with 64MB Ram and a cgsix. 
When I log in at the console, set the terminal to vt100, edit a file
with vi and then quit vi, everything works OK.
But when the terminal is set to "sun" there is a strange scrolling
effect displayed when quitting vi. Some lines scroll in very garbled
from the top of the display, some roll around beneath the cursor
position. The lines are scattered and even on the border outside
of the normal text area. 

I suppose, the "sun" terminal emulation should work OK. Does anybody
else see this behavior? If yes, is there a send-pr around already or
shall I do one?

Regards,
   Alex.
-- 
char*M,A,Z,E=40,J[80],T[3];main(C){for(M=J+E,*J=A=scanf("%d",&
C)            ;--            E;J             [E            ]=M
[E   ]=  E)   printf("._");  for(;(A-=Z=!Z)  ||  (printf("\n|"
)    ,   A    =              39              ,C             --
)    ;   Z    ||    printf   (T   ))T[Z]=Z[A-(E   =A[J-Z])&&!C
&    A   ==             M[                                  A]
|6<<11<rand()||!C&!Z?J[M[E]=M[A]]=E,J[M[A]=A-Z]=A,"_.":" |"];}