From owner-cvs-all Mon Nov 15 2:49:22 1999 Delivered-To: cvs-all@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id CE25615000; Mon, 15 Nov 1999 02:49:14 -0800 (PST) (envelope-from sobomax@altavista.net) Received: from vega.vega.com (dialup5-51.iptelecom.net.ua [212.9.227.51]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id MAA11395; Mon, 15 Nov 1999 12:52:02 +0200 (EET) Received: from altavista.net (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.9.3/8.9.3) with ESMTP id MAA73488; Mon, 15 Nov 1999 12:47:32 +0200 (EET) (envelope-from sobomax@altavista.net) Message-ID: <382FE4C3.AB3397CD@altavista.net> Date: Mon, 15 Nov 1999 12:47:31 +0200 From: Maxim Sobolev Reply-To: sobomax@altavista.net Organization: Vega International Capital X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Alexey Zelkin Cc: "Daniel O'Connor" , Mark Murray , cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, Kazutaka YOKOTA , Garrett Wollman , Peter Wemm , Bruce Evans Subject: Re: cvs commit: src/sys/dev/syscons scmouse.c src/sys/i386/conf References: <199911150828.KAA32612@gratis.grondar.za> <19991115124123.B1282@scorpion.crimea.ua> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Alexey Zelkin wrote: > hi, > > On Mon, Nov 15, 1999 at 07:06:00PM +1030, Daniel O'Connor wrote: > > > > In order to use an ioctl, you need to write nasty looking code, and in > > > cases like this, that ends up being horrors like rndcontrol(8). One > > > of the nice things about UNIX is its extremely general-purpose tools, > > > and these one-off ioctl-drivers break that. > > > > Why not make vidcontrol deal with it? It already handles console stuff. > > We already have following chunk in moused(8): > > -3 Emulate the third (middle) button for 2-button mice. It is emu- > lated by pressing the left and right physical buttons simultane- > ously. > > Isn't this code that you want to have by adding SC_TWOBUTTON_MOUSE ? No, it was clearly stated that SC_TWOBUTTON_MOUSE just remaps central button to the right button (-3 allows emulate central button by simulateneously pressing left and right). IMHO due to a weird timing it is *really* hard to press it simulatenuously with current settings, so -3 does not quite work (at least on my Toshiba laptop) while I have no problems at all with third button emulation under X. Therefore I'm voting for this option. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message