From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LqzNP-0002CU-1l for mharc-grub-devel@gnu.org; Mon, 06 Apr 2009 20:41:19 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LqzNM-0002CG-Sy for grub-devel@gnu.org; Mon, 06 Apr 2009 20:41:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LqzNL-0002AW-IZ for grub-devel@gnu.org; Mon, 06 Apr 2009 20:41:15 -0400 Received: from [199.232.76.173] (port=48824 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LqzNL-0002AQ-EA for grub-devel@gnu.org; Mon, 06 Apr 2009 20:41:15 -0400 Received: from mail.nexedi.com ([91.121.25.85]:50406 helo=nexedi.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LqzNL-0000jW-35 for grub-devel@gnu.org; Mon, 06 Apr 2009 20:41:15 -0400 Received: from [10.8.0.46] (unknown [10.8.0.46]) by nexedi.com (Postfix) with ESMTP id 208E23D9F7 for ; Tue, 7 Apr 2009 02:41:13 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Tue, 7 Apr 2009 09:41:12 +0900 User-Agent: KMail/1.9.10 References: <200904060043.03075.okuji@enbug.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904070941.12625.okuji@enbug.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATCH] Split of normal mode (version 2) 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: Tue, 07 Apr 2009 00:41:17 -0000 On Tuesday 07 April 2009 01:39:23 Bean wrote: > Hi, > > This is another update of the patch. Thank you. I will review your patch and send comments tonight. Regards, Okuji > 1, Now completion.c is in menu.mod, and menu_viewer.c is in misc.mod, > the reason for the switch is to allow configfile to depend on misc.mod > only. > 2, Auto generate handler.lst file, which contain module information > for handlers. normal.mod uses it to register commands to set active > handler, for example: > > parser.sh > menu_viewer.text > terminal_output.gfxterm > > 3, configfile now support an optional parameter to specify the script > engine, for example: > > configfile /aa.cfg sh > > When configfile returns, the script engine would be restored to the > previous value. This is useful for switching script engine. For > example, you can parse a file in another language, then switch back to > sh for the rest of grub.cfg. > > 4, normal.mod set the default parser and menu viewer before parsing > grub.cfg: parser.sh > menu_viewer.text