From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 2 Dec 1996 12:38:18 +0100 From: Borja Marcos borjam@we.lc.ehu.es Subject: 3-button mice and clearing dtr Topicbox-Message-UUID: 5317de86-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19961202113818.SN84jRNCS5eVKzDnuZB7pGPYM_kfp2XJ1lg1oH9xP_Q@z> > > If your mouse is like mine, and reverts to 2-button behaviour > if dtr is reasserted, you'll find that the suggestion from > forsyth@plan9.cs.york.ac.uk: > > > 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.lc.ehu.es Alangoeta, 11 1 izq * borjam@well.com 48990 - Algorta (Vizcaya) * CompuServe: 100015,3502 SPAIN * *********************************************************************** (c)1995 by the author. This message cannot be transferred to the Microsoft(tm) Network.