[Bug 89235] Re: can no longer jump words with CTRL-arrow in gnome-terminal
Daniel Grund
89235 at bugs.launchpad.net
Mon Sep 17 21:40:44 UTC 2012
The original issue with the CTRL-LEFT CTRL-RIGHT is not a bug.
On Ubuntu 12.04.1 LTS:
$ aptitude show libreadline5
Package: libreadline5
State: installed
Automatically installed: yes
Multi-Arch: same
Version: 5.2-11
man 3 readline:
"Readline is customized by putting commands in an initialization file
(the inputrc file). The name of this file is taken from the value of
the INPUTRC environment variable. If that variable is unset, the
default is ~/.inputrc. If that file does not exist or cannot be read,
the ultimate default is /etc/inputrc."
Thus, *deleting* ~/.inputrc solves the initially reported problem.
If one has a ~/.inputrc and wants to have system default behavior, then one also has to "$include /etc/inputrc".
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to readline6 in Ubuntu.
https://bugs.launchpad.net/bugs/89235
Title:
can no longer jump words with CTRL-arrow in gnome-terminal
Status in “readline6” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: gnome-terminal
In edgy, one can navigate the command line with control-arrow
(left/right) to jump over words. This is not possible in feisty's
gnome-terminal. Instead it prints a control character as in the
following example:
jos at duet-feisty ~ $ foo;5C;5D;5C;5D
As you can see, it prints a ;5C for ctrl-right and ;5D for ctrl-left.
This makes navigating a long command line cumbersome.
===WORKAROUND===
I had to create the following ~/.inputrc file to get them to work in
Bash:
$include /etc/inputrc
# ZYV
#
# PageUp and PageDown don't work in Ubuntu anymore by default :-(
#
"\e[6~": end-of-history
"\e[5~": beginning-of-history
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/readline6/+bug/89235/+subscriptions
More information about the foundations-bugs
mailing list