Re: [gentoo-user] console scrollback (kernel 5.14)

2021-10-03 Thread Jorge Almeida
On Sat, Sep 25, 2021 at 12:44 AM Jorge Almeida wrote: > > On Fri, Sep 24, 2021 at 5:29 PM Alan Mackenzie wrote: > > > > > attached. Please start again from a gentoo-sources without any previous > > traces of the scrollback patches, and apply that patch. _Surely_ it > > should work this time. >

Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-27 Thread Jorge Almeida
On Mon, Sep 27, 2021 at 12:51 AM Dale wrote: > > Jorge Almeida wrote: > > On Sun, Sep 26, 2021 at 6:24 PM antlists wrote: > > Hello, Wol and Dale > >> When you rebuild it, get a surge protector and then put a UPS behind > >> that ... snag is that's all extra expense :-( > >> > Hope that info he

Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-26 Thread Dale
Jorge Almeida wrote: > On Sun, Sep 26, 2021 at 6:24 PM antlists wrote: > Hello, Wol and Dale >> When you rebuild it, get a surge protector and then put a UPS behind >> that ... snag is that's all extra expense :-( >> > Surge protectors: I googled it and mostly got bad reviews. Do they > _really_wo

Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-26 Thread Wols Lists
On 26/09/2021 22:22, Jorge Almeida wrote: On Sun, Sep 26, 2021 at 6:24 PM antlists wrote: Hello, Wol and Dale When you rebuild it, get a surge protector and then put a UPS behind that ... snag is that's all extra expense :-( Surge protectors: I googled it and mostly got bad reviews. Do th

Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-26 Thread Jorge Almeida
On Sun, Sep 26, 2021 at 6:24 PM antlists wrote: > Hello, Wol and Dale > When you rebuild it, get a surge protector and then put a UPS behind > that ... snag is that's all extra expense :-( > Surge protectors: I googled it and mostly got bad reviews. Do they _really_work? What would you recommend

Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-26 Thread Dale
antlists wrote: > On 26/09/2021 13:36, Alan Mackenzie wrote: >>> Sure enough, the patch was succesful. Unfortunately, I cannot test it, >>> because my computer is out of luck (big thunderstorm, crappy power >>> provider, not-so-smart owner). > >> I'm sorry to hear it.  I'm sure you've done it alrea

Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-26 Thread antlists
On 26/09/2021 13:36, Alan Mackenzie wrote: Sure enough, the patch was succesful. Unfortunately, I cannot test it, because my computer is out of luck (big thunderstorm, crappy power provider, not-so-smart owner). I'm sorry to hear it. I'm sure you've done it already, but get a decent backup fr

Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-26 Thread Alan Mackenzie
Hello, Jorge. On Fri, Sep 24, 2021 at 23:44:51 +, Jorge Almeida wrote: > On Fri, Sep 24, 2021 at 5:29 PM Alan Mackenzie wrote: > Hello, Alan > > > $ patch -p0 <../patch_for_5.14.diff > > > patching file ./drivers/tty/vt/vt.c > > > Hunk #1 FAILED at 3208. > > > 1 out of 1 hunk FAILED -- savi

Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-25 Thread Peter Humphrey
On Friday, 24 September 2021 18:29:11 BST Alan Mackenzie wrote: > To apply the patch (you surely know this already), cd to the top of the > kernel tree, and use > > $ patch -p1 < 5.14.5-scroll-20210924.diff [...] > .. Please let me know again how it works out. Thanks! Works for me, Alan, a

Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-24 Thread Jorge Almeida
On Fri, Sep 24, 2021 at 5:29 PM Alan Mackenzie wrote: > Hejjo, Alan > > $ patch -p0 <../patch_for_5.14.diff > > patching file ./drivers/tty/vt/vt.c > > Hunk #1 FAILED at 3208. > > 1 out of 1 hunk FAILED -- saving rejects to file ./drivers/tty/vt/vt.c.rej > > attached. Please start again from a

Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-24 Thread Alan Mackenzie
Hello, Jorge. On Fri, Sep 24, 2021 at 09:22:45 +0100, Jorge Almeida wrote: > On Thu, Sep 23, 2021 at 6:03 PM Alan Mackenzie wrote: [ ] > It still fails: > $ patch -p0 <../patch_for_5.14.diff > patching file ./drivers/tty/vt/vt.c > Hunk #1 FAILED at 3208. > 1 out of 1 hunk FAILED -- saving

Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-24 Thread Jorge Almeida
On Thu, Sep 23, 2021 at 6:03 PM Alan Mackenzie wrote: > > > As for the two(?) versions of my patch, they differed mainly in the > aesthetics - diff.20210405.diff had lots of ugly maintainer comments in > it. So, could I ask you please to try that 1-hunk patch I posted > yesterday on top of the v

Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-23 Thread Alan Mackenzie
Hello, Jorge. On Wed, Sep 22, 2021 at 22:40:11 +0100, Jorge Almeida wrote: > On Wed, Sep 22, 2021 at 9:29 PM Alan Mackenzie wrote: > Hi Alan, thanks for the reply > > I must confess that somebody told me by private email that it fails on > > systems which change their screen geometry during boo

Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-22 Thread Jorge Almeida
On Wed, Sep 22, 2021 at 9:29 PM Alan Mackenzie wrote: > > Hello, Jorge. > Hi Alan, thanks for the reply > I must confess that somebody told me by private email that it fails on > systems which change their screen geometry during boot-up. For example, > a system which first boots into 80x25, then

Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-22 Thread Alan Mackenzie
Hello, Jorge. On Sat, Sep 18, 2021 at 21:40:46 +0100, Jorge Almeida wrote: > Hello, gentooers in general and Alan in particular > I've been using Alan Mackenzie's patch until kernel 5.13, with > success. It failed with 5.14.4 --yes, I know, but it doesn't hurt to > try :) I'm happy to know my pa

