f



FC: control/shift+left/right/up/down not working

Well, in my xterm's I cannot use shift+left, shift+right and so on. If
I do, I get:

shift+left: 2D
shift+right: 2C
shift+up: 2A
shift+down: 2B
control+left: 5D
control+right: 5C
control+up: 5A
control+down: 5B

Pressing c-v before pressing the above key combination gives:

control-v shift+left: ^[[1;2D

and similar for the rest.

I don't know how to fix the above problem so that e.g. control+left
does what it used to (skip one word to the left).

Before upgrading to FC (from RH8) the whole thing worked fine.

Any suggestion will be appreciated. :-)

Bernhard

(this was posted in linux.redhat, not crossposted, sorry)
0
Bernhard
8/23/2004 12:12:00 PM
comp.os.linux.setup 9104 articles. 1 followers. Post Follow

1 Replies
650 Views

Similar Articles

[PageSpeed] 34

>>>>> "Bernhard" == Bernhard Mogens Ege <bme@hst.auc.dk> writes:

> Well, in my xterm's I cannot use shift+left, shift+right and so on. If
> I do, I get:

> shift+left: 2D
> shift+right: 2C
> shift+up: 2A
> shift+down: 2B
> control+left: 5D
> control+right: 5C
> control+up: 5A
> control+down: 5B

Well, it figures. Just after posting my problem I managed to solve
it. /etc/inputrc is at fault as it does not contain the following
lines:

"\e[1;5C": forward-word
"\e[1;5D": backward-word

These enable control+left/right to skip words using bash (readline).

This bugreport helped me:  :-)

http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=80860

Bernhard
0
Bernhard
8/23/2004 12:37:57 PM
Reply: