Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2011 15:37:38 -0800
From:      Gary Kline <kline@thought.org>
To:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   variable line-display pager?
Message-ID:  <20110219233736.GA20393@thought.org>

next in thread | raw e-mail | index | archive | help

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?

thanks,

gary



-- 
 Gary Kline  kline@thought.org  http://www.thought.org  Public Service Unix
           Journey Toward the Dawn, E-Book: http://www.thought.org
          The 7.98a release of Jottings: http://jottings.thought.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110219233736.GA20393>