Re: keystrokes change according to runlevel
- From: Thomas Dickey <dickey his com>
- To: Jan Engelhardt <jengelh medozas de>
- Cc: mc-devel gnome org
- Subject: Re: keystrokes change according to runlevel
- Date: Fri, 20 May 2011 05:12:18 -0400 (EDT)
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]