From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IpqZH-0006Aw-Ff for mharc-grub-devel@gnu.org; Wed, 07 Nov 2007 14:28:03 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpqZD-00067w-Ro for grub-devel@gnu.org; Wed, 07 Nov 2007 14:28:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpqZ8-00063q-TV for grub-devel@gnu.org; Wed, 07 Nov 2007 14:27:56 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpqZ7-00063M-NX for grub-devel@gnu.org; Wed, 07 Nov 2007 14:27:53 -0500 Received: from pne-smtpout4-sn1.fre.skanova.net ([81.228.11.168]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IpqZ7-0000IX-NE for grub-devel@gnu.org; Wed, 07 Nov 2007 14:27:53 -0500 Received: from [127.0.0.1] (88.193.32.97) by pne-smtpout4-sn1.fre.skanova.net (7.3.129) id 47205842000B9EA1 for grub-devel@gnu.org; Wed, 7 Nov 2007 20:27:45 +0100 Message-ID: <4732113E.5070305@nic.fi> Date: Wed, 07 Nov 2007 21:25:50 +0200 From: =?ISO-8859-15?Q?Vesa_J=E4=E4skel=E4inen?= User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: The development of GRUB 2 References: <472F3D31.3010204@nic.fi> <4730DE0F.9090103@nic.fi> <4731DD6C.6080807@nic.fi> In-Reply-To: X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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: Wed, 07 Nov 2007 19:28:01 -0000 Markus Elfring wrote: >> And what is wrong with current config file? >> http://grub.enbug.org/grub.cfg > > 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. > http://grub.enbug.org/Subprojects/GraphicalMenu > > 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="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? > I hope that it can be avoided to reinvent a wheel. How much features would you > like to copy from OML or OPML? I had a look at example mp3 playlist in opml format and it seems to be data description language (like what xml is). What we have in grub script is a scripting language that has commands to construct data (menu). >> You can read my idea of visual layout from "Layout testing for graphical >> menu" in mailing list archive: >> http://lists.gnu.org/archive/html/grub-devel/2007-10/msg00103.html > > How much will a browser depend on an operating system? In case you mean graphical menu, then it does not depend on any operating system. GRUB is standalone application that executes on system context. > How near will a boot environment come to OS functionality? That I leave unanswered.