Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XXHe1-0005oB-Q8 for mharc-grub-devel@gnu.org; Thu, 25 Sep 2014 18:36:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXHdr-0005hy-QP for grub-devel@gnu.org; Thu, 25 Sep 2014 18:36:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXHdi-00030d-O1 for grub-devel@gnu.org; Thu, 25 Sep 2014 18:36:03 -0400 Received: from e24smtp04.br.ibm.com ([32.104.18.25]:44647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXHdi-0002zO-AF for grub-devel@gnu.org; Thu, 25 Sep 2014 18:35:54 -0400 Received: from /spool/local by e24smtp04.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 25 Sep 2014 19:35:48 -0300 Received: from d24dlp02.br.ibm.com (9.18.248.206) by e24smtp04.br.ibm.com (10.172.0.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 25 Sep 2014 19:35:46 -0300 Received: from d24relay03.br.ibm.com (d24relay03.br.ibm.com [9.13.184.25]) by d24dlp02.br.ibm.com (Postfix) with ESMTP id 54CCA1DC0028 for ; Thu, 25 Sep 2014 18:35:44 -0400 (EDT) Received: from d24av03.br.ibm.com (d24av03.br.ibm.com [9.8.31.95]) by d24relay03.br.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s8PMYkLq28246168 for ; Thu, 25 Sep 2014 19:34:47 -0300 Received: from d24av03.br.ibm.com (localhost [127.0.0.1]) by d24av03.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s8PMZir1020020 for ; Thu, 25 Sep 2014 19:35:44 -0300 Received: from beren.chocolate ([9.78.131.143]) by d24av03.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s8PMZg96019993 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 25 Sep 2014 19:35:44 -0300 Date: Thu, 25 Sep 2014 19:35:42 -0300 From: Paulo Flabiano Smorigo To: grub-devel@gnu.org Subject: [PATCH] Include a text attribute reset in the clear command for ppc Message-ID: <20140925223539.GA26465@beren.chocolate> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.22.1 (2013-10-16) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14092522-1820-0000-0000-0000019C4F76 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 32.104.18.25 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 22:36:13 -0000 Always clear text attribute for clear command in order to avoid problems after it boots. * grub-core/term/terminfo.c: Add escape for text attribute reset --- grub-core/term/terminfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/term/terminfo.c b/grub-core/term/terminfo.c index f0d3e3d..7cb7909 100644 --- a/grub-core/term/terminfo.c +++ b/grub-core/term/terminfo.c @@ -151,7 +151,7 @@ grub_terminfo_set_current (struct grub_term_output *term, /* Clear the screen. Using serial console, screen(1) only recognizes the * ANSI escape sequence. Using video console, Apple Open Firmware * (version 3.1.1) only recognizes the literal ^L. So use both. */ - data->cls = grub_strdup (" \e[2J"); + data->cls = grub_strdup (" \e[2J\e[m"); data->reverse_video_on = grub_strdup ("\e[7m"); data->reverse_video_off = grub_strdup ("\e[m"); if (grub_strcmp ("ieee1275", str) == 0) -- 1.8.1.4 -- Paulo Flabiano Smorigo IBM Linux Technology Center