🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #733

Re: Better paging behaviour near eot desired

#733
From: 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!
Technical Details
Message-ID: <626@texas.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
References: <1990Jul11.033058.3732@m2xenix.psg.com>

Show Full Headers
Complete Article Headers
Message-ID: <626@texas.dk>
Subject: Re: Better paging behaviour near eot desired
Date: Tue, 17 Jul 1990 22:49:31 +0000
From: storm@texas.dk (Kim F. Storm)
References: <1990Jul11.033058.3732@m2xenix.psg.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
Newsgroups: news.software.nn
Organization: Texas Instruments, Denmark
Lines: 40
Posted: Tue Jul 17 23:49:31 1990