Closed jidanni closed 3 years ago
Hi Dan, I'm not sure I understand your "white line" proposal -- is it different than what the -w flag does?
Hmmm, -w, must be new.
Wait! -w is powerless to deal with blank lines! No characters to highlight, so no highlighting. Bad...
Anyway I was thinking of a thinner white line anyway, as thick as an underline. Perhaps allow that as an alternative to highlighting, and do it even if there is nothing to underline -- at a standard width of 80...
And maybe some folks want all this stuff to only turn on if we are on the last page... (However the user would probably think it was part of the original document, as he would forget that highlighting etc. was in effect... so have it say "--LESS LAST PAGE--" etc.)
Yes, -w is new. It was added in 1999. :-)
If you enable the status column (-J) you will see the page mark even if the line is empty.
But at a price of shoving all the lines over...
As of 5c20a6108472fc7f636ff08f7606f02a06b335c6, the highlight will appear even if the highlighted line is empty.
Problem: I'm using
or whatever, which I'm quite happy with.
The problem always comes on the last page. E.g., on page 8 of a 8 page document.
There the user (me) eyeballs go to the top of the screen, which is actually page 7.48 etc. thinking it is the top of page 8.
But yes, I still want less to show me the last page that way. I.e., I don't want to "waste" my expensive computer screen with empty space or "EOF tilde lines" when I could be still looking at a full page.
Therefore less should also be able to:
Anyway the man page should discuss the "special difficulties with final pages".
less 551