Gentoo Archives: gentoo-user

From: karl@××××××××.se
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Console scrollback
Date: Fri, 02 Apr 2021 19:32:14
Message-Id: 20210402193204.749098246B59@turkos.aspodata.se
In Reply to: Re: [gentoo-user] Console scrollback by Alan Mackenzie
1 Alex Mackenzie:
2 ...
3 > I've now cobbled together a working console scroll on Linux
4 > 5.4.80-gentoo-r1. In the end, I reused much of the old machinery which
5 > was still present in 4.19.97. Once I've tidied it up, I hope that the
6 > resulting patch file will apply cleanly also to later versions than
7 > 5.4.80-r1.
8 ...
9
10 Nice, where is the patch so I can try ?
11
12 > (i) The scrolling doesn't work on /dev/tty1 aka the console.
13 > (ii) When, e.g., /dev/tty6 has been scrolled upwards a bit, and then
14 > <Alt><F2> pressed to go to /dev/tty2, on returning to /dev/tty6, the
15 > scrolling has been cancelled and the cursor is no longer visible.
16 > However, the scrollback buffer is still present.
17 >
18 > I think I'm fairly likely to be able to solve (ii). However, (i), the
19 > problem with /dev/tty1, has me baffled. I don't know where to start
20 > looking for the problem. If anybody with some kernel knowledge could
21 > make any suggestions, I'd be very grateful.
22
23 What happens if you set /dev/console to be /dev/ttyS0, i.e. make sure
24 that tty1 is the only one using the first virtual console.
25
26 Regards,
27 /Karl Hammar

Replies

Subject Author
Re: [gentoo-user] Console scrollback Alan Mackenzie <acm@×××.de>