[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ppc patch] fix grub_ofconsole_cls on Old World
From: |
Marco Gerards |
Subject: |
Re: [ppc patch] fix grub_ofconsole_cls on Old World |
Date: |
Mon, 04 Oct 2004 11:46:43 +0000 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Hollis Blanchard <address@hidden> writes:
> static void
> grub_ofconsole_cls (void)
> {
> /* Clear the screen. */
> - grub_ofconsole_writeesc ("^L");
> + grub_ofconsole_writeesc ("\e[2J");
> + grub_gotoxy (0, 0);
> }
>
> I've verified that this patch does not break video console on my New
> World Mac, and it fixes serial console with some terminal
> emulators. We already depend on ANSI escape sequences for gotoxy(), so
> can we commit this patch now and worry about termcap later?
In that case, yes. I am sorry I did not test this. I have very
little time for hacking lately, but I will be back soon. :)
Thanks,
Marco