From owner-cvs-all Mon Nov 15 2:29:52 1999 Delivered-To: cvs-all@freebsd.org Received: from sonet.crimea.ua (OTC-sl3-FLY.CRIS.NET [212.110.136.71]) by hub.freebsd.org (Postfix) with ESMTP id 18B1014C15; Mon, 15 Nov 1999 02:28:18 -0800 (PST) (envelope-from phantom@scorpion.crimea.ua) Received: (from uucp@localhost) by sonet.crimea.ua (8.8.8/8.8.8) with UUCP id MAA19774; Mon, 15 Nov 1999 12:26:49 +0300 (MSK) (envelope-from phantom@scorpion.crimea.ua) Received: (from phantom@localhost) by scorpion.crimea.ua (8.8.8/8.8.5+ssl+keepalive) id MAA05294; Mon, 15 Nov 1999 12:41:23 +0300 (MSK) Date: Mon, 15 Nov 1999 12:41:23 +0300 From: Alexey Zelkin To: "Daniel O'Connor" Cc: 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 Message-ID: <19991115124123.B1282@scorpion.crimea.ua> References: <199911150828.KAA32612@gratis.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.7i In-Reply-To: X-Operating-System: FreeBSD 2.2.7-RELEASE i386 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 ? -- /* Alexey Zelkin && phantom@cris.net */ /* Tavric National University && phantom@crimea.edu */ /* http://www.ccssu.crimea.ua/~phantom && phantom@FreeBSD.org */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message