Re:Everything you ever wanted to know about terminals
by hnlmorg on Tuesday May 17, 2022 @06:50PM
(#31417181)
Once it's scrolled off the top of the screen you're basically at the mercy of your terminal emulator's scrollback history. Some might have an escape sequence available to recall it but I there isn't any standard way of doing it.
You'd be better off piping into less / more / most. These are called "pagers" and are designed to do this. eg
You'd be better off piping into less / more / most. These are called "pagers" and are designed to do this. eg