Related to this question: How can I get file information in 'less' like with 'man'?

Is there a way to ask less to suck in a whole stream to EOF (or at least to some size limit) so that, when it's being used to read from a pipe, it can still give location in the prompt as a percentage?

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

Pass it +G1G so that it scrolls to the end (and loads the stream) and then scrolls back to the beginning.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.