cursor moves around in vi

From: Trevor Osatchuk <Trevor.Osatchuk_at_pscl.com>
Date: Tue, 13 Nov 2001 17:44:31 -0700

This just started to happen. I have been configuring amanda and editing the
inetd.conf and services files when vi started to act strangely. I would
delete some text, start to type new text and the cursor would jump back
about 5 spaces. If I keep typing the cursor doesn't move, but the text gets
entered, in the place where it should be. Basically I can make changes like
I was blind folded. Just ignore what I see on the screen and keep typing.
When I save and exit and then reenter with vi, the changes are correct.

So I tried a 'reset' and did a 'cat inetd.conf' I got:

#
# This is added for Amanda support for the Travan Tape drive
#

#amanda dgram udp wait root /usr/lolla/libexec/amandad amandad
#amandaidx stream tcp nowait root /usr/local/libexec/amindexd amindexd
#amidxtape stream tcp nowait root /usr/local/libexec/amidxtaped amidxtaped

When I edit with vi I get:

#emon
/
# This is added for Amanda support for the Travan Tape drive
c
#l

#amanda

  dgram udp wait root /usr/lolla/libexec/amandad amandad
#amandaidx stream tcp nowait root /usr/local/libexec/amindexd
a
mindexd
#amidxtape stream tcp nowait root /usr/local/libexec/amidxtaped amidxtaped

I do a 'shift g'(capital G) to get to the last line and my cursor is on the
mindexd line. If I delete char's with 'x', different lines than the one I
am on move, very odd.

There is obviously something wrong with the terminals here, but I didn't
change anything recently except services and inetd.conf, whic I have
reverted back to the originals.

Any help would be appreciated!

Trevor Osatchuk
Process Solutions Canada Ltd.
Support and Integration Analyst
(780) 452-2227 Ext. 286
trevor.osatchuk_at_pscl.com

Any man whose errors take ten years to correct is quite a man.
          - J. Robert Oppenheimer, speaking of Albert Einstein
Received on Wed Nov 14 2001 - 00:51:30 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT