From mrmazda at earthlink.net Wed May 18 15:19:54 2011 From: mrmazda at earthlink.net (Felix Miata) Date: Wed, 18 May 2011 11:19:54 -0400 Subject: keystrokes change according to runlevel Message-ID: <4DD3E39A.7090106@earthlink.net> Could some dev look at https://bugzilla.novell.com/show_bug.cgi?id=400552 and either suggest that's really a bug that should be filed in the mc tracker, or comment there as to how to find a solution, or even propose one there? BTW, the behavior reported there for openSUSE and the several others is the same in Gentoo 1.12.14 (on 2.6.37) as well. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ From mrmazda at earthlink.net Fri May 20 03:04:10 2011 From: mrmazda at earthlink.net (Felix Miata) Date: Thu, 19 May 2011 23:04:10 -0400 Subject: keystrokes change according to runlevel Message-ID: <4DD5DA2A.4080208@earthlink.net> Could some dev look at https://bugzilla.novell.com/show_bug.cgi?id=400552 and either suggest that's really a bug that should be filed in the mc tracker, or comment there as to how to find a solution, or even propose one there? BTW, the behavior reported there for openSUSE and the several others is the same in Gentoo 1.12.14 (on 2.6.37) as well. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ From yury at shurup.com Fri May 20 08:28:55 2011 From: yury at shurup.com (Yury V. Zaytsev) Date: Fri, 20 May 2011 10:28:55 +0200 Subject: keystrokes change according to runlevel In-Reply-To: <4DD3E39A.7090106@earthlink.net> References: <4DD3E39A.7090106@earthlink.net> Message-ID: <1305880135.2537.6.camel@newpride> On Wed, 2011-05-18 at 11:19 -0400, Felix Miata wrote: > Could some dev look at https://bugzilla.novell.com/show_bug.cgi?id=400552 and > either suggest that's really a bug that should be filed in the mc tracker, or > comment there as to how to find a solution, or even propose one there? > > BTW, the behavior reported there for openSUSE and the several others is the > same in Gentoo 1.12.14 (on 2.6.37) as well. I don't think it's an mc bug, but probably something to do with the way console / keyboard / termcap is set up in openSUSE. I vaguely remember someone complaining about this in Ubuntu... Ah wait, here it is: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/653436 -- Sincerely yours, Yury V. Zaytsev From jengelh at medozas.de Fri May 20 08:59:12 2011 From: jengelh at medozas.de (Jan Engelhardt) Date: Fri, 20 May 2011 10:59:12 +0200 (CEST) Subject: keystrokes change according to runlevel In-Reply-To: <4DD3E39A.7090106@earthlink.net> References: <4DD3E39A.7090106@earthlink.net> Message-ID: On Wednesday 2011-05-18 17:19, Felix Miata wrote: >Could some dev look at >https://bugzilla.novell.com/show_bug.cgi?id=400552 and either suggest >that's really a bug that should be filed in the mc tracker, or comment >there as to how to find a solution, or even propose one there? Linux VT: (key -> produces -> interpreted as .. by terminfo) Shift-F1 -> ^[[25~ -> kf13 Shift-F2 -> ^[[26~ -> kf14 Shift-F3 -> ^[[28~ -> kf15 Shift-F4 -> ^[[29~ -> kf16 Shift-F5 -> ^[[31~ -> kf17 Shift-F6 -> ^[[32~ -> kf18 Xterm: Shift-F1 -> ^[[1;2P -> kf13 Shift-F2 -> ^[[1;2Q -> kf14 Shift-F3 -> ^[[1;2R -> kf15 Shift-F4 -> ^[[1;2S -> kf16 Shift-F5 -> ^[[15;2~ -> kf17 Shift-F6 -> ^[[17;2~ -> kf18 So the terminfo db looks ok, so is this perhaps a slang problem? > BTW, the behavior reported there for openSUSE and the several others is the > same in Gentoo 1.12.14 (on 2.6.37) as well. From dickey at his.com Fri May 20 09:12:18 2011 From: dickey at his.com (Thomas Dickey) Date: Fri, 20 May 2011 05:12:18 -0400 (EDT) Subject: keystrokes change according to runlevel In-Reply-To: References: <4DD3E39A.7090106@earthlink.net> Message-ID: <20110520050856.S58524@mail101.his.com> On Fri, 20 May 2011, Jan Engelhardt wrote: > On Wednesday 2011-05-18 17:19, Felix Miata wrote: > >> Could some dev look at >> https://bugzilla.novell.com/show_bug.cgi?id=400552 and either suggest >> that's really a bug that should be filed in the mc tracker, or comment >> there as to how to find a solution, or even propose one there? > > Linux VT: (key -> produces -> interpreted as .. by terminfo) > Shift-F1 -> ^[[25~ -> kf13 > Shift-F2 -> ^[[26~ -> kf14 > Shift-F3 -> ^[[28~ -> kf15 > Shift-F4 -> ^[[29~ -> kf16 > Shift-F5 -> ^[[31~ -> kf17 > Shift-F6 -> ^[[32~ -> kf18 > > Xterm: > Shift-F1 -> ^[[1;2P -> kf13 > Shift-F2 -> ^[[1;2Q -> kf14 > Shift-F3 -> ^[[1;2R -> kf15 > Shift-F4 -> ^[[1;2S -> kf16 > Shift-F5 -> ^[[15;2~ -> kf17 > Shift-F6 -> ^[[17;2~ -> kf18 the xterm definitions are all extended capabilities... > So the terminfo db looks ok, so is this perhaps a slang problem? slang doesn't use the extended key definitions in terminfo; it uses only the conventional 2-character names in termcap. so yes, that is a slang problem. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net From mrmazda at earthlink.net Tue May 24 15:46:11 2011 From: mrmazda at earthlink.net (Felix Miata) Date: Tue, 24 May 2011 11:46:11 -0400 Subject: keystrokes change according to runlevel In-Reply-To: <20110520050856.S58524@mail101.his.com> References: <4DD3E39A.7090106@earthlink.net> <20110520050856.S58524@mail101.his.com> Message-ID: <4DDBD2C3.8050909@earthlink.net> On 2011/05/20 05:12 (GMT-0400) Thomas Dickey composed: > so yes, that is a slang problem. I wrote to the slang maintainer, pointing him to the buntu and SUSE bugs and this thread. His response follows unedited: I do not think that it has anything to do with slang. Looking at the source code, it seems that all the key handling occurs in lib/tty/key.c. The only interaction between that and slang is via the tty_lowlevel_getch, which simply returns bytes from the input descriptor. In lib/tty/key.c, I see a lot of code for specific terminals. I think that the problem lies there somewhere. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ From yury at shurup.com Tue May 24 17:12:14 2011 From: yury at shurup.com (Yury V. Zaytsev) Date: Tue, 24 May 2011 19:12:14 +0200 Subject: keystrokes change according to runlevel In-Reply-To: <4DDBD2C3.8050909@earthlink.net> References: <4DD3E39A.7090106@earthlink.net> <20110520050856.S58524@mail101.his.com> <4DDBD2C3.8050909@earthlink.net> Message-ID: <1306257134.2601.147.camel@newpride> On Tue, 2011-05-24 at 11:46 -0400, Felix Miata wrote: > On 2011/05/20 05:12 (GMT-0400) Thomas Dickey composed: > > > so yes, that is a slang problem. > > I wrote to the slang maintainer, pointing him to the buntu and SUSE bugs and > this thread. So why wouldn't you rebuild with ncurses and find out if it has to do with slang vs. ncurses or not??? -- Sincerely yours, Yury V. Zaytsev