keystrokes change according to runlevel

Jan Engelhardt jengelh at medozas.de
Fri May 20 08:59:12 UTC 2011


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.



More information about the mc-devel mailing list