All of lore.kernel.org
 help / color / mirror / Atom feed
From: Serbinenko Vladimir <serbinenko.vova@list.ru>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [Suggestion] LILO-like direct menu item access && scripting
Date: Wed, 09 Feb 2005 11:21:41 +0100	[thread overview]
Message-ID: <4209E434.2020806@list.ru> (raw)
In-Reply-To: <20050208225132.GK5907@mjk.myfqdn.de>

Marc-Jano Knopp wrote:

>On Tue, 08 Feb 2005 at 21:48 (+0000), Marco Gerards wrote:
>  
>
>>Marc-Jano Knopp <pub_ml_grub-devel@marc-jano.de> writes:
>>    
>>
>>>On Mon, 07 Feb 2005 at 17:33 (+0000), Marco Gerards wrote:
>>>      
>>>
>[...]
>
>I see that the whole problem is a misunderstanding about what we
>mean by LILO menu mode - I'm sorry if I explained it too ambiguously
>and I will hereby not just clarify, but simplify this issue *a lot*:
>
>
>In GRUB, one should be able to move the selection bar absolutely
>to a specific menu item by means of hotkeys (or "hotstrings").
>
>I propose to have the single-letter command 's' (I hope it's not
>bound yet) for choosing a specific menu item by hotkey.
>
>Usage:
>
>  1. Hit 's'
>  
>
I would prefer that all keys with special meaning will be
C-something (with ctrl). And then all normal keys will be
for choice only. So there is no need for 's'

>  2. Hit hotkey of wanted menu item (e.g. 'l' for Linux)
>
>  The wanted menu item is now selected (not executed).
>
>If one wants to use "hotstrings" to select a specific menu item,
>step 2 needs pressing [Return] after entering the string.
>
>That's all!
>
>Now *that* should be easy to code (for a GRUB developer :-).
>
>
>[...]
>  
>
>>>>But it would be nice, IMHO, if it was clear which entry has which
>>>>hotkey.  Perhaps the title can be followed by the key in some
>>>>different color or so?
>>>>        
>>>>
>>>Hmm... I think the other way round would be nicer, as that's the
>>>usual way to do it (and everything is naturally aligned nicely then).
>>>(I think in LILO menus the order is the same, i.e. first letters, then
>>>name of the menu item).
>>>      
>>>
>>The other way around?  Can you describe that please?
>>    
>>
>
>Suggested way:
>
>  menuitemtitle1 hotkey1
>  menuitemtitle2 hotkey2
>  menuitemtitle3 hotkey3
>
>My (and LILO's (and Carlito's)) way:
>
>  hotkey1 menuitemtitle1
>  hotkey2 menuitemtitle2
>  hotkey3 menuitemtitle3
>
>  
>
Have you read about current GRUB2 menu syntax?
I think the best syntax will be:
entry "SuSE Linux" sequence="suse"
{
    ....
}
Other thing that I would like to discuss is how to clear entered string.
E.g. if I entered "win32" but then I thought that it must die and want 
linux.
How can I clear it fast without using backspace to enter "mdk"

>I guess a run-time-interpreted format string for menu item formatting
>would be best.
>
>
>  
>
I'll write syntax interpreting and perhaps whole thing because menu 
parsing is
integrated with scripting and nobody knows it better then me

P.S. What is your opinion about scripting(till now I've heard no comments)?




  reply	other threads:[~2005-02-09 10:43 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-07 12:10 [Suggestion] LILO-like direct menu item access Marc-Jano Knopp
2005-02-07 14:43 ` [Suggestion] LILO-like direct menu item access && scripting Serbinenko Vladimir
2005-02-07 17:33   ` Marco Gerards
2005-02-07 23:24     ` Marc-Jano Knopp
2005-02-08 10:25       ` Serbinenko Vladimir
2005-02-08 20:56         ` Marc-Jano Knopp
2005-02-08 21:54           ` Marco Gerards
2005-02-08 21:48       ` Marco Gerards
2005-02-08 22:51         ` Marc-Jano Knopp
2005-02-09 10:21           ` Serbinenko Vladimir [this message]
2005-02-10 19:24             ` Yoshinori K. Okuji
2005-02-10 21:51               ` Marc-Jano Knopp
2005-02-11  9:38                 ` Yoshinori K. Okuji
2005-02-11 12:09                   ` Marc-Jano Knopp
2005-02-11 14:34                     ` Serbinenko Vladimir
2005-02-11 16:37                       ` Marc-Jano Knopp
2005-02-11 17:13                         ` Serbinenko Vladimir
2005-02-13 18:25                           ` Marc-Jano Knopp
2005-02-10 21:39             ` Marc-Jano Knopp
2005-02-08 13:20   ` Yoshinori K. Okuji
2005-02-08 16:21     ` Serbinenko Vladimir
2005-02-11 20:27       ` Marco Gerards
2005-02-11 22:01         ` Scripting Serbinenko Vladimir
2005-02-13 18:56           ` Scripting Marco Gerards
2005-02-13 19:39             ` Scripting Serbinenko Vladimir
2005-02-13 19:54             ` Scripting Hollis Blanchard
2005-02-14 21:39               ` Scripting Marco Gerards
2005-02-15 16:16                 ` Scripting Serbinenko Vladimir
2005-02-15 22:13                   ` Scripting Yoshinori K. Okuji
2005-02-07 17:20 ` [Suggestion] LILO-like direct menu item access Marco Gerards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4209E434.2020806@list.ru \
    --to=serbinenko.vova@list.ru \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.