From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1CyAK7-0006pC-Rv for mharc-grub-devel@gnu.org; Mon, 07 Feb 2005 09:57:12 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CyAK4-0006no-UZ for grub-devel@gnu.org; Mon, 07 Feb 2005 09:57:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CyAK0-0006kh-4B for grub-devel@gnu.org; Mon, 07 Feb 2005 09:57:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyAJz-0006kR-R2 for grub-devel@gnu.org; Mon, 07 Feb 2005 09:57:03 -0500 Received: from [194.67.23.121] (helo=mx1.mail.ru) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CyA6b-0005B4-8O for grub-devel@gnu.org; Mon, 07 Feb 2005 09:43:13 -0500 Received: from [62.203.7.187] (port=3182 helo=[192.168.1.100]) by mx1.mail.ru with esmtp id 1CyA6Z-0002JP-00 for grub-devel@gnu.org; Mon, 07 Feb 2005 17:43:11 +0300 Message-ID: <42077EA1.5090403@list.ru> Date: Mon, 07 Feb 2005 15:43:45 +0100 From: Serbinenko Vladimir User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: The development of GRUB 2 References: <20050207121011.GC1380@mjk.myfqdn.de> In-Reply-To: <20050207121011.GC1380@mjk.myfqdn.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected 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: Mon, 07 Feb 2005 14:57:10 -0000 Marc-Jano Knopp wrote: >Hi all! > >I'm only an end user, but didn't find another way to suggest something >for GRUB 2 except for this mailing list, so here we go: > >There is one reason I do not employ GRUB everywhere: With LILO, you >can blindly select a specific menu item, which you cannot with GRUB >(at least with GRUB 0.92). > >I can assign numbers or different letters to the LILO menu items and so >directly and blindly access them, independently from the current >selection bar position, not having to switch on a monitor (or even >actually have one attached). And at least a year ago or so, I could not >find anything in the GRUB documentation to make this work. > >Now, while you're at it, could you add such a feature to GRUB 2? >Especially having letters to select menu items would be very helpful >(l = Linux, f = FreeBSD, n = NetBSD, d = DOS, ...). > >Maybe this could be done by introducing a LILO-menu-mode acting >the way I described, with e.g. special escape- or control-key- >sequences to directly select LILO-menu- and GRUB-mode (ESC-g/l or >whatever), with the default mode being definable in /etc/grub.conf, >errrr, /boot/grub/menu.lst or whatever. > > > It will be better if when you press the buttons GRUB highlight the corresponding entries. Like it's done in some indexes. The problem are the touchs 'c' and 'e'. Perhaps it's good idea to move to C-c and C-e >Oh, and... while this might be possible using some kind of script >(just read shortly about a pre-alpha scripting engine), > About engine: I made it GCS compatible, commented it and reorganized. Main current problem is a lack of testing. So if you find a bug or have a suggestion don't hesitate to contact me by this list or in private. The other problem is the mails: the patch is quite big and is blocked somewhere (I sent it to grub-devel but haven't received). If somebody is interested he can send me private e-email and I'll send the patch in private > a touch of >user-friendliness like a simple grub.conf entry like "key", e.g. > > title SuSE 7.3 (2.4.29) > root (hd0,2) > kernel /boot/vmlinuz root=/dev/sda1 vga=extended rootflags=data=journal > key l > >would be nice. :-) > > > 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): entry "SuSE 7.3 (2.4.29)":l { root (hd0,2) kernel /boot/vmlinuz root=/dev/sda1 vga=extended rootflags=data=journal } When you press 'l' it highlights this entry entry "SuSE 7.3 (2.4.29)":suse { root (hd0,2) kernel /boot/vmlinuz root=/dev/sda1 vga=extended rootflags=data=journal } When you type suse it highlights it >Best regards > > Marc-Jano > >P.S.: If this behavior is already possible with GRUB legacy, please let > me know how! > > >_______________________________________________ >Grub-devel mailing list >Grub-devel@gnu.org >http://lists.gnu.org/mailman/listinfo/grub-devel > > > >