[comp.unix.questions] Pager

rbanks@wookumz.ai.mit.edu (Richard E. Banks) (02/27/91)

Does anyone know of a pager that has a command that allows you to go to a certain
percentage of a file ? Or does anyone know how the code might be modified in
a pager like more to do this ?
A pager like this would make reading certain parts of a long file eaiser.

Dan_Jacobson@ATT.COM (03/01/91)

>>>>> On 27 Feb 91 10:44:42 GMT, rbanks@wookumz.ai.mit.edu (Richard E. Banks) said:


Richard> Does anyone know of a pager that has a command that allows
Richard> you to go to a certain percentage of a file ?

After waiting maturely while you mean people :-) ingnored Mr. Banks'
question (or perhaps e-mailed him), I'm here to say that "less"'s man
page, [less can be gotten from comp.sources.unix archives, e.g., on
uunet.uu.net], says:

          p    Go to a position N percent into the file.  N should be
               between 0 and 100.  (This is possible if standard input
               is being read, but only if less has already read to the
               end of the file.  It is always fast, but not always
               useful.)

          %    Same as p.

-- 
Dan_Jacobson@ATT.COM  Naperville IL USA  +1 708 979 6364