From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frantisek Hanzlik Subject: Re: keys under dosemu Date: Sun, 25 Jan 2009 09:41:15 +0100 Message-ID: <497C25AB.8080905@hanzlici.cz> References: <0KDT00AMSVAZ7RB2@vms173007.mailsrvcs.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <0KDT00AMSVAZ7RB2@vms173007.mailsrvcs.net> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: ray field Cc: "linux-msdos@vger.kernel.org" ray field wrote: >> I just tried run small freeware DOS program "ScanCode Show" (scode.com >>from scode22.zip from Simtelnet) which display scancodes - as You can >> see on attached screenshot, both "Alt-Backspace" and "Ctrl-Insert" are >> captured by scode. >> And when I disable (by gnome-keybinding-properties prog) GNOME default >> binded keys ALT-F1, ALT-F2, ALT-F4, ALT-F8,... then these are available >> for DOSEMU programs as well. >> Then I think there isn't any problem use these combinations in Your DOS >> programs. >> >> Regards, >> Franta Hanzlik > > > ok, I've got some catching up to do, and the documentation assumes more comfort > & understanding than I have. > > I downloaded and ran scode, and obtained 0E00 as the value for ctrl-bkspace. For me it show 0E08 for bkspace (and shift-bkspace too), 0E7F for ctrl-bkspace and 0E00 for alt-bkspace. > > are you suggesting that since I know that the value of the keystroke, I can use a > keyboard statement in dosemu.conf? I think, when You disable capturing Your keys in Linux window manager (and/or X), then is no need for further configuration in dosemu.conf - You app obtain these keys equally as under plai DOS system. Franta Hanzlik > > I tried entering > > keyboard { layout us {alt 14=00E0} ... } > > which gave > > In file included from built-in global.conf:122 > from :122 > Error in /etc/dosemu/dosemu.conf: (line 672) unrecognized expression 'E0' > Error in /etc/dosemu/dosemu.conf: (line 672) syntax error > 2 error(s) detected while parsing the configuration-file > > I also tried > > keytable keyb-user {alt14=00E0} > > with similar results. I'm sure I am way off, though! > > thanks -- > > rafe > > On Wed, 21 Jan 2009 00:25:02 +0100, Frantisek Hanzlik wrote: > >> ray field wrote: >>> Trying to switch over from OS/2 to Ubuntu via this neat little eeePC. My primary >>> word processor is XyWrite, which runs fairly well under Dosemu for the most > part. >>> * In WyWrite I am used to using Alt-Backspace (to delete the previous word) -- > for >>> so long, it's now second nature. Searching "dosemu alt-backspace" keeps > yielding >>> references to "ctrl-alt-backspace" which isn't what I want. Finally I found that >>> someone says "Alt-Backspace and Ctrl-Insert... are not available for the BIOS > (at >>> least in DOSemu!)" Is this true, and if so, is there any chance a future DOSemu > (or >>> Freedos) will overcome this? >>> >>> * I'd also like to remap some of the default Linux/Dosemu keys -- for example, >>> Alt-F2 is very useful in Ubuntu for running a command, but while in Dosemu I'd >>> prefer to let XyWrite handle it. Is this possible? >>> >>> -Rafe Tennenbaum >> -- >> I just tried run small freeware DOS program "ScanCode Show" (scode.com >>from scode22.zip from Simtelnet) which display scancodes - as You can >> see on attached screenshot, both "Alt-Backspace" and "Ctrl-Insert" are >> captured by scode. >> And when I disable (by gnome-keybinding-properties prog) GNOME default >> binded keys ALT-F1, ALT-F2, ALT-F4, ALT-F8,... then these are available >> for DOSEMU programs as well. >> Then I think there isn't any problem use these combinations in Your DOS >> programs. >> >> Regards, >> Franta Hanzlik