From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K1ejE-0007v6-LB for mharc-grub-devel@gnu.org; Thu, 29 May 2008 05:47:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1ejD-0007uh-3W for grub-devel@gnu.org; Thu, 29 May 2008 05:47:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1ejC-0007tv-7F for grub-devel@gnu.org; Thu, 29 May 2008 05:47:22 -0400 Received: from [199.232.76.173] (port=41000 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1ejB-0007ts-UN for grub-devel@gnu.org; Thu, 29 May 2008 05:47:22 -0400 Received: from aybabtu.com ([69.60.117.155]:57477) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K1ejB-00028Q-AJ for grub-devel@gnu.org; Thu, 29 May 2008 05:47:21 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1K1eio-0000lR-2C for grub-devel@gnu.org; Thu, 29 May 2008 11:46:59 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1K1eim-0007Iv-Ea for grub-devel@gnu.org; Thu, 29 May 2008 11:46:56 +0200 Date: Thu, 29 May 2008 11:46:56 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080529094656.GB27809@thorin> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Sugguestion: separate input and output driver X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2008 09:47:23 -0000 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 I know my rights; I want my phone call! What good is a phone call… if you are unable to speak? (as seen on /.)