Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343019 - ctrl-left/right to jump to word boundary don't work on virtual console
Summary: ctrl-left/right to jump to word boundary don't work on virtual console
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-28 01:15 UTC by Marcel Partap
Modified: 2010-11-05 20:25 UTC (History)
0 users

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 Marcel Partap 2010-10-28 01:15:31 UTC
This was annoying me for some time and i was unclear if it is possible at all. Now this time i invested the five minutes to look it up, the top of /etc/inputrc says it:
# Quick dirty little note:
#  To get the key sequence for binding, you can abuse bash.
#  While running bash, hit CTRL+V, and then type the key sequence.
Done that and added
"\e[C": forward-word
"\e[D": backward-word
now it works for plain bash and tmux and i am happy ;)
Comment 1 Wormo (RETIRED) gentoo-dev 2010-11-05 19:57:19 UTC
This is not really a bug, but sounds like a nice tip for posting on a forum :)
https://forums.gentoo.org/viewforum-f-12.html
Comment 2 Marcel Partap 2010-11-05 20:25:56 UTC
Uhhm it quickly turned out that if it looks too good to be true, it sometimes is. My change actually makes EVERY cursor key press jump a word which is of low usefulness. So the real problem is that on the virtual console, bash input sees no distinction between [cursor key] and [CTRL]+[cursor key]. WTF?