0
Is there some way to tell less
where to break pages?
I was hoping that ^L
(form feed / page break) would do it, but found it doesn't. I tried the following:
The first page.
It is three lines
long.
^L
The second page.
Two lines only.
^L
The third page is short.
...
I'd like less
to start showing line 1 at the top of the terminal, and after one key press line 5 should be at the top of the terminal. After another keypress it should be line 8.
As far as I can see in the help I can jump a line or a window (or to a specific line).
(If less
can't do it, is there a pager that can?)
I get the feeling that one of us doesn't understand the other. I've changed the question slightly to hopefully clarify what I mean. – Magnus – 2017-10-06T13:43:47.750
I still can't understand, you want pager to jump an arbitrary number of lines? – atype – 2017-10-06T19:13:43.880
Far from arbitrary, I want it to jump based on form feed found in the text file. – Magnus – 2017-10-08T06:13:46.453