public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Bypassing hitting Enter under dosemu
@ 2005-01-13  0:24 Ralph Alvy
  2005-01-30  2:25 ` Clarence Dang
  0 siblings, 1 reply; 14+ messages in thread
From: Ralph Alvy @ 2005-01-13  0:24 UTC (permalink / raw)
  To: linux-msdos

How does one avoid having to hit Enter when loading dosemu in a console
session?


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bypassing hitting Enter under dosemu
  2005-01-13  0:24 Bypassing hitting Enter under dosemu Ralph Alvy
@ 2005-01-30  2:25 ` Clarence Dang
  2005-01-30  7:33   ` Ralph Alvy
  0 siblings, 1 reply; 14+ messages in thread
From: Clarence Dang @ 2005-01-30  2:25 UTC (permalink / raw)
  To: Ralph Alvy, linux-msdos

On Thu, 13 Jan 2005 11:24 am, Ralph Alvy wrote:
> How does one avoid having to hit Enter when loading dosemu in a console
> session?
>
Edit the "dosemu" script or (but I haven't tested this recently) create the 
file ~/.dosemu/stamp-dosemu.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bypassing hitting Enter under dosemu
  2005-01-30  2:25 ` Clarence Dang
@ 2005-01-30  7:33   ` Ralph Alvy
  2005-02-17 21:18     ` DOS's hotkeys and KDE Alain
  2005-07-05 10:29     ` Bypassing hitting Enter under dosemu Clarence Dang
  0 siblings, 2 replies; 14+ messages in thread
From: Ralph Alvy @ 2005-01-30  7:33 UTC (permalink / raw)
  To: linux-msdos

Clarence Dang wrote:

> On Thu, 13 Jan 2005 11:24 am, Ralph Alvy wrote:
>> How does one avoid having to hit Enter when loading dosemu in a console
>> session?
>>
> Edit the "dosemu" script or (but I haven't tested this recently) create
> the file ~/.dosemu/stamp-dosemu.

What exactly is the file stamp-dosemu? I have one in that directory, but
it's zero length.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* DOS's hotkeys and KDE
  2005-01-30  7:33   ` Ralph Alvy
@ 2005-02-17 21:18     ` Alain
  2005-02-18  2:43       ` Ralph Alvy
  2005-07-05 10:29     ` Bypassing hitting Enter under dosemu Clarence Dang
  1 sibling, 1 reply; 14+ messages in thread
From: Alain @ 2005-02-17 21:18 UTC (permalink / raw)
  To: Dosemu

How can I avoid that keystrokes like <Alt+F2> or <Alt+F5> get 
interpreted by KDE in XDOSEMU?

The probem is that I need a lot of these hotkeys for NDN and my Editor 
and various popup windows keep getting in the way :(

I re-read the docs a few times, but I must have missed something...

thanks,
Alain

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: DOS's hotkeys and KDE
  2005-02-17 21:18     ` DOS's hotkeys and KDE Alain
@ 2005-02-18  2:43       ` Ralph Alvy
  2005-02-21 20:18         ` Alain
  0 siblings, 1 reply; 14+ messages in thread
From: Ralph Alvy @ 2005-02-18  2:43 UTC (permalink / raw)
  To: linux-msdos

Alain wrote:

> How can I avoid that keystrokes like <Alt+F2> or <Alt+F5> get
> interpreted by KDE in XDOSEMU?
> 

Control Center
Regional and Accessibility
Keyboard Shortcuts


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: DOS's hotkeys and KDE
  2005-02-18  2:43       ` Ralph Alvy
@ 2005-02-21 20:18         ` Alain
  2005-02-22 14:39           ` Ralph Alvy
  0 siblings, 1 reply; 14+ messages in thread
From: Alain @ 2005-02-21 20:18 UTC (permalink / raw)
  To: Dosemu

Thanks Ralph and Andris,

This is the general approach that I had already used, but isn't there a 
configuration specific por DOSEMU or in KDE for a specific window?

I am using KDE 3.2, and will move to 3.3 only in +- 2 months when 
Mandrake 10.2 is out. (all my atempts to upgrade Kde/Kdevelop were a 
complete disaster)

Alain

Ralph Alvy escreveu:
> Alain wrote:
> 
> 
>>How can I avoid that keystrokes like <Alt+F2> or <Alt+F5> get
>>interpreted by KDE in XDOSEMU?
>>
> 
> 
> Control Center
> Regional and Accessibility
> Keyboard Shortcuts
> 
> -
> 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
> 
> 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: DOS's hotkeys and KDE
  2005-02-21 20:18         ` Alain
