grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Outline menu


From: Marco Gerards
Subject: Re: Outline menu
Date: Sat, 10 Nov 2007 17:17:50 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Vesa Jääskeläinen <address@hidden> writes:

> 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.

It's supposed to be bash like :)

>> 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?

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]