From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1E4Msc-0006iH-QD for mharc-grub-devel@gnu.org; Sun, 14 Aug 2005 14:06:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E4MsU-0006gN-Ng for grub-devel@gnu.org; Sun, 14 Aug 2005 14:06:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E4MsO-0006dE-8P for grub-devel@gnu.org; Sun, 14 Aug 2005 14:06:30 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E4MsO-0006cX-00 for grub-devel@gnu.org; Sun, 14 Aug 2005 14:06:28 -0400 Received: from [212.43.237.68] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E4N3i-0003SF-5h for grub-devel@gnu.org; Sun, 14 Aug 2005 14:18:10 -0400 Received: from ASSP-nospam (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 3B6E2FF65C04 for ; Sun, 14 Aug 2005 20:02:34 +0200 (CEST) Received: from 127.0.0.1 ([127.0.0.1] helo=ip6-localhost) by ASSP-nospam ; 14 Aug 05 18:02:34 -0000 From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sun, 14 Aug 2005 20:01:25 +0200 User-Agent: KMail/1.7.2 References: <42FF0C53.1070601@gmail.com> <200508141635.29675.okuji@enbug.org> <42FF6B6D.4050403@gmail.com> In-Reply-To: <42FF6B6D.4050403@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508142001.25893.okuji@enbug.org> Subject: Re: [DISCUSSION] Scripts and menus 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: Sun, 14 Aug 2005 18:06:39 -0000 On Sunday 14 August 2005 18:03, Vladimir Serbinenko wrote: > It's only a question of syntax so it's ok but IMHO 2 points are important: > 1) It must be possible to set additional attributes to a menu entry I'd like to use options for these. Like this: entry --label="gnu" --key="g" "GNU 0.3" { root=(hd0,0) multiboot /gnumach module /serverboot } > 2) It must be possible to create functions that are *not* the menu > entries They should be the same as Bash: function load_modules { module /boot/module1 module /boot/module2 } entry "My OS version 1" { multiboot /boot/kernel-1 load_modules } entry "My OS version 2" { multiboot /boot/kernel-2 load_modules } Okuji