From owner-cvs-all Mon Nov 15 0:36:47 1999 Delivered-To: cvs-all@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id 57FE114C2C; Mon, 15 Nov 1999 00:36:37 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (doconnor@cain [203.38.152.97]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id TAA00789; Mon, 15 Nov 1999 19:06:00 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199911150828.KAA32612@gratis.grondar.za> Date: Mon, 15 Nov 1999 19:06:00 +1030 (CST) From: "Daniel O'Connor" To: Mark Murray Subject: Re: cvs commit: src/sys/dev/syscons scmouse.c src/sys/i386/conf Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Kazutaka YOKOTA , Garrett Wollman , Peter Wemm , Bruce Evans Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On 15-Nov-99 Mark Murray wrote: > > This should be an ioctl. > Yukk! "ioctls are the garbage cans of system calls" - Kirk McKusick They still work pretty well. They're 'the garbage can' because you put things that don't fit the read/write model there. > 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. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message