[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ppc patch] fix grub_ofconsole_cls on Old World

From: Hollis Blanchard
Subject: [ppc patch] fix grub_ofconsole_cls on Old World
Date: Mon, 13 Sep 2004 20:18:58 -0500

Echoing ^L to the console unfortunately doesn't seem to clear the screen on my Old World system. This works around that using the "clear screen" ANSI code, followed by gotoxy(0,0).

I also needed to correct a bug in grub_ofconsole_gotoxy before that would work. ANSI rows/columns are 1-based, so gotoxy(0, 0) should go to ANSI row 1 column 1.

2004-09-13      Hollis Blanchard        <address@hidden>

* term/powerpc/ieee1275/ofconsole.c (grub_ofconsole_gotoxy): y+1 instead of y-1.
        (grub_ofconsole_cls): instead of ^L, use an ANSI escape sequence and
        grub_gotoxy(0,0) manually.


Attachment: 06-ppc-ofconsole-cls.diff
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]