From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
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 [thread overview]
Message-ID: <5162F193.1010605@gmail.com> (raw)
In-Reply-To: <20130408195128.0e6ad1fe@opensuse.site>
[-- Attachment #1: Type: text/plain, Size: 962 bytes --]
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
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
next prev parent reply other threads:[~2013-04-08 16:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-08 15:51 Linux console corruption when booted with terminal_output=console after rev 4789 (Decrease reported width by one to compensate for cursor algorithm problem.) Andrey Borzenkov
2013-04-08 16:34 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2013-04-08 16:40 ` Andrey Borzenkov
2013-04-08 16:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-04-08 16:59 ` Andrey Borzenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5162F193.1010605@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.