grub-devel
[Top][All Lists]
Advanced

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

Re: [ppc patch] fix line-wrapping


From: Hollis Blanchard
Subject: Re: [ppc patch] fix line-wrapping
Date: Wed, 9 Nov 2005 00:05:59 -0600

On Nov 8, 2005, at 12:20 PM, Marco Gerards wrote:

Hollis Blanchard <address@hidden> writes:

Index: ChangeLog
===================================================================
RCS file: /cvsroot/grub/grub2/ChangeLog,v
retrieving revision 1.193
diff -u -p -r1.193 ChangeLog
--- ChangeLog   7 Nov 2005 22:28:55 -0000       1.193
+++ ChangeLog   8 Nov 2005 04:50:12 -0000
@@ -1,3 +1,12 @@
+2005-11-03  Hollis Blanchard  <address@hidden>
+
+       * term/ieee1275/ofconsole.c (grub_ofconsole_width): New variable.
+       (grub_ofconsole_height): Likewise.
+       (grub_ofconsole_putchar): If grub_curr_x exceeds console width,
+       manually insert a '\n'.

This won't work if the width can not be read from the firmware.  IIRC
the pegasos has such bug.  I should have a look at that...

Well, if the firmware does not reveal the size of the console, it defaults to 80x24 (that's in existing code). I can't think of any better behavior for this case. The patch stills "works"... :)

Feel free to apply the patch. :-)

Ok, will do.

-Hollis





reply via email to

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