From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110214] radeonsi: xterm scrollback buffer disappears while Shift+PgUp and Shift+PgDn Date: Sun, 28 Apr 2019 19:57:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1935435897==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 821AF890F2 for ; Sun, 28 Apr 2019 19:57:29 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1935435897== Content-Type: multipart/alternative; boundary="15564814490.CFBfe22.31722" Content-Transfer-Encoding: 7bit --15564814490.CFBfe22.31722 Date: Sun, 28 Apr 2019 19:57:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D110214 --- Comment #86 from Diego Viola --- I found another workaround. Edit xterm's util.c and change line 2161: unsigned int h =3D (unsigned) (nlines * FontHeight(screen)); to: unsigned int h =3D (unsigned) (1000); i.e. increasing the h variable to a large enough number makes it work for s= ome reason. --=20 You are receiving this mail because: You are the assignee for the bug.= --15564814490.CFBfe22.31722 Date: Sun, 28 Apr 2019 19:57:29 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 86 on bug 11021= 4 from Diego Viola
I found another workaround.

Edit xterm's util.c and change line 2161:

unsigned int h =3D (unsigned) (nlines * FontHeight(screen));

to:

unsigned int h =3D (unsigned) (1000);

i.e. increasing the h variable to a large enough number makes it work for s=
ome
reason.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15564814490.CFBfe22.31722-- --===============1935435897== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1935435897==--