FC2: VI and cursor key-error

Michael Wardle michael at endbracket.net
Fri May 21 08:09:53 UTC 2004


On Fri, 2004-05-21 at 17:57, Götz Reinicke wrote:
> printenv TERM:
> 
> xterm-color

In case this is your problem (assuming Vim is compiled with Terminfo and
your shell is Bash, both the default behaviors under Fedora), compare:
# tput kcud1 | od -c

against:
# <Control-V><Cursor Down>

If the outputs are different, your terminal type is probably set
incorrectly.  In most cases, I believe xterm is the preferred terminal
type for XTerm, GNOME Terminal, etc.  xterm-color was a terminal type
used predominantly in FreeBSD to differentiate an enhanced (probably
XFree86) XTerm from a basic (probably X11R5 or X11R6) XTerm, however its
use was frowned upon by some people.  A starting point might be
http://invisible-island.net/xterm/xterm.faq.html.

Hope this helps

-- 
Mike






More information about the fedora-test-list mailing list