Thread View: news.software.readers
6 messages
6 total messages
Started by jmd
Sat, 28 Aug 1999 00:00
slrn bug, i think
Author: jmd
Date: Sat, 28 Aug 1999 00:00
Date: Sat, 28 Aug 1999 00:00
13 lines
892 bytes
892 bytes
in the newsgroup list mode, in slrn 0.9.5.7, i seem to run in to this bug quite a bit. it shows a newsgroup as: 23112 alt.some.thing 23100-23300 the number of unread articles is /way/ off...it's always midway between the highest article number, and the highest read. never had this before 0.9.5.7. -- jmd <reply via usenet>
Re: slrn bug, i think
Author: jmd
Date: Sun, 29 Aug 1999 00:00
Date: Sun, 29 Aug 1999 00:00
18 lines
1113 bytes
1113 bytes
On 28 Aug 1999 05:34:39 GMT, jmd <jmd@bogus.host> wrote: > in the newsgroup list mode, in slrn 0.9.5.7, i seem to run in to this bug > quite a bit. it shows a newsgroup as: > > 23112 alt.some.thing 23100-23300 > > the number of unread articles is /way/ off...it's always midway between > the highest article number, and the highest read. never had this before > 0.9.5.7. heres an actual paste: 61415 comp.unix.questions 61255-61806 -- jmd <reply via usenet>
Re: slrn bug, i think
Author: John E. Davis
Date: Sun, 29 Aug 1999 00:00
Date: Sun, 29 Aug 1999 00:00
14 lines
1189 bytes
1189 bytes
On 29 Aug 1999 05:05:38 GMT, jmd <jmd@bogus.host>
wrote:
> 61415 comp.unix.questions 61255-61806
The next time this happens, please do, e.g.,
grep comp.unix.questions ~/.newsrc
and submit the result as part of the bug report. No one has ever
reported this behavior to me and I am unable to reproduce it.
--John
Re: slrn bug, i think
Author: jmd
Date: Mon, 30 Aug 1999 00:00
Date: Mon, 30 Aug 1999 00:00
60 lines
2442 bytes
2442 bytes
On 29 Aug 1999 07:30:14 GMT, John E. Davis <davis@space.mit.edu> wrote:
> The next time this happens, please do, e.g.,
>
> grep comp.unix.questions ~/.newsrc
>
> and submit the result as part of the bug report. No one has ever
> reported this behavior to me and I am unable to reproduce it.
this session its still displaying the same group wrong, but i have
seen it do other large groups (with large numbers of unread articles)
61427 comp.unix.questions 61295-61818
$ grep questions ~/.newsrc
comp.unix.questions: 61304-61694
<i hit 'x' in slrn to write out the file, no change>
$ grep questions ~/.newsrc
comp.unix.questions: 61304-61694
<i entered the group and read the first article
comp.unix.questions: Read how many? (default: 524) <hit enter>
<read the top (oldest) article, left it deleted, quit back to main>
130 comp.unix.questions 61295-61818
<i hit 'x' in slrn to write out the file, no change>
$ grep questions ~/.newsrc
comp.unix.questions: 61304-61694
<now for more strangeness, i quit slrn, and restart it, it displays:>
59236 comp.unix.admin 58769-59237
<article numbers are 59k instead of 61k, its the same server, about 60 seconds,
later...the "unread" number is still midway between them as i described>
since you said you hadn't seen this reported before, and since its so
freakin strange, i can only think, it might be a broken NNTP server?
heres the one i'm using:
telnet reports:
UNIX(r) System V Release 4.0 (eve.enteract.com)
nntp reports:
200 news.enteract.com InterNetNews NNRP server INN 1.7.2 08-Dec-1997
ready (posting ok).
--
jmd <reply via usenet>
Re: slrn bug, i think
Author: jmd
Date: Mon, 30 Aug 1999 00:00
Date: Mon, 30 Aug 1999 00:00
32 lines
2015 bytes
2015 bytes
On 30 Aug 1999 05:39:43 GMT, John E. Davis <davis@space.mit.edu> wrote: > Your newsrc file indicates that you read articles 61304 to 61694. > This means that you did not read articles the 61303 articles in the > range 1-61303. Hence, the number of unread articles is 61303 + (61818 > - 61694), or 61427 as indicated. > > The real question is why doesn't your newsrc line read, e.g., > > comp.unix.questions: 1-61294,61304-61694 i think i see the problem...i've never done a 'catchup' on that newsgroup, so 1-X was never marked as read. slrn's unread message calculation should only count the messages avalable on the server, (highest avail - lowest avail - count in between read), instead, its doing (highest avail - count in between read)...that leaves the first 60k messages that are long gone as unread... i dont think thats what we want displayed slrnrc is the only newsreader to have touched this .newsrc file, but it was used a while back on another news server, i never had caught-up in that group on the old server eaither > I do not have an answer for this and all I can suggest is that you > apply the following patch to slrn/src/group.c: your patch appears to fix what i described, so i think you have the answer -- jmd <reply via usenet>
Re: slrn bug, i think
Author: John E. Davis
Date: Mon, 30 Aug 1999 00:00
Date: Mon, 30 Aug 1999 00:00
35 lines
1922 bytes
1922 bytes
On 30 Aug 1999 01:04:52 GMT, jmd <jmd@bogus.host>
wrote:
> 61427 comp.unix.questions 61295-61818
[...]
>comp.unix.questions: 61304-61694
Your newsrc file indicates that you read articles 61304 to 61694.
This means that you did not read articles the 61303 articles in the
range 1-61303. Hence, the number of unread articles is 61303 + (61818
- 61694), or 61427 as indicated.
The real question is why doesn't your newsrc line read, e.g.,
comp.unix.questions: 1-61294,61304-61694
I do not have an answer for this and all I can suggest is that you
apply the following patch to slrn/src/group.c:
--- group.c~ Mon May 17 01:07:38 1999
+++ group.c Mon Aug 30 01:25:38 1999
@@ -568,6 +568,12 @@
slrn_add_group_ranges (Slrn_Group_Current_Group, min, max);
}
+
+ if ((g->range.next != NULL)
+ && (g->range.next->min < g->unread)
+ && (g->range.next->min > 1))
+ g->unread -= g->range.next->min - 1;
+
return 0;
}
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