Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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