From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Dp1DD-0000on-6d for mharc-grub-devel@gnu.org; Sun, 03 Jul 2005 05:56:31 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dp1CS-0000W1-TM for grub-devel@gnu.org; Sun, 03 Jul 2005 05:55:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dp1C8-0000MR-9R for grub-devel@gnu.org; Sun, 03 Jul 2005 05:55:40 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dp1C3-0000EB-5i for grub-devel@gnu.org; Sun, 03 Jul 2005 05:55:20 -0400 Received: from [217.12.11.35] (helo=smtp004.mail.ukl.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1Dp10N-0002QP-El for grub-devel@gnu.org; Sun, 03 Jul 2005 05:43:15 -0400 Received: (qmail 68203 invoked from network); 3 Jul 2005 09:37:32 -0000 Received: from unknown (HELO ?192.168.0.2?) (subdino2004@83.203.163.78 with plain) by smtp004.mail.ukl.yahoo.com with SMTP; 3 Jul 2005 09:37:31 -0000 Message-ID: <42C7B242.9030804@yahoo.fr> Date: Sun, 03 Jul 2005 11:39:14 +0200 From: Vincent Pelletier User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) X-Accept-Language: en-us, en MIME-Version: 1.0 To: The development of GRUB 2 X-Enigmail-Version: 0.91.0.0 Content-Type: multipart/mixed; boundary="------------070600000903040901060902" Subject: [PATCH] Tiny command line fix 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: Sun, 03 Jul 2005 09:56:29 -0000 This is a multi-part message in MIME format. --------------070600000903040901060902 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Here is a patch that fixes "backspace" ('\b') acting as "delete" (ctrl-d) when at beginning of line. 2005-07-03 Vincent Pelletier * normal/comandline.c (grub_cmdline_get): Don't fallback on ctrl-d when backspace is pressed at beginning of line. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCx7JCFEQoKRQyjtURAsUJAJ9JC9RdJsh5cxiJR1nFK2KReRxbRwCfQhzQ WG4cnT+fPtV5BIJfCZrcNN4= =eaKt -----END PGP SIGNATURE----- --------------070600000903040901060902 Content-Type: text/plain; name="cmdline.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cmdline.c.diff" Index: normal/cmdline.c =================================================================== RCS file: /cvsroot/grub/grub2/normal/cmdline.c,v retrieving revision 1.14 diff -u -p -r1.14 cmdline.c --- normal/cmdline.c 8 Mar 2005 01:01:06 -0000 1.14 +++ normal/cmdline.c 3 Jul 2005 09:31:59 -0000 @@ -717,6 +717,8 @@ grub_cmdline_get (const char *prompt, ch lpos--; cl_set_pos (); } + else + break; /* fall through */ case 4: /* Ctrl-d */ --------------070600000903040901060902-- ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com