From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1C7G3Q-0001CL-Gj for mharc-grub-devel@gnu.org; Tue, 14 Sep 2004 12:21:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C7G3P-00019X-9j for grub-devel@gnu.org; Tue, 14 Sep 2004 12:21:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C7G3N-00015J-Hp for grub-devel@gnu.org; Tue, 14 Sep 2004 12:21:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7G3M-00015E-9c for grub-devel@gnu.org; Tue, 14 Sep 2004 12:21:13 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C7Fxf-0005Cr-Se for grub-devel@gnu.org; Tue, 14 Sep 2004 12:15:20 -0400 Received: from localhost (charlie.han.nl [145.74.66.9]) by mail-cn.han.nl (Postfix) with ESMTP id EF391989C for ; Tue, 14 Sep 2004 18:09:06 +0200 (CEST) Received: from mail-cn.han.nl ([145.74.66.11]) by localhost (charlie.han.nl [145.74.66.9]) (amavisd-new, port 10024) with ESMTP id 13464-08 for ; Tue, 14 Sep 2004 18:09:01 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id A4EA59876 for ; Tue, 14 Sep 2004 18:09:01 +0200 (CEST) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 5BA79C047 for ; Tue, 14 Sep 2004 18:09:01 +0200 (CEST) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <200409141612.25330.okuji@enbug.org> From: Marco Gerards Date: Tue, 14 Sep 2004 16:09:03 +0000 In-Reply-To: <200409141612.25330.okuji@enbug.org> (Yoshinori K. Okuji's message of "Tue, 14 Sep 2004 16:12:25 +0200") Message-ID: <87pt4oq1cw.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@vscan-cn.han.nl Subject: Re: editing a menu entry 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, 14 Sep 2004 16:21:15 -0000 "Yoshinori K. Okuji" writes: > I'd like to hear your opinion about editing a menu entry. > > I'm now writing code for editing a menu entry. Unlike GRUB Legacy, I'd > like to edit a menu entry directly using GRUB as a screen editor rather > than going to a command-line and going back to the menu-like interface. > Conceptually, the interface for menu entry editing will behave like a > subset of GNU Emacs. That is nice! Have you thought about using tab completion here? > Then, there is a key bind problem. In GRUB Legacy, we use 'b' to boot an > entry and use ENTER to edit a specified command. In GRUB 2, these must > be used to insert the character 'b' and to insert a newline or split a > command into two, respectively. Then, how to boot the entry? I don't > know what the right way is. Using an unusual key (such as C-c)? Or, a > combination of keys (such as C-x b)? AFAIK emacs has combinations of keys because there are not enough keys for every function. I don't think GRUB will ever have this problem so an unusual key would be the best IMHO. It is easier for users and easier to implement. Thanks, Marco