From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Gaggini Subject: Re: CTRL+Fn and ALT+Fn mappings Date: Wed, 03 Oct 2007 08:55:07 +0200 Message-ID: <47033CCB.7060907@gseserver.net> References: <4702742C.7060201@gseserver.net> <200710030843.58095.clarencedang@yahoo.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200710030843.58095.clarencedang@yahoo.com> Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org 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@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html