From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UPF1w-00008m-9Q for mharc-grub-devel@gnu.org; Mon, 08 Apr 2013 12:34:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPF1p-00008X-Nd for grub-devel@gnu.org; Mon, 08 Apr 2013 12:34:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPF1k-0005BW-Nk for grub-devel@gnu.org; Mon, 08 Apr 2013 12:34:45 -0400 Received: from mail-ea0-x22d.google.com ([2a00:1450:4013:c01::22d]:53351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPF1k-0005BG-Go for grub-devel@gnu.org; Mon, 08 Apr 2013 12:34:40 -0400 Received: by mail-ea0-f173.google.com with SMTP id k11so2352381eaj.4 for ; Mon, 08 Apr 2013 09:34:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type; bh=HbjaAS7Au9+MZp7hv3JqxRW8Gpf8MXP5vO7E7dkkd/g=; b=pepW33rdrHdky9ebRFq3PIFfkonliyHAYtBUaN16VkrvJdh4ZH+KRIcfKZ5fueersX wEiE1Mce7nYqN71G7+2RVfKvnLciA3sA8GXUvBoz4g0ux/MTarUTTd5ACz2jvU0mZ9HP Y35v2kBzoiNsvo80Y6vBULppmNzEi+9979YGhyjG7FlJh9P7zPcwV9c+dK2TrRJcCXyN E5VnVVUFR7EO+yI+ETmZsWqqPlMHlROSAWjcX8zsUyJOO2lMFGVtYK296YSdIvUR7p3r uISk4SArBHepD7anIe5VoV5sDeiKNjTFd7a+ER9zumsC1HD7bEwZxnObR3RDFfj9mDkn I4pw== X-Received: by 10.15.81.136 with SMTP id x8mr50736079eey.9.1365438879731; Mon, 08 Apr 2013 09:34:39 -0700 (PDT) Received: from debian.x201.phnet (117-235.197-178.cust.bluewin.ch. [178.197.235.117]) by mx.google.com with ESMTPS id bk42sm14801711eeb.3.2013.04.08.09.34.38 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Apr 2013 09:34:39 -0700 (PDT) Message-ID: <5162F193.1010605@gmail.com> Date: Mon, 08 Apr 2013 18:34:27 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: The development of GNU GRUB 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.) References: <20130408195128.0e6ad1fe@opensuse.site> In-Reply-To: <20130408195128.0e6ad1fe@opensuse.site> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig5B9AC79F6D8BEFD87B442107" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::22d X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Apr 2013 16:34:50 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5B9AC79F6D8BEFD87B442107 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08.04.2013 17:51, Andrey Borzenkov wrote: > See http://susepaste.org/75296605 >=20 > Notice that screen width is reported as 79.=20 >=20 > This is absolutely reproducible with and without plymouth. >=20 Try this please =3D=3D=3D 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 =3D pos >> 8; linux_params.video_cursor_y =3D pos & 0xff; linux_params.video_width =3D grub_term_width (term); +#ifdef GRUB_MACHINE_PCBIOS + if (grub_strcmp (term->name, "console") =3D=3D 0) + linux_params.video_width++; +#endif linux_params.video_height =3D grub_term_height (term); found =3D 1; break; > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --------------enig5B9AC79F6D8BEFD87B442107 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAlFi8ZwACgkQNak7dOguQglSWQD+Ji2mYatdcW3C2+LmtAY7Nnaq 9bHR0Pp4tnWGWv7sQ4cBAJ2b+Z5i1LClgB/K13+KvF7eKXUoZ+OmoLAscEAoG/jq =tooV -----END PGP SIGNATURE----- --------------enig5B9AC79F6D8BEFD87B442107--