Re: [gentoo-user] Console scrollback is back again!

2021-07-15 Thread Alan Mackenzie
Hello, Gentoo. A new kernel, gentoo-sources-5.10.49-r1 has become current. For those who wish to have console soft scrolling, the patch which worked with 5.10.27 actually still works in 5.10.49-r1. But I've tidied that patch up somewhat for 5.10.49-r1 and have attached the patch file to this pos

Re: [gentoo-user] Console scrollback is back again!

2021-04-08 Thread konsolebox
On Tue, Apr 6, 2021 at 1:12 AM Alan Mackenzie wrote: > How to get it working: > (i) Extract the enclosed patch file to your /usr/src/linux-5.10.27-gentoo > directory (or probably any 5.10 kernel's). Works with 5.10.28-gentoo. Thanks again. I finally can uninstall my 5.8.6 which still has the old

Re: [gentoo-user] Console scrollback is back again!

2021-04-06 Thread Michael Jones
On Tue, Apr 6, 2021 at 4:54 AM Alan Mackenzie wrote: > Hello, Michael. > > On Mon, Apr 05, 2021 at 18:08:58 -0500, Michael Jones wrote: > > [ ] > > > Without looking at the patch itself: > > > Have you considered something like kmscon as a userland alternative? > > To be honest, no. I wasn'

Re: [gentoo-user] Console scrollback is back again!

2021-04-06 Thread Alan Mackenzie
Hello, John On Tue, Apr 06, 2021 at 10:13:39 -0400, John Covici wrote: > On Tue, 06 Apr 2021 09:14:23 -0400, > Peter Humphrey wrote: > > On Monday, 5 April 2021 19:13:18 BST Alan Mackenzie wrote: > > > We'll see how people react to it here, first. > > You're my hero! > Would this patch work o

Re: [gentoo-user] Console scrollback is back again!

2021-04-06 Thread John Covici
On Tue, 06 Apr 2021 09:14:23 -0400, Peter Humphrey wrote: > > On Monday, 5 April 2021 19:13:18 BST Alan Mackenzie wrote: > > > We'll see how people react to it here, first. > > You're my hero! Would this patch work on 5.4.96 and following? -- Your life is like a penny. You're going to lose

Re: [gentoo-user] Console scrollback is back again!

2021-04-06 Thread Peter Humphrey
On Monday, 5 April 2021 19:13:18 BST Alan Mackenzie wrote: > We'll see how people react to it here, first. You're my hero! -- Regards, Peter.

Re: [gentoo-user] Console scrollback is back again!

2021-04-06 Thread J. Roeleveld
On Monday, April 5, 2021 7:12:07 PM CEST Alan Mackenzie wrote: > Hello, Gentoo. > > Yes, console soft scrolling is back! That essential feature that was > stripped out of the kernel at around 5.4.x has returned! > > Only this time, it's even better! Instead of one scrollback buffer > shared bet

Re: [gentoo-user] Console scrollback is back again!

2021-04-06 Thread Alan Mackenzie
Hello, Karl. On Mon, Apr 05, 2021 at 21:58:37 +0200, k...@aspodata.se wrote: > Alan Mackenzie: > > Yes, console soft scrolling is back! That essential feature that was > > stripped out of the kernel at around 5.4.x has returned! > It is commit 087b6cb17df5834d395ab72da3f937380470ba15, > between

Re: [gentoo-user] Console scrollback is back again!

2021-04-06 Thread Jorge Almeida
On Tue, Apr 6, 2021 at 10:56 AM Alan Mackenzie wrote: > > > > > I just tested it with kernel 5.11.11. Seems fine. > > Thanks! > Thank _you_! It is regrettable that console scrolling is out of the kernel. Even if one doesn't use the console that much, it is used once in a while, and those occasio

Re: [gentoo-user] Console scrollback is back again!

2021-04-06 Thread Alan Mackenzie
Hello, Jorge. On Mon, Apr 05, 2021 at 19:38:57 +0100, Jorge Almeida wrote: > On Mon, Apr 5, 2021 at 6:12 PM Alan Mackenzie wrote: > > Hello, Gentoo. > > Yes, console soft scrolling is back! That essential feature that was > > stripped out of the kernel at around 5.4.x has returned! > > Only t

Re: [gentoo-user] Console scrollback is back again!

2021-04-06 Thread Alan Mackenzie
Hello, Michael. On Mon, Apr 05, 2021 at 18:08:58 -0500, Michael Jones wrote: [ ] > Without looking at the patch itself: > Have you considered something like kmscon as a userland alternative? To be honest, no. I wasn't really aware of it when I starting working on the Linux console. Acco

Re: [gentoo-user] Console scrollback is back again!

2021-04-05 Thread konsolebox
On Tue, Apr 6, 2021 at 1:12 AM Alan Mackenzie wrote: > > Hello, Gentoo. > > Yes, console soft scrolling is back! That essential feature that was > stripped out of the kernel at around 5.4.x has returned! Thank you. I'll try to make this work in 5.10.28 once it's released. -- konsolebox

Re: [gentoo-user] Console scrollback is back again!

2021-04-05 Thread Michael Jones
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 wo

Re: [gentoo-user] Console scrollback is back again!

2021-04-05 Thread karl
Alan Mackenzie: > Yes, console soft scrolling is back! That essential feature that was > stripped out of the kernel at around 5.4.x has returned! It is commit 087b6cb17df5834d395ab72da3f937380470ba15, between v5.4.65 and 66. Perhaps also 0d123a8c64fde433a, cf5a7ded53652c3d63d72, and possible othe

Re: [gentoo-user] Console scrollback is back again!

2021-04-05 Thread Jorge Almeida
On Mon, Apr 5, 2021 at 6:12 PM Alan Mackenzie wrote: > > Hello, Gentoo. > > Yes, console soft scrolling is back! That essential feature that was > stripped out of the kernel at around 5.4.x has returned! > > Only this time, it's even better! Instead of one scrollback buffer > shared between all

Re: [gentoo-user] Console scrollback is back again!

2021-04-05 Thread Alan Mackenzie
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 d

Re: [gentoo-user] Console scrollback is back again!

2021-04-05 Thread antlists
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? If you want to get it back in, couldn't you ping G

Re: [gentoo-user] Console scrollback

2021-04-02 Thread Alan Mackenzie
Hello, Karl. Thanks for the reply. On Fri, Apr 02, 2021 at 21:32:04 +0200, k...@aspodata.se wrote: > Alan Mackenzie: > ... > > I've now cobbled together a working console scroll on Linux > > 5.4.80-gentoo-r1. In the end, I reused much of the old machinery which > > was still present in 4.19.97.

Re: [gentoo-user] Console scrollback

2021-04-02 Thread karl
Alex Mackenzie: ... > I've now cobbled together a working console scroll on Linux > 5.4.80-gentoo-r1. In the end, I reused much of the old machinery which > was still present in 4.19.97. Once I've tidied it up, I hope that the > resulting patch file will apply cleanly also to later versions than

Re: [gentoo-user] Console scrollback

2021-04-02 Thread Alan Mackenzie
Hello, Gentoo. On Wed, Jan 20, 2021 at 19:59:09 +, Alan Mackenzie wrote: [Context: Scrolling on the Linux text console using the keys and has been removed from the kernel. This is not a Good Thing.] > What I have in mind now is writing a Linux driver, a small piece of code > which would p

Re: [gentoo-user] Console scrollback

2021-01-25 Thread Alan Mackenzie
Hello, Wol. On Thu, Jan 21, 2021 at 09:32:13 +, Wols Lists wrote: > On 20/01/21 19:59, Alan Mackenzie wrote: > > I can understand the kernel maintainers not being enthusiastic about > > the existing code. But that dates from, I believe, the 1990s, when > > RAM was measured in megabytes, and p

Re: [gentoo-user] Console scrollback

2021-01-21 Thread Jorge Almeida
On Thu, Jan 21, 2021 at 12:40 PM Remco Rijnders wrote: > > On Thu, Jan 21, 2021 at 08:58:42AM +, Jorge wrote in > : > >On Thu, Jan 21, 2021 at 8:53 AM Wols Lists wrote: > >> > > > >> https://lwn.net/Articles/842415/ > >> > >> Take a read, as it's mentioned in this article. > >> > >Paywalled...

Re: [gentoo-user] Console scrollback

2021-01-21 Thread Remco Rijnders
On Thu, Jan 21, 2021 at 08:58:42AM +, Jorge wrote in : On Thu, Jan 21, 2021 at 8:53 AM Wols Lists wrote: https://lwn.net/Articles/842415/ Take a read, as it's mentioned in this article. Paywalled... :( Try this link: https://lwn.net/SubscriberLink/842415/5bc3e39b4d4f52fe/

Re: [gentoo-user] Console scrollback

2021-01-21 Thread Jorge Almeida
On Thu, Jan 21, 2021 at 8:53 AM Wols Lists wrote: > > https://lwn.net/Articles/842415/ > > Take a read, as it's mentioned in this article. > Paywalled... :( Jorge Almeida

Re: [gentoo-user] Console scrollback

2021-01-21 Thread Wols Lists
On 20/01/21 19:59, Alan Mackenzie wrote: > I can understand the kernel > maintainers not being enthusiastic about the existing code. But that > dates from, I believe, the 1990s, when RAM was measured in megabytes, and > processor speeds in megahertz. Optimisation for speed and store usage > just

Re: [gentoo-user] Console scrollback

2021-01-20 Thread Alan Mackenzie
Hello, Laurence. On Tue, Jan 19, 2021 at 17:09:03 +, Laurence Perkins wrote: > On Sun, 2021-01-17 at 05:17 +, Thomas Mueller wrote: > > On Sat, 16 Jan 2021 12:01:48 +, Alan Mackenzie wrote: > > > I don't know what I'll be doing, long term. For the moment, I'll > > > be hanging onto

Re: [gentoo-user] Console scrollback

2021-01-19 Thread Laurence Perkins
On Sun, 2021-01-17 at 05:17 +, Thomas Mueller wrote: > On Sat, 16 Jan 2021 12:01:48 +, Alan Mackenzie wrote: > > > Hello, Gentoo. > > On Thu, Jan 14, 2021 at 16:06:38 +, Alan Mackenzie wrote: > > > On Wed, Jan 13, 2021 at 22:15:25 -, Grant Edwards wrote: > > > > On 2021-01-13, A

Re: [gentoo-user] Console scrollback

2021-01-17 Thread Philip Webb
On Sat, 16 Jan 2021 12:01:48 +, Alan Mackenzie wrote: > I usually install Gentoo via ssh. > The article I read about the removal of Linux console's backscrolling > feature said it was mostly due to lack of a maintainer for that code, > and that if somebody stepped forward to maintain it, it cou

Re: [gentoo-user] Console scrollback

2021-01-16 Thread Thomas Mueller
On Sat, 16 Jan 2021 12:01:48 +, Alan Mackenzie wrote: > Hello, Gentoo. > On Thu, Jan 14, 2021 at 16:06:38 +, Alan Mackenzie wrote: > > On Wed, Jan 13, 2021 at 22:15:25 -, Grant Edwards wrote: > > > On 2021-01-13, Alan Mackenzie wrote: > > > > I think bringing up a new Gentoo system

Re: [gentoo-user] Console scrollback

2021-01-14 Thread karl
Grant: > On 1/13/21 2:56 PM, Alan Mackenzie wrote: ... > > Doing text work in X is s l u g g i s h. Changing from one > > application to another, which would be achieved by, say Alt-F4 on a > > console takes more key sequences in X, and is less than instantaneous. I'm using fvwm set up with 9

Re: [gentoo-user] Console scrollback

2021-01-14 Thread Alan Mackenzie
Hello, Neil. On Wed, Jan 13, 2021 at 18:44:15 +, Neil Bothwick wrote: > On Wed, 13 Jan 2021 18:14:39 +, Alan Mackenzie wrote: > > > I see that the kernel code to scroll the console has been stripped out > > > [1]. > > This is appalling. I do all my work on the console (apart from web

Re: [gentoo-user] Console scrollback

2021-01-13 Thread Grant Taylor
On 1/13/21 2:56 PM, Alan Mackenzie wrote: Hello, Grant. Hi Alan, Well, there's really not much that can't be done in a terminal emulator. But it's the manner of the doing that's important. Okay. I can appreciate and respect that response. Doing text work in X is s l u g g i s h. Chang

Re: [gentoo-user] Console scrollback

2021-01-13 Thread Alan Mackenzie
Hello, Grant. On Wed, Jan 13, 2021 at 12:32:28 -0700, Grant Taylor wrote: > On 1/13/21 11:14 AM, Alan Mackenzie wrote: > > This is appalling. I do all my work on the console (apart from web > > browsing), and with this development, Linux effectively becomes > > unusable to me. I will NOT be bu

Re: [gentoo-user] Console scrollback

2021-01-13 Thread Grant Taylor
On 1/13/21 11:14 AM, Alan Mackenzie wrote: This is appalling. I do all my work on the console (apart from web browsing), and with this development, Linux effectively becomes unusable to me. I will NOT be bullied into using second rate alternatives like X-Windows terminals. Wow. I don't thi

Re: [gentoo-user] Console scrollback

2021-01-13 Thread Peter Humphrey
On Wednesday, 13 January 2021 18:14:39 GMT Alan Mackenzie wrote: > Hello, Peter. > > On Wed, Jan 13, 2021 at 10:30:19 +, Peter Humphrey wrote: > > Hello list, > > > > I see that the kernel code to scroll the console has been stripped out > > [1]. > > This is appalling. I do all my work on t

Re: [gentoo-user] Console scrollback

2021-01-13 Thread Neil Bothwick
On Wed, 13 Jan 2021 18:14:39 +, Alan Mackenzie wrote: > > I see that the kernel code to scroll the console has been stripped out > > [1]. > > This is appalling. I do all my work on the console (apart from web > browsing), and with this development, Linux effectively becomes unusable > to

Re: [gentoo-user] Console scrollback

2021-01-13 Thread Alan Mackenzie
Hello, Peter. On Wed, Jan 13, 2021 at 10:30:19 +, Peter Humphrey wrote: > Hello list, > I see that the kernel code to scroll the console has been stripped out > [1]. This is appalling. I do all my work on the console (apart from web browsing), and with this development, Linux effectively b

Re: [gentoo-user] Console scrollback

2021-01-13 Thread Peter Humphrey
On Wednesday, 13 January 2021 11:21:54 GMT Andreas Fink wrote: > How about this (works with bash, not sure about other shells): > emerge |& less > > This should work with all shells: > emerge 2>&1 | less That's better; thanks Andreas. -- Regards, Peter.

Re: [gentoo-user] Console scrollback

2021-01-13 Thread Andreas Fink
On Wed, 13 Jan 2021 10:55:18 + Peter Humphrey wrote: > On Wednesday, 13 January 2021 10:38:01 GMT Michael wrote: > > On Wednesday, 13 January 2021 10:30:19 GMT Peter Humphrey wrote: > > > Hello list, > > > > > > I see that the kernel code to scroll the console has been stripped out > > > [1].

Re: [gentoo-user] Console scrollback

2021-01-13 Thread Peter Humphrey
On Wednesday, 13 January 2021 10:38:01 GMT Michael wrote: > On Wednesday, 13 January 2021 10:30:19 GMT Peter Humphrey wrote: > > Hello list, > > > > I see that the kernel code to scroll the console has been stripped out > > [1]. What do people use instead? > > > > This loss is a nuisance while in

Re: [gentoo-user] Console scrollback

2021-01-13 Thread Michael
On Wednesday, 13 January 2021 10:30:19 GMT Peter Humphrey wrote: > Hello list, > > I see that the kernel code to scroll the console has been stripped out [1]. > What do people use instead? > > This loss is a nuisance while installing a new system, as I am still trying > to do on my old laptop. >