[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sugguestion: separate input and output driver
From: |
Robert Millan |
Subject: |
Re: Sugguestion: separate input and output driver |
Date: |
Thu, 29 May 2008 11:46:56 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Thu, May 29, 2008 at 04:09:54PM +0800, Bean wrote:
> Currently, input and output are bundled together, this make it quite
> difficult to extend.
>
> Input:
> Keyboard, Serial
>
> Output:
> Text mode, Video mode
>
> Now, the binding is fixed using individual module:
>
> Keyboard + Text = console
> Keyboard + Video = gfxterm
> Serial + Text = serial
> Serial + Video = ?
>
> And there are mixing as well.
>
> If we separate them, it would make things much clear. For example, the
> grub_term structure can be split into two mutually exclusive parts:
I've been wanting to do this for a while, but never had time for it.
Other annoying situations this would solve are:
at_keyboard + ofconsole (currently done with an ifdef hack)
usb_keyboard + (vga_term | bios_console)
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)