Skip to contentSkip to conversation

keys under dosemu

DISCUSSION ray field 2 participants 4 messages Jan 17, 2009 – Jan 25, 2009

lore
Share & tools
lore

ray field

author
#0 lore raw

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

#1 lore raw
Quoted 15 lines · ray field

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

Signature · 12 lines
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
author
#2 lore raw
Quoted 10 lines

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.

Quoted 2 lines

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.

are you suggesting that since I know that the value of the keystroke, I can use a keyboard statement in dosemu.conf?

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

Quoted 3 lines · Frantisek Hanzlik
Quoted 2 lines · ray field

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.

Quoted 2 lines
Quoted 2 lines

* In WyWrite I am used to using Alt-Backspace (to delete the previous word) --

for

Quoted 1 line
Quoted 1 line

so long, it's now second nature. Searching "dosemu alt-backspace" keeps

yielding

Quoted 2 lines
Quoted 2 lines

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

Quoted 1 line
Quoted 1 line

least in DOSemu!)" Is this true, and if so, is there any chance a future DOSemu

(or

Quoted 21 lines
Quoted 7 lines

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

Signature · 12 lines
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
#3 lore raw
Quoted 10 lines · ray field
Quoted 10 lines

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.

Quoted 8 lines
Quoted 2 lines

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.

Quoted 3 lines

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

Quoted 58 lines

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

Quoted 3 lines · Frantisek Hanzlik
Quoted 2 lines · ray field

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.

Quoted 1 line
Quoted 1 line

* In WyWrite I am used to using Alt-Backspace (to delete the previous word) --

for

Quoted 1 line
Quoted 1 line

so long, it's now second nature. Searching "dosemu alt-backspace" keeps

yielding

Quoted 2 lines
Quoted 2 lines

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

Quoted 1 line
Quoted 1 line

least in DOSemu!)" Is this true, and if so, is there any chance a future DOSemu

(or

Quoted 20 lines
Quoted 7 lines

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