9fans archive / 1996 / 12 / 14 / prev next From: Borja Marcos borjam@we.... Subject: 3-button mice and clearing dtr Date: Mon, 2 Dec 1996 12:38:18 +0100 (MET) > > If your mouse is like mine, and reverts to 2-button behaviour > if dtr is reasserted, you'll find that the suggestion from > forsyth@pla...: > > > change aux/mouse.c > > > > add a timedwrite(ctl, "d0", 2) > > doesn't do the trick. aux/mouse finishes by writing a "serial ..." > command to /dev/mousectl, which causes the kernel to raise dtr > and then lock the serial port so it can't be changed again. > > A sensible solution would probably require adding a new parameter > to aux/mouse, and to routines serialmouse() and uartspecial() in the > kernel. Or buying a proper three-button mouse. You an also adopt the bloody, hardware-based solution :-) Borja. -- *********************************************************************** Borja Marcos * Internet: borjam@we.... Alangoeta, 11 1 izq * borjam@wel... 48990 - Algorta (Vizcaya) * CompuServe: 100015,3502 SPAIN * *********************************************************************** (c)1995 by the author. This message cannot be transferred to the Microsoft(tm) Network.