@ 2005-02-22 14:39           ` Ralph Alvy
  0 siblings, 0 replies; 14+ messages in thread
From: Ralph Alvy @ 2005-02-22 14:39 UTC (permalink / raw)
  To: linux-msdos

If you find one, I'd love to know what it is. I would love to keep this to
specific windows too.

Alain wrote:

> Thanks Ralph and Andris,
> 
> This is the general approach that I had already used, but isn't there a
> configuration specific por DOSEMU or in KDE for a specific window?
> 
> I am using KDE 3.2, and will move to 3.3 only in +- 2 months when
> Mandrake 10.2 is out. (all my atempts to upgrade Kde/Kdevelop were a
> complete disaster)
> 
> Alain
> 
> Ralph Alvy escreveu:
>> Alain wrote:
>> 
>> 
>>>How can I avoid that keystrokes like <Alt+F2> or <Alt+F5> get
>>>interpreted by KDE in XDOSEMU?
>>>
>> 
>> 
>> Control Center
>> Regional and Accessibility
>> Keyboard Shortcuts
>> 
>> -
>> 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
>> 
>> 
> -
> 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



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: DOS's hotkeys and KDE
@ 2005-02-22 19:46 Stas Sergeev
  0 siblings, 0 replies; 14+ messages in thread
From: Stas Sergeev @ 2005-02-22 19:46 UTC (permalink / raw)
  To: linux-msdos

Hello.

Alain wrote:
> This is the general approach that I had already used, but isn't there a 
> configuration specific por DOSEMU or in KDE for a specific window?
One thing you can do is to find
the line in X.c of dosemu sources:
#undef ENABLE_KEYBOARD_GRAB
and change it to
#define ENABLE_KEYBOARD_GRAB 1
Then when you enable the mouse grab,
the keyboard grab will also be enabled,
and so all the keyboard events will
be passed to the dosemu window
exclusively.
One may want to make it a dosemu.conf
option, as well as decouple from the
mouse grab - that shouldn't be too
difficult.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: DOS's hotkeys and KDE
@ 2005-02-25 17:31 Stas Sergeev
  2005-02-26  4:34 ` Ralph Alvy
  0 siblings, 1 reply; 14+ messages in thread
From: Stas Sergeev @ 2005-02-25 17:31 UTC (permalink / raw)
  To: linux-msdos

Hello.

Ralph Alvy wrote:
> If you find one, I'd love to know what it is.
> I would love to keep this to specific windows too.
It looks like enabling the mouse grab
also enables the keyboard grab. So have
you tried simply pressing Ctrl-Alt-Home 
to make xdosemu to steal all the keystrokes
from your WM?


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: DOS's hotkeys and KDE
  2005-02-25 17:31 Stas Sergeev
@ 2005-02-26  4:34 ` Ralph Alvy
  0 siblings, 0 replies; 14+ messages in thread
From: Ralph Alvy @ 2005-02-26  4:34 UTC (permalink / raw)
  To: linux-msdos

Stas Sergeev wrote:

> Hello.
> 
> Ralph Alvy wrote:
>> If you find one, I'd love to know what it is.
>> I would love to keep this to specific windows too.
> It looks like enabling the mouse grab
> also enables the keyboard grab. So have
> you tried simply pressing Ctrl-Alt-Home
> to make xdosemu to steal all the keystrokes
> from your WM?

Ctrl-Alt-Home disables the mouse, once it move into the xdosemu window. But
the KDE keybindings are still in effect. So I must disable them in the KDE
settings page to keep them from affecting the xdosemu window.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: DOS's hotkeys and KDE
@ 2005-02-26  9:31 Stas Sergeev
  2005-02-27 22:35 ` Ralph Alvy
  2005-02-27 22:42 ` Ralph Alvy
  0 siblings, 2 replies; 14+ messages in thread
From: Stas Sergeev @ 2005-02-26  9:31 UTC (permalink / raw)
  To: linux-msdos

Hello.

Ralph Alvy wrote:
> Ctrl-Alt-Home disables the mouse, once it move into the xdosemu window. 
> But the KDE keybindings are still in effect.
Does Ctrl-Alt-Home work any better if
you first change the
#undef ENABLE_KEYBOARD_GRAB
to
#define ENABLE_KEYBOARD_GRAB 1
in X.c of dosemu sources and
recompile?

Another thing to try is Ctrl-Alt-f
which will make dosemu to enter
fullscreen mode, where the KDE
keybindings should not be in effect
(no KDE here to try myself, sorry).


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: DOS's hotkeys and KDE
  2005-02-26  9:31 Stas Sergeev
@ 2005-02-27 22:35 ` Ralph Alvy
  2005-02-27 22:42 ` Ralph Alvy
  1 sibling, 0 replies; 14+ messages in thread
From: Ralph Alvy @ 2005-02-27 22:35 UTC (permalink / raw)
  To: linux-msdos

Stas Sergeev wrote:

> Hello.
> 
> Ralph Alvy wrote:
>> Ctrl-Alt-Home disables the mouse, once it move into the xdosemu window.
>> But the KDE keybindings are still in effect.
> Does Ctrl-Alt-Home work any better if
> you first change the
> #undef ENABLE_KEYBOARD_GRAB
> to
> #define ENABLE_KEYBOARD_GRAB 1
> in X.c of dosemu sources and
> recompile?

Just tried that for you with 1.2.2 sources. I reset KDE to use Alt-F4 to
close a window (KDE default). With the above change to X.c, and
recompiling, Ctrl-Alt-Home disables the mouse and all KDE keybindings
successfully.

> Another thing to try is Ctrl-Alt-f
> which will make dosemu to enter
> fullscreen mode, where the KDE
> keybindings should not be in effect
> (no KDE here to try myself, sorry).

When I do this, KDE keybindings are disabled successfully, and, unlike the
other approach, the I can still use the mouse in that xdosemu session.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: DOS's hotkeys and KDE
  2005-02-26  9:31 Stas Sergeev
  2005-02-27 22:35 ` Ralph Alvy
