tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* cursor moves around in vi
@ 2001-11-14  0:44 Trevor Osatchuk
  0 siblings, 0 replies; only message in thread
From: Trevor Osatchuk @ 2001-11-14  0:44 UTC (permalink / raw)
  To: tru64-unix-managers

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@pscl.com

Any man whose errors take ten years to correct is quite a man. 
          - J. Robert Oppenheimer, speaking of Albert Einstein 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-14  0:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-14  0:44 cursor moves around in vi Trevor Osatchuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox