Just to elaborate on what Stas said....

On Thu, 10 Mar 2005, Ryan Underwood wrote:

> When dosemu is built with libgpm support, what $_mouse and $_mouse_dev
> should be used?

these settings are irrelevant when libgpm is used. libgpm is only used for
the console in terminal mode, that is, when dosemu is as useful as when
you run it in an xterm (no graphics, just text mode).

This is sometimes useful because VC switching is much smoother if you run
dosemu in terminal mode than in console graphics, and it doesn't sacrifice
security either.

But since 99% of all Linux desktop users seem to use X 100% of the time it
is not really so important I think.

> When they are commented out, no DOS program can see
> the mouse.  $_mouse = (microsoft) and $_mouse_dev = "/dev/gpmdata"
> works, but I thought this was not supposed to be necessary when libgpm
> is used.

It is necessary. The long story is that dosemu sends an ioctl(console_fd,
KDSETMODE, KD_GRAPHICS); because once the VBIOS does all its stuff all the
Linux console management goes out of the window and gpm can't trust it
anymore.

For 2.6 kernels it would perhaps be simpler to use the mouse event device
instead of all this manual business.

It doesn't quite help that by the standard of "dead" that was used in
the threads here, gpm is very much dead by now. libgpm can also be binary
incompatible from one distro to another one which is another PITA for the
binaries on dosemu.org.

Bart
-
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

Reply via email to