less 530: scrolling one page up or down.
by stf92 from LinuxQuestions.org on (#4XF0Z)
Hi: suppose I am using the less command to read a text file. I can press the PgDn key to scroll one page down. When I do so, the default behavior (at least in my installation) is the following: lets number the pages and suppose I am in page 5. I press PgDn. Then I see page 6. I won't see the last line of page 5. The screen begins with the first line of page 6. Alright.
Now the following behavior is possible in less: I am at page 5 and press PgDn. Then the screen I shall see begins with the last line of page 5 followed by the first line of page 6. That is, there is an overlapping of one line. And you can specify an overlapping of any number of lines if you wish. Of course the same applies to scrolling up (PgUp key or ^B). This behavior is comfortable because after changing the page you can have forgotten some of the words in the last line of the previous page.
What I am needing is the name of the less option that governs this behaviour. I looked into the man page and search instances of "scroll" and found nothing connected with the described behavior. Do you know the command name?


Now the following behavior is possible in less: I am at page 5 and press PgDn. Then the screen I shall see begins with the last line of page 5 followed by the first line of page 6. That is, there is an overlapping of one line. And you can specify an overlapping of any number of lines if you wish. Of course the same applies to scrolling up (PgUp key or ^B). This behavior is comfortable because after changing the page you can have forgotten some of the words in the last line of the previous page.
What I am needing is the name of the less option that governs this behaviour. I looked into the man page and search instances of "scroll" and found nothing connected with the described behavior. Do you know the command name?