Subject: Re: Mouse console support
To: Lennart Augustsson <lennart@augustsson.net>
From: Bang Jun-Young <junyoung@mogua.com>
List: tech-kern
Date: 02/02/2002 03:46:53
On Fri, Feb 01, 2002 at 07:30:40PM +0100, Lennart Augustsson wrote:
> I feel that the general archtecture of the OpenBSD mouse stuff is
> questionable.  They have decided to have both userland and
> kernel stuff.  Fair enough, but once you have a userland daemon
> I would expect that you put as much there as possible.  I got the
> impression that the OpenBSD code had too much in the kernel (like
> code to decide about what you are selecting).
> Furthermore, it seems that this addition requires some addition to
> every machine dependent wscons driver.  This is really a bad design.
> Maybe wscons is designed that way, if it is, it should be changed
> so that things like wsmoused can be added without MD code.

I agree with you. Adding (*getchar)() to every underlying MD driver
is a bad idea. That's what I missed previously. *-) 

Jun-Young

-- 
Bang Jun-Young <junyoung@mogua.com>