From: Paolo Gaggini <paolo@gseserver.net>
To: linux-msdos@vger.kernel.org
Subject: Re: CTRL+Fn and ALT+Fn mappings
Date: Wed, 03 Oct 2007 08:55:07 +0200 [thread overview]
Message-ID: <47033CCB.7060907@gseserver.net> (raw)
In-Reply-To: <200710030843.58095.clarencedang@yahoo.com>
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
next prev parent reply other threads:[~2007-10-03 6:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-02 16:39 CTRL+Fn and ALT+Fn mappings Paolo Gaggini
2007-10-02 22:43 ` Clarence Dang
2007-10-03 6:55 ` Paolo Gaggini [this message]
2007-10-03 7:03 ` Bart Oldeman
2007-10-03 11:35 ` Paolo Gaggini
2007-10-03 14:03 ` [solved] " Paolo Gaggini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47033CCB.7060907@gseserver.net \
--to=paolo@gseserver.net \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox