From kragen@dnaco.net Mon Sep 21 19:43:46 1998 -0400
Date: Mon, 21 Sep 1998 19:43:44 -0400 (EDT)
From: Kragen <kragen@dnaco.net>
To: "Eric W. Biederman" <ebiederm@inetnebr.com>
cc: Stefan Birmanns <stefan.birmanns@gmx.de>, linux-msdos@vger.rutgers.edu
Subject: Re: Mouse Problem under X
In-Reply-To: <m1af3twdji.fsf@flinx.npwt.net>
Message-ID: <Pine.GSO.4.02.9809211938150.1399-100000@pike.dnaco.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Keywords:
X-UID: 2062
Status: O
X-Status: 

On 21 Sep 1998, Eric W. Biederman wrote:
> The mouse driver in 0.98.1 is much improved with respect to X.
> There are two ways applications can use the mouse.
> 
> Read the relative amount of movement. (The bad way)
> Read the mouse position from the mouse driver. (The good way)
> 
> All applications that use the good way should work in xdos without problems.

Some applications use the mouse for something other than indicating a
position, and thus must use the "bad" way.

> Applications that use the bad way we should come close.
> There is the _X_mgrab_key  option that allows grabbing the mouse cursor in X
> and keeping it in the xdos window so applications that only read relative
> mouse movements should work fine.

If I move the mouse out of the top of the window, around the window,
and back into the bottom of the window, can I get reasonable behavior?
A sudden large negative move on re-entry in not reasonable behavior for
Fractint, which uses mouse moves to resize, skew, and change the aspect
ratio on a zoom box, among other things, nor for Doom, which uses mouse
movements to move your character.

I'm still using 0.66.7, and I haven't figured out what its mouse
handling does yet.  I'd like to just use it in plain DOS mode, but I'm
afraid I'll hang my video card.

The _X_mgrab_key option sounds reasonably good.

What I'd *really* like is a mind-reading interface, which keeps my
mouse movements confined to Fractint while I want to adjust things in
Fractint, and then lets me move the mouse onto the next virtual screen
(I'm using Afterstep) to check my email when I want to.  Obviously this
is impossible.

How close is _X_mgrab_key?  Is there any indication of what the key is
at run-time?  Or do I have to 'less /etc/dosemu.conf' to find it?

Kragen

-- 
<kragen@pobox.com>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
The sages do not believe that making no mistakes is a blessing. They believe, 
rather, that the great virtue of man lies in his ability to correct his 
mistakes and continually make a new man of himself.  -- Wang Yang-Ming


