bob@rscsys.UUCP (Bob Celmer) (10/08/90)
Hello everyone - I am using SCO Xenix 2.3.2 on a 386 box. When using vi, if I hold down an arrow key to space through a file, eventually the terminal will beep, and from that point on I get improper screen updates. For example, if I type "x" to delete a character, the character is properly removed from the file, but the screen shows that <two> characters were deleted. If I insert a character into an existing line, the character to the right of the cursor is doubled upon every entry; i.e. if I insert an "r" into the word "tunstile" the screen will display "turnnstile". If I delete a line, the display shows that <two> lines were deleted. Constantly hitting a "z" to redraw the screen is extremely annoying. Is there anything I can do to reset vi in this regard? Currently the only solution seems to be rebooting the system. Thanks. -- Bob Celmer UUCP: {fedeva,chromc}!dynasys!rscsys!bob
root@ozdaltx.UUCP (root) (10/08/90)
I'm havn't played with vi on a 386, but the 286 version also shows the same problem. If you use the arrow key rather than j,k,l,h to position the cursor, you shouldn't have this problem. I believe the termcap defs for vt terms and ansi both output an \E[ sequence then the arrow keys are used. ESC, to vi, is used to take you out of update mode. If your keyboard has repeat, I suspect what happens is that vi's command buffer can't catch up with the strings that contain ESC characters and it changes modes on you or you get the beeps. I just hit the arrow keys for each movement I need, that seems to work. Hope this helps some - Scotty AIDS INFORMATION EXCHANGE BBS (214) 247-2367/247-5609 "Education is the best weapon" {mic,void,egsner}!ozdaltx!sysop || {uunet,smu,ames}!sulaco!ozdaltx!sysop
bob@rscsys.UUCP (Bob Celmer) (12/01/90)
Hello everyone - Sorry about the repost, but soon after I last posted this, we started having trouble with our news feed. Now that it's settled down... I am using SCO Xenix 2.3.2 on a 386 box. When using vi, if I hold down an arrow key to space through a file, eventually the terminal will beep, and from that point on I get improper screen updates. For example, if I type "x" to delete a character, the character is properly removed from the file, but the screen shows that <two> characters were deleted. If I insert a character into an existing line, the character to the right of the cursor is doubled upon every entry; i.e. if I insert an "r" into the word "tunstile" the screen will display "turnnstile". If I delete a line, the display shows that <two> lines were deleted. Constantly hitting a "z" to redraw the screen is extremely annoying. Is there anything I can do to reset vi (or the terminal?) in this regard? Currently the only solution seems to be rebooting the system. Thanks. -- Bob Celmer UUCP: {fedeva,chromc}!dynasys!rscsys!bob