Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296523 - xterm arrow keys in vim jump by word instead of by character
Summary: xterm arrow keys in vim jump by word instead of by character
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-11 13:43 UTC by thorn
Modified: 2010-08-05 07:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thorn 2009-12-11 13:43:06 UTC
x11-terms/xterm-243, x11-terms/xterm-250:
in vim left and right arrows should jump by 1 character but they jump by 1 word.

This is an recurring bug. It is fixed in xterm-242 but it's here again in xterm-243 and xterm-250.

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-12-11 14:51:35 UTC
Try -253.
Comment 2 Jiri Pittner 2009-12-17 10:52:17 UTC
(In reply to comment #0)
> x11-terms/xterm-243, x11-terms/xterm-250:
> in vim left and right arrows should jump by 1 character but they jump by 1
> word.
> 
> This is an recurring bug. It is fixed in xterm-242 but it's here again in
> xterm-243 and xterm-250.
> 
> Reproducible: Always
> 
I have -253, bug is still there.
Comment 3 Thomas Dickey 2009-12-22 10:03:23 UTC
It's not that the bug is "still there", but that the default
for the allowTcapOps resource changed (per Bram's request).
If you have a reproducible case where this is a problem,
you should assign it to vim.
Comment 4 Patrick Lauer gentoo-dev 2009-12-30 12:34:04 UTC
So what do we do with this? Is it a bug?
Comment 5 Thomas Dickey 2009-12-30 13:31:36 UTC
It sounds like a bug.  But it's less likely that xterm is sending
the information than that the user's configuration for vim is
causing vim to get confused.  I've seen this bug in more than
one case, without getting much useful information other than
that it was fixed by the user changing something in their .vimrc
Comment 6 Thomas Dickey 2009-12-30 15:46:35 UTC
(minor correction: it's less likely that xterm is sending
*incorrect* information than the alternatives)
Comment 7 William Waisse 2010-08-05 07:03:43 UTC
same problem here after upgrading my gentoo servers

adding :
set term=builtin_ansi

in 
/etc/vim/vimrc

fixed the arrow keys
( tips found on http://vim.wikia.com/wiki/Fix_broken_arrow_key_navigation_in_insert_mode)