source: grub-pc/trunk/fuentes/debian/patches/ieee1275-clear-reset.patch @ 22

Last change on this file since 22 was 22, checked in by mabarracus, 4 years ago

updated version and apply net.ifnames=0 into debian/rules

File size: 1.4 KB
  • grub-core/term/terminfo.c

    From b53df876c463a5479344715896985e1d1d91971f Mon Sep 17 00:00:00 2001
    From: Paulo Flabiano Smorigo <pfsmorigo@linux.vnet.ibm.com>
    Date: Thu, 25 Sep 2014 18:41:29 -0300
    Subject: Include a text attribute reset in the clear command for ppc
    
    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
    
    Bug-Ubuntu: https://bugs.launchpad.net/bugs/1295255
    Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00076.html
    Last-Update: 2014-09-26
    
    Patch-Name: ieee1275-clear-reset.patch
    ---
     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 3d48b19..0825ca2 100644
    a b grub_terminfo_set_current (struct grub_term_output *term, 
    151151      /* Clear the screen.  Using serial console, screen(1) only recognizes the
    152152       * ANSI escape sequence.  Using video console, Apple Open Firmware
    153153       * (version 3.1.1) only recognizes the literal ^L.  So use both.  */
    154       data->cls               = grub_strdup ("
    155 e[2J");
     154      data->cls               = grub_strdup ("
     155e[2J\e[m");
    156156      data->reverse_video_on  = grub_strdup ("\e[7m");
    157157      data->reverse_video_off = grub_strdup ("\e[m");
Note: See TracBrowser for help on using the repository browser.