Blame SOURCES/0103-for-ppc-reset-console-display-attr-when-clear-screen.patch

4fe85b
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
4fe85b
From: Paulo Flabiano Smorigo <pfsmorigo@br.ibm.com>
4fe85b
Date: Wed, 24 Apr 2013 10:51:48 -0300
4fe85b
Subject: [PATCH] for ppc, reset console display attr when clear screen
4fe85b
4fe85b
This should fix this bugzilla:
4fe85b
https://bugzilla.redhat.com/show_bug.cgi?id=908519
4fe85b
---
4fe85b
 grub-core/term/terminfo.c | 2 +-
4fe85b
 1 file changed, 1 insertion(+), 1 deletion(-)
4fe85b
4fe85b
diff --git a/grub-core/term/terminfo.c b/grub-core/term/terminfo.c
4fe85b
index f0d3e3debc6..7cb7909c8cf 100644
4fe85b
--- a/grub-core/term/terminfo.c
4fe85b
+++ b/grub-core/term/terminfo.c
4fe85b
@@ -151,7 +151,7 @@ grub_terminfo_set_current (struct grub_term_output *term,
4fe85b
       /* Clear the screen.  Using serial console, screen(1) only recognizes the
4fe85b
        * ANSI escape sequence.  Using video console, Apple Open Firmware
4fe85b
        * (version 3.1.1) only recognizes the literal ^L.  So use both.  */
4fe85b
-      data->cls               = grub_strdup ("?\e[2J");
4fe85b
+      data->cls               = grub_strdup ("?\e[2J\e[m");
4fe85b
       data->reverse_video_on  = grub_strdup ("\e[7m");
4fe85b
       data->reverse_video_off = grub_strdup ("\e[m");
4fe85b
       if (grub_strcmp ("ieee1275", str) == 0)