From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1C7E8E-0004in-4K for mharc-grub-devel@gnu.org; Tue, 14 Sep 2004 10:18:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C7E8A-0004hr-Si for grub-devel@gnu.org; Tue, 14 Sep 2004 10:18:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C7E89-0004gE-29 for grub-devel@gnu.org; Tue, 14 Sep 2004 10:18:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7E88-0004fo-Pr for grub-devel@gnu.org; Tue, 14 Sep 2004 10:18:00 -0400 Received: from [212.43.237.68] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C7E2V-00070o-6H for grub-devel@gnu.org; Tue, 14 Sep 2004 10:12:11 -0400 Received: from localhost (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 68D72F54F755 for ; Tue, 14 Sep 2004 16:12:09 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Tue, 14 Sep 2004 16:12:25 +0200 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200409141612.25330.okuji@enbug.org> Subject: 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 14:18:05 -0000 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. 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)? What do you think? Okuji