From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 38DC31382C5 for ; Mon, 5 Apr 2021 23:09:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF1CCE090F; Mon, 5 Apr 2021 23:09:12 +0000 (UTC) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3267BE086C for ; Mon, 5 Apr 2021 23:09:12 +0000 (UTC) Received: by mail-pl1-f176.google.com with SMTP id d8so6416428plh.11 for ; Mon, 05 Apr 2021 16:09:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=zsP49Oo0jP90Y8/H++k0VW2nOJ2AhiDAaFg3q9VX73Q=; b=tjfEzKCNvsV1yS234CS8hLzRyVebp3JQSxeoH9cdITVPlm1akNxAC7KMa6ajUV95jm rzerjymVZkHicfKsZWMvJ3ARAJVZ6VKm0FhlK7fZodtUoryYrhxabKjnQlaTGSVP/jxL 2uVSx3r2N2hxOh8HT2o7APwsCazw3TdbvijhT24g6lWKIs7MUyDWDzB9gwIik0CahCAL hk07gHLEQhzZ6zngl485gT8bh8r3pPwVVqLMjkoZ7EkX+KxR8ATfwTpijothxIhAa+IE 1vo6yP2jukEW8YwkKWWuvchy7xkkP83D8SiRkH2MucML14pqpWe56ig3zzqWFmrRTmOM 9FrQ== X-Gm-Message-State: AOAM533JYjahik1+c2xb577hOpFFOvJyWQn13QIb+SoTR84o1Fj0r5Ih cK6wRSjIXdto/mxTU9PanJ1y1HDRRjmCQK1s5i0AiZ9LOFWxKw== X-Google-Smtp-Source: ABdhPJxh1dcEejLev/eJQc6sA5vJktghSuVMJs/6G1OrLNHC87U7Jhsku8DacPIuaR/ql25HsDPD9V0AWl9D9ZluhAQ= X-Received: by 2002:a17:90a:bb13:: with SMTP id u19mr1378974pjr.96.1617664150761; Mon, 05 Apr 2021 16:09:10 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: In-Reply-To: From: Michael Jones Date: Mon, 5 Apr 2021 18:08:58 -0500 Message-ID: Subject: Re: [gentoo-user] Console scrollback is back again! To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="0000000000001283ce05bf41c98c" X-Archives-Salt: 4d41d60a-de4c-4ac6-b3fe-9628179ff2a8 X-Archives-Hash: eafb935f8eb8b0e502603caaad736100 --0000000000001283ce05bf41c98c Content-Type: text/plain; charset="UTF-8" On Mon, Apr 5, 2021, 13:13 Alan Mackenzie wrote: > Hello, Wol. > > On Mon, Apr 05, 2021 at 18:44:15 +0100, antlists wrote: > > On 05/04/2021 18:12, Alan Mackenzie wrote: > > > Bug reports and other comments are welcome, of course. > > > > > > If anybody would like the corresponding patch which works on 5.4.n, > for n > > >> = 80, that is available, too. > > > Why did it get removed from the kernel? > > Allegedly, there were security problems with it. I think the kernel > people had a program which fired random inputs at lots of components, > and noted when things went wrong; and things went wrong in the scroll > back component. And they couldn't find anybody to look into these > problems. > > That's the official position. I'm a bit more cynical about it. > > > If you want to get it back in, couldn't you ping Greg KH and get some > > help - or even just advice - getting it accepted? > > I have no reason to believe all the "security problems" will have been > resolved by my hacking. I took the algorithmic bits from 4.19.97 > basically unchanged. > > Maybe there's not much enthusiasm for this feature, in which case I will > keep it working for myself. Linux is basically unusable to me without > it. There are probably quite a few patches to restore the scrollback > floating around the web by now: the changes were not particularly > difficult to anybody who knows the code, but getting to know the code > was unusually difficult. > > We'll see how people react to it here, first. > > > Cheers, > > Wol > > -- > Alan Mackenzie (Nuremberg, Germany). Without looking at the patch itself: Have you considered something like kmscon as a userland alternative? I installed it on my laptop, and aside from not working with gpmd or consolation for mouse support, it's a perfectly functional local tty. --0000000000001283ce05bf41c98c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Apr 5, 2021, 13:13 Alan Mackenzie <acm@muc.de> wrote:
Hello, Wol.

On Mon, Apr 05, 2021 at 18:44:15 +0100, antlists wrote:
> On 05/04/2021 18:12, Alan Mackenzie wrote:
> > Bug reports and other comments are welcome, of course.
> >
> > If anybody would like the corresponding patch which works on 5.4.= n, for n
> >> =3D 80, that is available, too.

> Why did it get removed from the kernel?

Allegedly, there were security problems with it.=C2=A0 I think the kernel people had a program which fired random inputs at lots of components,
and noted when things went wrong; and things went wrong in the scroll
back component.=C2=A0 And they couldn't find anybody to look into these=
problems.

That's the official position.=C2=A0 I'm a bit more cynical about it= .

> If you want to get it back in, couldn't you ping Greg KH and get s= ome
> help - or even just advice - getting it accepted?

I have no reason to believe all the "security problems" will have= been
resolved by my hacking.=C2=A0 I took the algorithmic bits from 4.19.97
basically unchanged.

Maybe there's not much enthusiasm for this feature, in which case I wil= l
keep it working for myself.=C2=A0 Linux is basically unusable to me without=
it.=C2=A0 There are probably quite a few patches to restore the scrollback<= br> floating around the web by now: the changes were not particularly
difficult to anybody who knows the code, but getting to know the code
was unusually difficult.

We'll see how people react to it here, first.

> Cheers,
> Wol

--
Alan Mackenzie (Nuremberg, Germany).

Without looking at the patch itself:
<= div dir=3D"auto">
Have you considered something = like kmscon as a userland alternative?

I installed it on my laptop, and aside from not working with= gpmd or consolation for mouse support, it's a perfectly functional loc= al tty.
--0000000000001283ce05bf41c98c--