toot.kuba-orlik.name is part of the decentralized social network powered by Mastodon.

Administered by:

Server stats:

5
active users

Learn more

Ok so here's a linux question that's been bugging me for years.

I sometimes `less` to display/paginate a streaming stdout from another program. When I press `END` key on the keyboard, it brings me to the bottom of the stream, the latest data it has.

Then it says "Waiting for data... (^X or interrupt to abort)"

I want it to stop waiting for data and let me scroll up as it usually does when it's not waiting for data.

EDIT: Solved in

mastodon.social/@gnomon/112565

and

social.tchncs.de/@thomasmey/11 🙏

@kuba
The manpage says:

"When the "Waiting for data" message is displayed, such as while in the F command, pressing ^X will stop less from waiting and return to a prompt. This may cause less to think that the file ends at the current position, so it may be necessary to use the R or F command to see more data."