Description of Problem: Home and End keys produce wrong esc sequences in xterm Version-Release number of selected component (if applicable): 4.2.0-2.1 How Reproducible: always Steps to Reproduce: 1. open xterm and start mc in it 2. hit "Home" and than "End" buttons Actual Results: You'll see "H" and "F" characters in command line Expected Results: Pointer line must be moved to first and than to last line of file list in current mc panel. Additional Information: You can also type "cat /dev/tty", press Home and End and see wrong Esc sequenses ^[[H and ^[[F (must be ^[[1~ and ^[[4~). To fix the problem, following patch must be applied to XTerm app-defaults file: --- XTerm.orig Wed Jan 23 19:39:19 2002 +++ XTerm Wed Jan 23 19:39:33 2002 @@ -145,7 +145,7 @@ !This can be useful if you have an IntelliMouse. It maps the button !events generated by the wheel -*VT100*translations: #override \ +*VT100*Translations: #override \ <Key>Delete: string(0x1b) string("[3~") \n\ <Key>Home: string(0x1b) string("[1~") \n\ <Key>End: string(0x1b) string("[4~") \n\ see file attached to #49315 that fixes both current bug and #49315.
*** This bug has been marked as a duplicate of 58031 ***