From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Iqt1P-00069o-KD for mharc-grub-devel@gnu.org; Sat, 10 Nov 2007 11:17:23 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iqt1N-00069C-V6 for grub-devel@gnu.org; Sat, 10 Nov 2007 11:17:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iqt1K-00067l-Jo for grub-devel@gnu.org; Sat, 10 Nov 2007 11:17:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iqt1K-00067e-Am for grub-devel@gnu.org; Sat, 10 Nov 2007 11:17:18 -0500 Received: from smtp-vbr17.xs4all.nl ([194.109.24.37]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iqt1K-0004M5-2B for grub-devel@gnu.org; Sat, 10 Nov 2007 11:17:18 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr17.xs4all.nl (8.13.8/8.13.8) with ESMTP id lAAGHGoS064599 for ; Sat, 10 Nov 2007 17:17:17 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <472F3D31.3010204@nic.fi> <4730DE0F.9090103@nic.fi> <4731DD6C.6080807@nic.fi> <4732113E.5070305@nic.fi> Mail-Copies-To: mgerards@xs4all.nl Date: Sat, 10 Nov 2007 17:17:50 +0100 In-Reply-To: <4732113E.5070305@nic.fi> (Vesa =?iso-8859-1?Q?J=E4=E4skel=E4?= =?iso-8859-1?Q?inen's?= message of "Wed, 07 Nov 2007 21:25:50 +0200") Message-ID: <87abpmgjm9.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: Outline menu 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: Sat, 10 Nov 2007 16:17:22 -0000 Vesa J=E4=E4skel=E4inen writes: > Markus Elfring wrote: >>> And what is wrong with current config file? >>> http://grub.enbug.org/grub.cfg >>=20 >> How much documentation is available for this domain-specific language? >> Does a grammar exist for the data format? > > Marco Gerards has been working on the grub scripting language. So he > might be able to give some insights in case Wiki does not feature enough > information. It's supposed to be bash like :) >> http://grub.enbug.org/Subprojects/GraphicalMenu >>=20 >> I imagine that additional attributes will be needed. >> - Identifier: optional alphanumeric key >> - Parent: index number or menu identifier > > Menu commands can have children already so you would get hierarchy > information from there. Shortcut key you could just add as extra > argument for menu, like --hotkey=3D"1" > > In example: > > menu "foo" { > menu "bar" { > menu "zot" { > } > } > } > > Though I am not sure how well this outline view is supported by the > current parser. Marco, perhaps you could share some insights? Personally I first want to focus on getting what we have to work, before even thinking about anything else. Ideas are good, but having *something* to use is better :-) -- Marco