Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1CydZo-0001Uh-Dc for mharc-grub-devel@gnu.org; Tue, 08 Feb 2005 17:11:20 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CydZg-0001Rj-VV for grub-devel@gnu.org; Tue, 08 Feb 2005 17:11:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CydZZ-0001N6-Ju for grub-devel@gnu.org; Tue, 08 Feb 2005 17:11:08 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CydZY-0001LS-BA for grub-devel@gnu.org; Tue, 08 Feb 2005 17:11:04 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CydIc-0001r4-P4 for grub-devel@gnu.org; Tue, 08 Feb 2005 16:53:35 -0500 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 76DEB8A5B for ; Tue, 8 Feb 2005 22:48:37 +0100 (CET) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 07847-06 for ; Tue, 8 Feb 2005 22:48:36 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 55FF88961 for ; Tue, 8 Feb 2005 22:48:36 +0100 (CET) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 071F7C04A for ; Tue, 8 Feb 2005 22:48:36 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <20050207121011.GC1380@mjk.myfqdn.de> <42077EA1.5090403@list.ru> <87is54tgum.fsf@marco.marco-g.com> <20050207232414.GG1380@mjk.myfqdn.de> From: Marco Gerards Date: Tue, 08 Feb 2005 21:48:43 +0000 In-Reply-To: <20050207232414.GG1380@mjk.myfqdn.de> (Marc-Jano Knopp's message of "Tue, 8 Feb 2005 00:24:14 +0100") Message-ID: <87zmyek9j8.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl Subject: Re: [Suggestion] LILO-like direct menu item access && scripting 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: Tue, 08 Feb 2005 22:11:15 -0000 Marc-Jano Knopp writes: > On Mon, 07 Feb 2005 at 17:33 (+0000), Marco Gerards wrote: >> Serbinenko Vladimir writes: >> >> > Not at all because this syntax will mean that key is executed >> > before choosing entry that I don't like. I propose the following >> > syntaxes (I'm waiting for your suggestions which to use): >> >> In that case you just should not press that key. :) >> >> There is only the problem of key collisions (c is used for the >> console, for example). Perhaps 0-9, c-a and c-z can be used or so, I >> personally don't care too much about this. > > Strange, both of you don't seem to like the idea of a menu mode, and > rather accept restrictions in the choice of menu item letters. I would > rather install Windows than accept such an inconsistency or restriction. The other keys have a meaning already and because of that those keys can not be used. But what do you mean with menu mode? I did not say in my email that I did not like the idea, right, so what makes you think that. > Though I'm out of time for doing this myself, it doesn't seem too > difficult to introduce a menu mode in GRUB: a flag, e.g. > lilo_menu_mode and possibly a single if-statement to choose between > the two command parsers and/or tables. Why two menus if the main menu can get hotkey support? > Or am I too optimistic? > > As I mentioned before, there should be a way to absolutely (not > relatively) select this LILO menu mode, so that you can really blindly > work with it. So a toggle-menu-mode command/key (alone) will not > suffice, there should be two different commands/keys for selecting > the native GRUB command mode and the LILO menu mode. Ehm. You are changing your ideas now. In the previous email you described something to bind a key to a menu item, now you are talking about a new menu? > Of course, the lilo menu behavior is also possible without an extra > mode, but then you have use Ctrl/Alt/whatever for either the GRUB > commands or the LILO selection, and in both cases it's unnecessarily > cumbersome (especially, if a menu item could be selected by a whole > /string/, not a just a single letter/cipher). Using a whole string seems silly to me as well. :) > If you insist on modeless operation (oh, c'mon! :-}, please us Alt > instead of Ctrl; it's much easier to use, as the left thumb isn't > used elsewhere (the space bar can be operated with the right thumb > as well) - as opposed to the left pinky. :-) Have you thought about how to implement that as well? :) This will be quite hard. When reading a key you just know about ctrl. Reading alt sucks, especially for portability. > >> 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? > Hmm... you mean every item has an implicit, automatically generated > hotkey unless the user defines hotkeys of his own? Well, as long as > it's printed somewhere, why not. But I think that there should be a > way to undefine these automatically given hotkeys for each menu item > then - at least I would like to be able to do so, as otherwise I'd > feel like losing control a little, and then I could also install > Windows. :-) It seems you really are looking for reasons to install windows, no? -- Marco