Re: [dev] [st] Shift+F1 should by F11?

2013-01-11 Thread Roberto E. Vargas Caballero
On Thu, Jan 10, 2013 at 04:29:08PM +, Mihail Zenkov wrote: I also find in https://www.midnight-commander.org/wiki/roadmap: Use KDGKBENT ioctl on Linux console to find the mapping for shifted functional keys. Two mappings are widely used (Shift-F1 = F11 and Shift-F1 = F13). mc should

Re: [dev] [st] Shift+F1 should by F11?

2013-01-11 Thread Mihail Zenkov
2013/1/11, Roberto E. Vargas Caballero k...@shike2.com: I suppouse mc look what terminal is running (using $TERM) and do dedicated things for it. Since mc don't have support for st (yet ;)) I try add st escape codes to mc.lib but it not enough. As I see later - mc have many internal hack to

Re: [dev] [st] Shift+F1 should by F11?

2013-01-10 Thread Roberto E. Vargas Caballero
On Wed, Jan 09, 2013 at 10:59:59AM +, Mihail Zenkov wrote: I have problem in mc with Shift+Fx. In st Shift+F6 generate code for F18 but mc wait F16 for it. From http://aperiodic.net/phil/archives/Geekery/term-function-keys.html Shift-F1 through Shift-F10 function as F11 through F20 and

Re: [dev] [st] Shift+F1 should by F11?

2013-01-10 Thread Mihail Zenkov
Thanks for detailed reply! I have also tested in the virtual terminal of the kenel (you called it 'pure console') and I get the values you said: Shift-F1 = ^[[25~ F11 = ^[[23~ I can see that the terminfo entry linux virtual terminal is: kf11=\E[23~

Re: [dev] [st] Shift+F1 should by F11?

2013-01-10 Thread Strake
On 10/01/2013, Mihail Zenkov mihail.zen...@gmail.com wrote: I have also tested in the virtual terminal of the kenel (you called it 'pure console') and I get the values you said: Shift-F1 = ^[[25~ F11 = ^[[23~ I check again - in my system I have ^[[23~ for Shift+F1 and

Re: [dev] [st] Shift+F1 should by F11?

2013-01-10 Thread Mihail Zenkov
From https://www.midnight-commander.org/wiki/doc/faq 2.3 How do I use function keys F11 to F20? These are normally mapped to function keys F1 to F10 with Shift held, e.g. function key F13 can be activated by pressing Shift-F3. You can define the keys this way in the Options- Learn Keys

Re: [dev] [st] Shift+F1 should by F11?

2013-01-10 Thread Mihail Zenkov
I also find in https://www.midnight-commander.org/wiki/roadmap: Use KDGKBENT ioctl on Linux console to find the mapping for shifted functional keys. Two mappings are widely used (Shift-F1 = F11 and Shift-F1 = F13). mc should adjust the keys to the mapping. In this case this problem in mc.

[dev] [st] Shift+F1 should by F11?

2013-01-09 Thread Mihail Zenkov
I have problem in mc with Shift+Fx. In st Shift+F6 generate code for F18 but mc wait F16 for it. From http://aperiodic.net/phil/archives/Geekery/term-function-keys.html Shift-F1 through Shift-F10 function as F11 through F20 and generate escape codes from ^[[23~ to ^[[34~, just like the VT220.