Re: Alt+function keys and other keys

2010-03-11 Thread Miguel Pérez
What I wonder is why even on the reference terminal xterm, some key escape sequences aren't even recognized, including simple enough ones such as ctrl-f1 or alt-f1. A possible way to fix all of this could be to allow raw character sequences to be assigned to commands in mc.keymap, such as

Re: Alt+function keys and other keys

2010-03-11 Thread Thomas Dickey
On Thu, 11 Mar 2010, Miguel P??rez wrote: What I wonder is why even on the reference terminal xterm, some key escape sequences aren't even recognized, including simple enough ones such as ctrl-f1 or alt-f1. It depends on the keyboard configuration. (The vt220 flavor won't do much with

Re: Alt+function keys and other keys

2010-03-11 Thread Miguel Pérez
It does, but they are not recognized. Here's an example of different alt-f1 sequences I've seen: Konsole (TERM=konsole), native keyboard (xterm XFree 4.x.x): ^[O3P xterm (TERM=xterm): ^[[1;3P urxvt (TERM=rxvt-unicode): ^[^[[11~ mlterm (TERM=mlterm): ^[[11;3~ Midnight Commander doesn't recognize