Article View: news.software.readers
Article #50002slrn, change from 0.9.5.6 to 0.9.5.7
From: Christian Chen
Date: Wed, 21 Jul 1999 00:00
Date: Wed, 21 Jul 1999 00:00
46 lines
2961 bytes
2961 bytes
Hi,
I recently downloaded version 0.9.5.7 of slrn and started using it, and I've
noticed a change in the way articles scroll. In version 0.9.5.6, when I hit
space-bar to scroll to the next page of the article, the top of the new page
of the article would start with the line of text immediately after the line
that had been at the bottom of the previous page : in other words, no lines
of text were repeated as the article scrolled through each page. Starting
with version 0.9.5.7 however, I've noticed that this is no longer the case.
When scrolling through an article page by page, the last line of the previous
page is retained as the first line of the next page.
The changes.txt file does not mention this as an intended effect (or at least
it doesn't list anything that sounds like this to me.) The only thing that
comes close is item number 1:
1. Fixed calculation of article window size in non-zoomed mode.
In the art.c, in function art_winch(), there is this line of code:
/* allow for art status line, unless we are zoomed. */
if (Header_Window_Nrows != 0)
Header_Window_Nrows--;
This line of code appears to change the number of header rows. For
example, with this line of code in place, there are only four lines
of headers visible when the article is being displayed. With this
line of code commented out, there are five lines of headers visible.
This is the same number that are visible with version 0.9.5.6.
More interestingly though, the scrolling behavior reverts back to
version 0.9.5.6, e.g. none of the lines of the article are repeated
as the article is scrolled, when this line of code is removed.
If slrn is *supposed* to re-show the last line of text when an article
is being scrolled, then I suppose I'll either have to live with it or
keep commenting out the line before I compile new version of slrn. But
it seems to me that this is more like a bug, since the changes.txt
file doesn't seem to indicate that this behavior was intended, plus the
comment right above the new line of code says "allow for art status line",
which doesn't sound like "make the last line of text the first line of
the new page".
Christian Chen
Technical Details
Message-ID:
<slrn7pcgpc.75l.oistrakh@sparc20a.inventa.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrn7pcgpc.75l.oistrakh@sparc20a.inventa.com> Subject: slrn, change from 0.9.5.6 to 0.9.5.7 Date: Wed, 21 Jul 1999 00:00:00 +0000 From: oistrakh@NOSPAM.earthlink.net (Christian Chen) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 503711548 X-Complaints-To: news@ffx2nh4.news.uu.net X-Trace: ffx2nh4.news.uu.net 932595221 643 207.247.44.69 (21 Jul 1999 22:13:41 GMT) Organization: Earthlink Land User-Agent: slrn/0.9.5.7 (UNIX) NNTP-Posting-Date: 21 Jul 1999 22:13:41 GMT Newsgroups: news.software.readers