Skip to contentSkip to conversation

Shift Tab not working in dosemu 1.0.2.1

DISCUSSION Ralph Alvy 4 participants 8 messages Jun 28, 2003

lore
Share & tools
lore

Ralph Alvy

author
#0 lore raw

I'm running dosemu 1.0.2.1 under RedHat 8, using MSDOS as my dos environment. I notice that Shift Tab doesn't work in dosemu sessions. is there a way to make it work?

I also notice that in an X Window, dosemu fails to trap key combos like Alt-F4. That is, Alt-F4 closes the window instead of being used by the active DOS application. Is there a way to configure around this?

#1 lore raw
Quoted 8 lines · Ralph Alvy

I'm running dosemu 1.0.2.1 under RedHat 8, using MSDOS as my dos environment. I notice that Shift Tab doesn't work in dosemu sessions. is there a way to make it work?

I also notice that in an X Window, dosemu fails to trap key combos like Alt-F4. That is, Alt-F4 closes the window instead of being used by the active DOS application. Is there a way to configure around this?

/etc/dosemu/dosemu.conf
$_rawkeyboard = (1) # bypass normal keyboard input, maybe dangerous

Signature · 1 line
no pain no gain
author
#2 lore raw
Quoted 7 lines · mrvoland
Quoted 4 lines · Ralph Alvy

I'm running dosemu 1.0.2.1 under RedHat 8, using MSDOS as my dos environment. I notice that Shift Tab doesn't work in dosemu sessions. is there a way to make it work?

Quoted 8 lines
Quoted 4 lines

I also notice that in an X Window, dosemu fails to trap key combos like Alt-F4. That is, Alt-F4 closes the window instead of being used by the active DOS application. Is there a way to configure around this?

/etc/dosemu/dosemu.conf
$_rawkeyboard = (1) # bypass normal keyboard input, maybe dangerous

Hmmm...tried this, but it fails. I also tried all combinations of $_rawkeyboard and $_kybint, but none allow for Shift Tab.

#3 lore raw
Quoted 11 lines · Ralph Alvy
Quoted 7 lines · mrvoland
Quoted 3 lines

I'm running dosemu 1.0.2.1 under RedHat 8, using MSDOS as my dos environment. I notice that Shift Tab doesn't work in dosemu sessions. is there a way to make it work?

/etc/dosemu/dosemu.conf
$_rawkeyboard = (1) # bypass normal keyboard input, maybe dangerous

Hmmm...tried this, but it fails. I also tried all combinations of $_rawkeyboard and $_kybint, but none allow for Shift Tab.

these options are only effective on the console. If you're using "dosemu" then try "xdosemu". For "xdosemu" you might want to try alt+shift+tab or some other combo, or configure your window manager so that it doesn't steal the key.

Bart

author
#4 lore raw
Quoted 10 lines · Bart Oldeman
Quoted 2 lines

Hmmm...tried this, but it fails. I also tried all combinations of $_rawkeyboard and $_kybint, but none allow for Shift Tab.

these options are only effective on the console. If you're using "dosemu" then try "xdosemu". For "xdosemu" you might want to try alt+shift+tab or some other combo, or configure your window manager so that it doesn't steal the key.

Bart

Thanks, Bart. I'll try these options on the console. Speaking of using console, I remember there being a way to force close a console session in the event of a hung application, but I can't seem to find the combination of keys to do that. I thought it was something like Ctrl-Alt-PgDn, but that fails to close the console. I need this because I'm trying to tweak my dosemu.conf in an attempt to see if I can get a certain app to stop hanging the session. In xdosemu, the hang stops with a movement of the mouse. In console, this fails to undo the hang, even though I see the pointer move on the screen in console when I move the mouse.

I'm using RedHat 8.

#5 lore raw

if you cannot switch to a vitrual console, then testing this in X would be easier to close the window when it hangs, other than that, i'm not sure.

Quoted 31 lines · Ralph Alvy
Quoted 10 lines · Bart Oldeman
Quoted 2 lines

Hmmm...tried this, but it fails. I also tried all combinations of $_rawkeyboard and $_kybint, but none allow for Shift Tab.

these options are only effective on the console. If you're using "dosemu" then try "xdosemu". For "xdosemu" you might want to try alt+shift+tab or some other combo, or configure your window manager so that it doesn't steal the key.

Bart

Thanks, Bart. I'll try these options on the console. Speaking of using console, I remember there being a way to force close a console session in the event of a hung application, but I can't seem to find the combination of keys to do that. I thought it was something like Ctrl-Alt-PgDn, but that fails to close the console. I need this because I'm trying to tweak my dosemu.conf in an attempt to see if I can get a certain app to stop hanging the session. In xdosemu, the hang stops with a movement of the mouse. In console, this fails to undo the hang, even though I see the pointer move on the screen in console when I move the mouse.

I'm using RedHat 8.

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

author
#6 lore raw
Quoted 1 line · Justin Zygmont

if you cannot switch to a vitrual console, then testing this in X would be easier to close the window when it hangs, other than that, i'm not sure.

Oh, I can switch out of the console with the hung dos app, but I can't logout of that console and then start again. Or at least I don't know how to.

#7 lore raw
Quoted 7 lines · Ralph Alvy
Quoted 2 lines · Justin Zygmont

if you cannot switch to a vitrual console, then testing this in X would be easier to close the window when it hangs, other than that, i'm not sure.

Oh, I can switch out of the console with the hung dos app, but I can't logout of that console and then start again. Or at least I don't know how to.

you'd have to switch to another vc, kill the dosemu from there and switch back.

Or use
Ctrl-6 c Ctrl-6 a PgDn
(on a US keyboard) which simulates ctrl-alt-pgdn in terminal mode. Hit Ctrl-6 h
for help.

Note that in 1.0.2.1 (as opposed to 1.1.5) $_rawkeyboard does not work unless you are root or make dosemu.bin suid-root. In general at this stage it would be worth trying dosemu 1.1.5 if you encounter problems with 1.0.2.1.

The shift-alt-f4 trick has nothing to do with the console, that's just for X.

Bart