From: Andrey Borzenkov <arvidjaar@gmail.com>
To: 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, 8 Apr 2013 20:59:19 +0400 [thread overview]
Message-ID: <20130408205919.016e8eda@opensuse.site> (raw)
In-Reply-To: <5162F583.7010201@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1895 bytes --]
В Mon, 08 Apr 2013 18:51:15 +0200
Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com> пишет:
> On 08.04.2013 18:40, Andrey Borzenkov wrote:
>
> > В Mon, 08 Apr 2013 18:34:27 +0200
> > Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com> пишет:
> >
> >> 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++;
> >
> > This is looks like piling hacks on hacks. What was wrong with my patch?
> > Just curious.
> >
>
> Its absence. There was no patch attached to the mail or included in it.
> Point me to it if I'm missing something.
http://lists.gnu.org/archive/html/grub-devel/2013-02/msg00086.html
>
> >> +#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
> >>>
> >>
> >>
> >>
> >
> >
> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > https://lists.gnu.org/mailman/listinfo/grub-devel
>
>
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2013-04-08 16:59 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
2013-04-08 16:40 ` Andrey Borzenkov
2013-04-08 16:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-04-08 16:59 ` Andrey Borzenkov [this message]
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=20130408205919.016e8eda@opensuse.site \
--to=arvidjaar@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.