Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Console scrollback is back again!
Date: Tue, 06 Apr 2021 12:50:35
Message-Id: 5450911.DvuYhMxLoT@iris
In Reply to: [gentoo-user] Console scrollback is back again! by Alan Mackenzie
1 On Monday, April 5, 2021 7:12:07 PM CEST Alan Mackenzie wrote:
2 > Hello, Gentoo.
3 >
4 > Yes, console soft scrolling is back! That essential feature that was
5 > stripped out of the kernel at around 5.4.x has returned!
6 >
7 > Only this time, it's even better! Instead of one scrollback buffer
8 > shared between all tty's, there's now a buffer for each tty.
9 >
10 > How to get it working:
11 > (i) Extract the enclosed patch file to your /usr/src/linux-5.10.27-gentoo
12 > directory (or probably any 5.10 kernel's).
13 > (ii) From that directory run $ patch -p0 < diff.20210405.diff.
14 > (iii)(a) If you've already got a working 5.10.27, do a $ make oldconfig.
15 > That should bring up the new configuration items, for which you can
16 > accept the defaults. These two items are a flag to enable the
17 > scrollback, and a buffer size defaulting to 128kB.
18 > (iii)(b) If you haven't yet got a 5.10.27, just configure your kernel in
19 > the usual way. The two new items are under Device Drivers/Graphics
20 > support/Console display driver support.
21 > (iv) Build the kernel.
22 > (v) Put the new kernel into your usual boot manager.
23 > (vi) Reboot and enjoy!
24 >
25
26 Thank you!
27
28 I will add this to my "/etc/portage/patches/sys-kernel/gentoo-sources"
29 directory. Right next to the gpl-defang patch.