Scrollback on Linux TTY
p.s. tmux or screen is not a solution.
p.s. tmux or screen is not a solution.
Otherwise 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):
bash | tee /tmp/scrollback
Then login on your second virtual console and run: less +F /tmp/scrollback
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"