@ 2005-02-27 22:42 ` Ralph Alvy
  1 sibling, 0 replies; 14+ messages in thread
From: Ralph Alvy @ 2005-02-27 22:42 UTC (permalink / raw)
  To: linux-msdos

Stas Sergeev wrote:

> Hello.
> 
> Ralph Alvy wrote:
>> Ctrl-Alt-Home disables the mouse, once it move into the xdosemu window.
>> But the KDE keybindings are still in effect.
> Does Ctrl-Alt-Home work any better if
> you first change the
> #undef ENABLE_KEYBOARD_GRAB
> to
> #define ENABLE_KEYBOARD_GRAB 1
> in X.c of dosemu sources and
> recompile?

Just tried that for you with 1.2.2 sources. With the above change to X.c,
and recompiling, Ctrl-Alt-Home disables the mouse and all KDE keybindings
successfully.

> Another thing to try is Ctrl-Alt-f
> which will make dosemu to enter
> fullscreen mode, where the KDE
> keybindings should not be in effect
> (no KDE here to try myself, sorry).
Stas Sergeev wrote:

When I do this, KDE keybindings are disabled successfully, and, unlike the
other approach, I can still use the mouse in that xdosemu session.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bypassing hitting Enter under dosemu
  2005-01-30  7:33   ` Ralph Alvy
  2005-02-17 21:18     ` DOS's hotkeys and KDE Alain
@ 2005-07-05 10:29     ` Clarence Dang
  1 sibling, 0 replies; 14+ messages in thread
From: Clarence Dang @ 2005-07-05 10:29 UTC (permalink / raw)
  To: linux-msdos; +Cc: Ralph Alvy

On Sunday 30 January 2005 18:33, Ralph Alvy wrote:
> Clarence Dang wrote:
> > On Thu, 13 Jan 2005 11:24 am, Ralph Alvy wrote:
> >> How does one avoid having to hit Enter when loading dosemu in a console
> >> session?
> >
> > Edit the "dosemu" script or (but I haven't tested this recently) create
> > the file ~/.dosemu/stamp-dosemu.
>
> What exactly is the file stamp-dosemu? I have one in that directory, but
> it's zero length.
>
[yes, I am aware that my reply is 6 months later, sorry]

Hmm, actually, after the first time, you shouldn't need to hit Enter at all.  
The "dosemu" script prints this:

~~~~
   DOSEMU will run on _this_ terminal.
   To exit you need to execute 'exitemu' from within DOS,
   because <Ctrl>-C and 'exit' won't work!

   Now type ENTER to start DOSEMU or <Ctrl>C to cancel
~~~~

and creates "stamp-dosemu" the first time it runs.  Next time, it skips the 
message if it finds "stamp-dosemu".

So what exactly is being printed before you have to press Enter?  What version 
are you using?



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-07-05 10:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-13  0:24 Bypassing hitting Enter under dosemu Ralph Alvy
2005-01-30  2:25 ` Clarence Dang
2005-01-30  7:33   ` Ralph Alvy
2005-02-17 21:18     ` DOS's hotkeys and KDE Alain
2005-02-18  2:43       ` Ralph Alvy
2005-02-21 20:18         ` Alain
2005-02-22 14:39           ` Ralph Alvy
2005-07-05 10:29     ` Bypassing hitting Enter under dosemu Clarence Dang
  -- strict thread matches above, loose matches on Subject: below --
2005-02-22 19:46 DOS's hotkeys and KDE Stas Sergeev
2005-02-25 17:31 Stas Sergeev
2005-02-26  4:34 ` Ralph Alvy
2005-02-26  9:31 Stas Sergeev
2005-02-27 22:35 ` Ralph Alvy
2005-02-27 22:42 ` Ralph Alvy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox