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 /.) _______________________________________________ Grub-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/grub-devel
