Re: Alt+function keys and other keys
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 PanelSortOrderByName = \eO5P though this would make it more difficult to use. The best solution would be to properly support all escape sequences. Date: Wed, 10 Mar 2010 22:37:04 +0100 From: Yury V. Zaytsev y...@shurup.com To: R. Steven Rainwater srainwa...@ncc.com Cc: mc-devel@gnome.org Subject: Re: Alt+function keys and other keys Message-ID: 1268257024.7065.13.ca...@mypride Content-Type: text/plain On Wed, 2010-03-10 at 09:55 -0600, R. Steven Rainwater wrote: Maybe there needs to be a policy that key combination changes must be tested on mainline terminals before they are accepted in released versions of MC. The issue here is that xterm is considered to be the reference, and in fact in what concerns the PgUp / PgDown problem, it's a Gnome terminal bug that VTE maintainers are unwilling to fix. -- Sincerely yours, Yury V. Zaytsev -- Antes de imprimir este correo electrónico, considera tu responsabilidad medioambiental. Please consider your environmental responsibility before printing this email. ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: Alt+function keys and other keys
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 control/F1). The (default) Sun/PC does send different sequences... -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: Alt+function keys and other keys
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 any of these. I wonder what kind of terminal does it expect (shouldn't it be flexibly detected from TERM?). ~Miguel 2010/3/11 Thomas Dickey dic...@his.com 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 control/F1). The (default) Sun/PC does send different sequences... -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- Antes de imprimir este correo electrónico, considera tu responsabilidad medioambiental. Please consider your environmental responsibility before printing this email. ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel