🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Randy Bush Wed, 11 Jul 1990 03:30
Better paging behaviour near eot desired
#708
Author: Randy Bush
Date: Wed, 11 Jul 1990 03:30
7 lines
1029 bytes
I presume that there is a good reason that nn does not use my normal pager
(e.g., net transport of pages).  But I sure wish that when the article is 30
lines I would not just get 6 lines for the last page on my 24 line screen.
Or, to paraphrase, why doesn't it just scroll the next page as opposed to
rewriting from the top?
-- 
.!{uunet,qiclab,intelhf}!m2xenix!news   news@psg.com   news@m2xenix.uucp
Re: Better paging behaviour near eot desired
#733
Author: Kim F. Storm
Date: Tue, 17 Jul 1990 22:49
40 lines
2303 bytes
news@m2xenix.psg.com (Randy Bush) writes:

>I presume that there is a good reason that nn does not use my normal pager
>(e.g., net transport of pages).

Well, the main reason is that nn has to get the commands you type after
each page, and to get those, it must also do the paging.

>			  But I sure wish that when the article is 30
>lines I would not just get 6 lines for the last page on my 24 line screen.
>Or, to paraphrase, why doesn't it just scroll the next page as opposed to
>rewriting from the top?

I can understand that, and as usual: your wish is my command!

In patch #9 there will be two new variables:

scroll-all-pages
	If you set this, nn will scroll forward rather than start each
	page from the top of the screen after clearing the screen.

scroll-last-page-limit
	You can set this to a number of *bytes*; if there are less than
	that many bytes left to the end of the article, nn will scroll
	the remaining part of the article instead of paging as it will
	do for the preceding pages of the article.

The reason I use a byte count rather than a line count is that the
byte count is always available, while the number of lines
is a bit more problematic to use (when it is not available, or it is
wrong (you cannot always trust the Lines: header even when it's there)).

Since patch #9 isn't released yet (I think one patch a week is enough :-)
you still have a chance to make me use the Lines: header instead of a byte
count if you think that would be better...  (pls. use Email since that
reaches me in minutes compared to days for news).

-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads