From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MOFZx-0006Lq-7t for mharc-grub-devel@gnu.org; Tue, 07 Jul 2009 14:39:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOFZv-0006Kc-L0 for grub-devel@gnu.org; Tue, 07 Jul 2009 14:39:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOFZq-0006HV-M3 for grub-devel@gnu.org; Tue, 07 Jul 2009 14:39:42 -0400 Received: from [199.232.76.173] (port=36923 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOFZq-0006HR-AK for grub-devel@gnu.org; Tue, 07 Jul 2009 14:39:38 -0400 Received: from aybabtu.com ([69.60.117.155]:50587) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MOFZp-0006b8-Qh for grub-devel@gnu.org; Tue, 07 Jul 2009 14:39:38 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1MOEVP-00064i-Iu for grub-devel@gnu.org; Tue, 07 Jul 2009 19:31:00 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1MOFZl-0003oO-8W for grub-devel@gnu.org; Tue, 07 Jul 2009 20:39:33 +0200 Date: Tue, 7 Jul 2009 20:39:33 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090707183933.GA14645@thorin> References: <20090704201846.GD27480@thorin> 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.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Subject: Re: Some ideas about new features of grub 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 Jul 2009 18:39:43 -0000 On Sun, Jul 05, 2009 at 11:13:25AM +0800, Bean wrote: > Hi, > > >> LUA integration. > >> LUA is quite powerful, it's more suitable to do complicated task than > >> sh script. For example, we can use it to detect os at runtime, > >> implement simple commands, or draw the graphic menu. > > > > I don't mind LUA being supported, but I think it's unnecessarily big > > for the task GRUB is usually going to perform (the canonical example > > of that is in the default grub.cfg) in the majority of cases.  I'd > > like to see *that* use case made more robust instead of switching to > > something else to obtain a flexibility we don't currently need. > > With LUA, we can have a more user friendly interface. I like way rEFIt > works, it doesn't require configuration. At runtime, it detects os and > shows an icon for each of them. We can achieve similar goal using lua. > Of course, advanced user can write the menu manually, but for most > user, a smart auto-generated menu may be more appealing. But we have grub-mkconfig for that. This is what distributions shipping GRUB are using. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."