[Konsole-devel] [Bug 65067] Alt cursur/home/end sends 2x ESC + patch fixing this

Hans de Goede j.w.r.degoede at hhs.nl
Mon Nov 3 08:19:58 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=65067     




------- Additional Comments From j.w.r.degoede at hhs.nl  2003-11-03 09:19 -------
xterm/aterm/Eterm don't send 2x esc for alt + cursorkeys, they use special ESC-sequences for keypad / functionskeys with modifier keys.

Try pressing ctrl+v and then alt left / right in bash in an official xterm (ctrl-v + key shows the true keysequence)

The fact that someone has put esc sequences containing 2 esc's in your inputrc (readline keybindings file) means that your inputrc needs reconfiguring too, not that this patch is wrong!

Besides that ctrl left/right should do word skipping not alt left/right.

I'll attach another patch which adds seperate esc-sequences for modified keypad and function keys.
Warning:
-this patch was made for RedHat, which follows the debian keyboard guidlines for terminals and thus uses different esc-sequences for home/end then the default xterm/konsole, you probably don't want this part of this patch, then again maybe you do since at least both redhat and debian make these changes.
Note:
-this patch uses slightly different esc-sequences for the cursorkeys+modifiers then xterm does, instead it uses the one send by gnome-terminal and already send by konsole for shift home/end/delete, which now are also send for different modifiers and different keys.



More information about the konsole-devel mailing list