🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #661

Re: nn doesn't notice new articles

#661
From: Kim F. Storm
Date: Mon, 02 Jul 1990 17:29
58 lines
3071 bytes
>mike@cochise.pcs.com (Mike Schroeder) writes:

>>why doesn't nn notice new articles arriving *while I'm reading news*?
>>If I remember correctly, rn does this (it tells you something about
>>"new articles have arrived").

Well, nn could easily tell you this (any time you switch to a new group
actually).  So it is not a problem to check whether new articles have
arrived.  But it does not tell you this now.

>>It seems as though nn scans the database once at startup and ignores
>>whatever happens.

That is not correct!

dean@coplex.UUCP (Dean Brooks) writes:
>Interesting idea actually.  I still use RN (blech) about 10% of the time
>because I usually read news around the time we are unbatching it.  I
>dont want to step up the nnmaster scan rate for fear of munching too much
>CPU/DISK time.  Is it possible for NN to check the database for new
>articles upon entering a group?

nn DOES just that - or rather it does almost this:

When you start nn, it scans the database to find the groups which
have new articles to read.  Then, whenever it enters a group the first
time, it will look in the database again to see if more articles have
arrived.

It will not look in the database again if you enter a group more than once,
since I think it would be too risky to do this:  Say you have just seen
a group with 40 articles, you go to the next group, then use P to go to
the group you have just visited.  Now, if a new article has arrived in
the meantime, it may appear somewhere among the articles on the menu,
where it is likely to be overlooked (when I use 'P', I expect to see
the same articles again).

So I deliberately don't look in the database for more articles if a
group has been shown once.

However, there are two problems which could be solved:

1)  If the initial scan of the database did not reveal unread articles in
    a group, nn will not look for new articles in that group (it only
    looks for the groups which had unread articles initially), and

2)  It could give you the chance to reenter read groups where new 
    articles have arrived before exiting after you have read all groups.
    This would basically correspond to exiting and starting nn again,
    but of course it would be faster.

>Until then, I am stuck with RN to read freshly-unbatched news.

Some people just can't wait :-)
-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
Technical Details
Message-ID: <613@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: <645@pcsbst.pcs.com> <168@coplex.UUCP>

Show Full Headers
Complete Article Headers
Message-ID: <613@texas.dk>
Subject: Re: nn doesn't notice new articles
Date: Mon, 02 Jul 1990 17:29:23 +0000
From: storm@texas.dk (Kim F. Storm)
References: <645@pcsbst.pcs.com> <168@coplex.UUCP>
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: 58
Posted: Mon Jul 2 18:29:23 1990