Scrollback on Linux TTY
Hi all, every time I use linux tty it is immense pain since they removed scrollback support in 5.9.
I was wondering is there some brave soul who could bring us back this amazing feature that used to put linux upon any other system.
p.s. tmux or screen is not a solution.
7 comments
[ 2.7 ms ] story [ 28.2 ms ] threadOtherwise you could revert the removal in your own kernel, or else, kmscon still has scrollback: https://news.ycombinator.com/item?id=34154035
Thank you for tip and link!
>>> for scrolling back once you've logged into the console
This, um, might pose security issue so, maybe excluding this?
login on your first virtual console and then run the following (feel free to replace bash with your preferred shell):
Then login on your second virtual console and run: Now switch back to your first virtual console and start debugging. When you hit a point you want to scroll back then hop over to your second virtual console hit <CTRL>+C to interrupt less from following your file and you can then scroll back through your output. When you've done scrolling back through your history press <SHIFT>+F (i.e. an uppercase F) in less and it'll go back to following the /tmp/scrollback fileIt's not how I would work, but there were times where I've had minimal resources to work with on a physical server and this did the job - albeit in a total impractical way. :)
>>>This, um, might pose security issue so, maybe excluding this?
oh, this is wrong and makes no sense, because I was unable to read properly the other day... i've read "once you logged out"