Re: CTRL+Fn and ALT+Fn mappings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you for the answer, but:

1) the problem affects only the linux console (without X I mean)
2) using X (xorg) it seems works, in this ways:
A) X + Fluxbox: CTRL+Fn works, ALT+Fn switch virtual desktops; no fullscreen
B) X + Blackbox: all keys work; no fullscreen
C) X alone, without any window manager but with xterm attached: keys work and fullscreen too.

The problem with the X-solution is that the fonts are ugly (I'm trying to solve this) and ofcourse I need install the X server with all libraries etc.

My goal is instead to get working a small linux dosbox that can fit in a small space (512MB/1GB) and can full run a legacy clipper application, so for this I should need CTRL+Fn/ALT+Fn combination in native linux console without X.

In the mailing list archive, I've found someone suggesting in the past the modification of src/plugin/term/kbd_slang.c file in order to remapping that combinations but I can't understand how to do it...



Clarence Dang ha scritto:
My wild guess is that your Window Manager (e.g. KDE) is trapping those keys. But I may be wrong.

On Wednesday 03 October 2007 2:39 am, Paolo Gaggini wrote:
Hi all,
here is a problem I've already seen discussed in the list, but with no
clear answers for me.

This is the context:
- debian 4.0
- dosemu 1.4.0
- an old clipper application for dos, which uses CTRL+Fn and ALT+Fn
combination keys to work

I launch dosemu fron the console, the application works fine except for
that key combination. If I press CTRL^cF1 it works as CTRL+F1, but this
is a problem for me to use that unusual key combination.

My keyboard is set as XLATE (ASCII 8bit) and with the linux command
"showkey" I can see 4byte combination, for example the CONTROL+F1
combination give me this 4 hex bytes: 0x1D 0x3B 0xBB 0x9D
How can I modify kbd_slang.c to match this keycodes??
Otherwise, there is a simple way to remapping CTRL+Fn/ALT+Fn ???

Thank you in advance
Paolo

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Console]     [Linux Audio]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Linux Media]     [Fedora Users]

  Powered by Linux