[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linux console corruption when booted with terminal_output=console af
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: Linux console corruption when booted with terminal_output=console after rev 4789 (Decrease reported width by one to compensate for cursor algorithm problem.) |
Date: |
Mon, 08 Apr 2013 18:34:27 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 |
On 08.04.2013 17:51, Andrey Borzenkov wrote:
> See http://susepaste.org/75296605
>
> Notice that screen width is reported as 79.
>
> This is absolutely reproducible with and without plymouth.
>
Try this please
=== modified file 'grub-core/loader/i386/linux.c'
--- grub-core/loader/i386/linux.c 2013-03-22 20:01:28 +0000
+++ grub-core/loader/i386/linux.c 2013-04-08 16:33:08 +0000
@@ -547,6 +547,10 @@
linux_params.video_cursor_x = pos >> 8;
linux_params.video_cursor_y = pos & 0xff;
linux_params.video_width = grub_term_width (term);
+#ifdef GRUB_MACHINE_PCBIOS
+ if (grub_strcmp (term->name, "console") == 0)
+ linux_params.video_width++;
+#endif
linux_params.video_height = grub_term_height (term);
found = 1;
break;
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
signature.asc
Description: OpenPGP digital signature