Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2002 15:07:56 -0400
From:      Chris Faulhaber <unifex@cruelangel.com>
To:        freebsd-questions@freebsd.org
Subject:   Terminal problems with konsole and vim.
Message-ID:  <20020428190756.3486C37B417@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
Hello,

I'm having a strange terminal problem with a FreeBSD server of mine.
I am connecting to the machine through SSH with a KDE konsole, and
my terminal type is set to xterm-color.

First of all, under vim, my home and end keys do not work properly.
Vim likely interprets them as if I'd hit escape, because vim will
exit insert mode when either of those keys are pressed.

Second, and more importantly, the arrow keys do not function
correctly when in insert mode.  Up, down, right, and left place
the letters A, B, C, and D, respectively, and a new line.

My vim version is 6.0.  I've tried back to version 4.0 and the most
recent 6.1, but all exhibit this behaviour.  The arrow-key problem
appears to be a vim-only problem, as using them under insert mode in
vi results in no problems (although the home and end keys still
don't work).  All of my non-FreeBSD servers do not have this problem.

I've tried setting my term environment variable to xterm,
xterm-color, xterm-xfree86, xterm-r6, vt100, vt220, ansi, and
cons25.  None fix the problem.  I've also tried replacing my termcap
with a termcap from one of my (non-FreeBSD) servers that do work.
But after rebuilding the database, the problems still exist.

Any help would most certainly be appreciated,
Chris

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020428190756.3486C37B417>