On Sat, Feb 19, 2011 at 03:37:38PM -0800, Gary Kline wrote:
> 
> Need help findind a way of using existing unix utilities to diplay
> chunks of N lines of a text files.  Here N <= the number of lines in
> the file.
> 
> For instance, say that my xterm/console/"Konsole" is 80x53 lines.
> My text file is around 200 lines long and I want to use more or less
> or some GUI pager to display only 15 lines at one time.  Tapping the 
> space bar would display another 15 lines and so on until EOF.  Is
> there a way of doing with with flags of the existing /usr/bin/less
> or is there some other pager that I can build?

Actually, the more pager should scroll one page at a time, determining a
"page" by the size of the console in which it is displayed, if I remember
correctly.  Just `more filename` and start hitting the spacebar.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

Attachment: pgpTBpIkQTCb9.pgp
Description: PGP signature

Reply via email to