From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1Cg3Rb-0004NA-2w for mharc-grub-devel@gnu.org; Sun, 19 Dec 2004 10:58:03 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cg3RY-0004Mw-V1 for grub-devel@gnu.org; Sun, 19 Dec 2004 10:58:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cg3RY-0004Mk-IG for grub-devel@gnu.org; Sun, 19 Dec 2004 10:58:00 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cg3RY-0004Mh-Ef for grub-devel@gnu.org; Sun, 19 Dec 2004 10:58:00 -0500 Received: from [217.12.11.36] (helo=smtp005.mail.ukl.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1Cg3GA-0006kr-NH for grub-devel@gnu.org; Sun, 19 Dec 2004 10:46:15 -0500 Received: from unknown (HELO ?192.168.0.2?) (subdino2004@83.194.35.37 with plain) by smtp005.mail.ukl.yahoo.com with SMTP; 19 Dec 2004 15:46:13 -0000 Message-ID: <41C5A248.2060402@yahoo.fr> Date: Sun, 19 Dec 2004 16:46:16 +0100 From: Vincent Pelletier User-Agent: Mozilla Thunderbird 0.9 (X11/20041124) X-Accept-Language: fr, en MIME-Version: 1.0 To: The development of GRUB 2 References: <41BE9159.7010500@yahoo.fr> <200412191615.26966.okuji@enbug.org> In-Reply-To: <200412191615.26966.okuji@enbug.org> X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] normal/cmdline.c : history contains empty lines 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, 19 Dec 2004 15:58:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yoshinori K. Okuji a écrit : | I agree that empty lines should not be added into the history, but I | don't think it is a good idea to show an empty line when you go down | the history. Because I really like to have compatibility with BASH. I meant not to add the empty line to the history, but to clear the line : PROMPT HISTORY grub> barbaz ["foo", "bar", "barbaz"] [C-n] grub> ["foo", "bar", "barbaz"] Last time I tried that before modifying cmdline.c , the last line was still displayed in front of the prompt, IIRC. Vincent Pelletier -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBxaJIFEQoKRQyjtURAkp9AJ46NW87th/7ZVc3cj4oteaotSisRQCdGGzq qFzY3psuiW/At4/t6Likla8= =Becq -----END PGP SIGNATURE-----