Sample Header Ad - 728x90

Buffering follow + automatic pagination of output

0 votes
1 answer
74 views
I have a utility that continuously outputs live logs from a program. But it can be quite hard to read the logs lines as they scroll past me in the terminal. Ideally it should scroll to one full page, and then pause until there is a full new screen of logs ready to be shown and then automatically scroll to that. Is it possible to pipe the output to some utility such as less or more to get pagination, but at the same time have it buffer the following output until a new page is ready and then automatically scroll without user input to the next page?
Asked by David S. (101 rep)
Sep 8, 2023, 11:42 AM
Last activity: Sep 8, 2023, 09:28 PM