On Sun, 30 Jul 2000, Urban Widmark wrote:
> The lack of support in dosemu for mice using the IMPS/2 protocol forces me
> to either not use the wheel in X (ps/2 mode, works fine in dosemu) or
> close X before starting dosemu (xdos is not an option). Not very fun :(
What's the problem with xdos? Too slow or not fullscreen or it doesn't
work or you can't tell?
> Searching the archives for a solution I found at least one recent post
> from someone with the same problem, and a negative answer if there was a
> fix/workaround. After failing to get gpm to do anything useful with -R I
> decided to try and copy the imps2 bits from gpm.
The method with gpm -R would be as follows:
start gpm with "gpm -R -t imps2". However, the redirector uses the
mousesystems protocol; in dosemu.conf you then have:
$_com1 = ""
$_mouse = "mousesystems"
$_mouse_dev = "/dev/gpmdata"
without a DOS mouse driver (using the internal mouse driver).
OR
$_com1 = "/dev/gpmdata"
$_mouse = "mousesystems"
$_mouse_dev = "com1"
with a DOS mouse driver.
The first of these two methods is recommended.
> I know almost nothing about dosemu internals so this is probably the wrong
> way to do it. But it does work (for me, for imps2, maybe everything else
> is broken instead :) It would be nice to see imps2 supported by dosemu,
> maybe this can help someone do it properly.
Looking at the patch, there seems to be nothing wrong with it. Thanks very
much. Hans Lermen has to decide whether to include in DOSEMU, but I think
there is not much in the way of putting it into both dosemu 1.0.2 and
1.1.1.
One tiny thing:
+ static unsigned char proto[10][5] = {
should be
+ static unsigned char proto[11][5] = {
since you added two new entries?
Bart