1 |
Hello, Gentoo. |
2 |
|
3 |
A new kernel, gentoo-sources-5.10.49-r1 has become current. |
4 |
|
5 |
For those who wish to have console soft scrolling, the patch which worked |
6 |
with 5.10.27 actually still works in 5.10.49-r1. But I've tidied that |
7 |
patch up somewhat for 5.10.49-r1 and have attached the patch file to this |
8 |
post. |
9 |
|
10 |
The instructions for using it are basically unchanged, apart from file |
11 |
names, etc. Updating those instructions gives us: |
12 |
(i) Extract the attached patch file to your |
13 |
/usr/src/linux-5.10.49-gentoo-r1 directory (or probably any 5.10 |
14 |
kernel's). |
15 |
(ii) From that directory run $ patch -p0 < 5.10.49-scroll.20210715.diff. |
16 |
(iii)(a) If you've already got a working 5.10.49-r1, do a $ make oldconfig. |
17 |
That should bring up the new configuration items, for which you can |
18 |
accept the defaults. These two items are a flag to enable the |
19 |
scrollback, and a buffer size defaulting to 128kB. |
20 |
(iii)(b) If you haven't yet got a 5.10.49-r1, just configure your kernel |
21 |
in the usual way. The two new items are under Device Drivers/Graphics |
22 |
support/Console display driver support. |
23 |
(iv) Build the kernel. |
24 |
(v) Put the new kernel into your usual boot manager. |
25 |
(vi) Reboot and enjoy! |
26 |
|
27 |
As before, it works for me, and there's nothing malicious in it, but if |
28 |
it breaks for you, I'm sorry but I won't be responsible. |
29 |
|
30 |
-- |
31 |
Alan Mackenzie (Nuremberg, Germany). |
32 |
|
33 |
|
34 |
|
35 |
On Mon, Apr 05, 2021 at 17:12:07 +0000, Alan Mackenzie wrote: |
36 |
> Hello, Gentoo. |
37 |
|
38 |
> Yes, console soft scrolling is back! That essential feature that was |
39 |
> stripped out of the kernel at around 5.4.x has returned! |
40 |
|
41 |
> Only this time, it's even better! Instead of one scrollback buffer |
42 |
> shared between all tty's, there's now a buffer for each tty. |
43 |
|
44 |
> How to get it working: |
45 |
> (i) Extract the enclosed patch file to your /usr/src/linux-5.10.27-gentoo |
46 |
> directory (or probably any 5.10 kernel's). |
47 |
> (ii) From that directory run $ patch -p0 < diff.20210405.diff. |
48 |
> (iii)(a) If you've already got a working 5.10.27, do a $ make oldconfig. |
49 |
> That should bring up the new configuration items, for which you can |
50 |
> accept the defaults. These two items are a flag to enable the |
51 |
> scrollback, and a buffer size defaulting to 128kB. |
52 |
> (iii)(b) If you haven't yet got a 5.10.27, just configure your kernel in |
53 |
> the usual way. The two new items are under Device Drivers/Graphics |
54 |
> support/Console display driver support. |
55 |
> (iv) Build the kernel. |
56 |
> (v) Put the new kernel into your usual boot manager. |
57 |
> (vi) Reboot and enjoy! |
58 |
|
59 |
> Admittedly, the exercise isn't quite finished - the patched source files |
60 |
> still have my personal change markings in them, to make debugging easier. |
61 |
> But the problems I reported here a few days ago are now solved. One or |
62 |
> two features haven't (yet) been implemented - having a single scroll |
63 |
> buffer shared amongst all tty's isn't there, and there're no kernel |
64 |
> command line parameters to control the feature. |
65 |
|
66 |
> Also, you may wonder about how safe the patch is. All I can say is that |
67 |
> there is nothing malicious in it, and I am known on this list, but of |
68 |
> course if it breaks I won't be to blame. |
69 |
|
70 |
> Bug reports and other comments are welcome, of course. |
71 |
|
72 |
> If anybody would like the corresponding patch which works on 5.4.n, for n |
73 |
> >= 80, that is available, too. |
74 |
|
75 |
> -- |
76 |
> Alan Mackenzie (Nuremberg, Germany). |