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 > 5.4.80-r1. ...
Nice, where is the patch so I can try ? > (i) The scrolling doesn't work on /dev/tty1 aka the console. > (ii) When, e.g., /dev/tty6 has been scrolled upwards a bit, and then > <Alt><F2> pressed to go to /dev/tty2, on returning to /dev/tty6, the > scrolling has been cancelled and the cursor is no longer visible. > However, the scrollback buffer is still present. > > I think I'm fairly likely to be able to solve (ii). However, (i), the > problem with /dev/tty1, has me baffled. I don't know where to start > looking for the problem. If anybody with some kernel knowledge could > make any suggestions, I'd be very grateful. What happens if you set /dev/console to be /dev/ttyS0, i.e. make sure that tty1 is the only one using the first virtual console. Regards, /Karl Hammar