Description of Problem:
In gnome-terminal "Home" and "End" keys generate wrong esc-sequences
Steps to Reproduce:
1. start gnome-terminal
2. start mc
3. press "Home" or "End"
You'll see "H" (for home key) and "F" (for End key) characters in command line.
Pointer line must be moved to first or last file on the panel.
In other terminals (konsole and xterm) home and end keys work as expected.
in xterm and konsole following sequences are generated: ^[[1~ (home) ^[[4~
(end). But gnome-terminal generates ^[OH for home and ^[OF for end keys.
TERM value is the same - xterm.
Sent upstream as http://bugzilla.gnome.org/show_bug.cgi?id=57437
Closing at Red Hat level.
Created attachment 27313 [details]
this patch solves the problem
This patch actualy does the same thing like kdebase-2.1-konsolefixes.patch from
Here is changelog entry from kdebase:
* Fri Mar 9 2001 Preston Brown <firstname.lastname@example.org>
- fix home and end default mapping in konsole
Why not do the same with gnome-libs? With this patch I'm quit happy with mc,
pine and other console stuff.
*** Bug 52241 has been marked as a duplicate of this bug. ***
This has been fixed upstream.