grub-devel
[Top][All Lists]
Advanced

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

Re: [ppc patch] fix grub_ofconsole_cls on Old World


From: Hollis Blanchard
Subject: Re: [ppc patch] fix grub_ofconsole_cls on Old World
Date: Sun, 3 Oct 2004 17:49:00 -0500

 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?

-Hollis





reply via email to

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