🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
12 messages
12 total messages Started by Christoph Weber-Fahr Sun, 18 Mar 2001 13:40
Can I prevent nn from loading all groups every time
#9699
Author: Christoph Weber-Fahr
Date: Sun, 18 Mar 2001 13:40
15 lines
1202 bytes
Hi,

I tried to use nn directly with my ISP.

nn has _very_long_ stratup times; apparently it loads/checks
the list of active groups every time.

I there a way to prevent that ?

The Version is nn-6.5.6

Regards

Christoph Weber-Fahr
Re: Can I prevent nn from loading all groups every time
#9700
Author: Neil W Rickert
Date: Sun, 18 Mar 2001 14:51
16 lines
1231 bytes
Christoph Weber-Fahr <cweber@dialup.nacamar.de> writes:

>I tried to use nn directly with my ISP.

>nn has _very_long_ stratup times; apparently it loads/checks
>the list of active groups every time.

>I there a way to prevent that ?

Sure.  Don't use the 'nn' command.

Really, there isn't much choice.  It is not just a list of active
groups.  It is a list of what is the most recent message in that
group.  Unless you reload it, you won't be able to know that there
are new messages.
Re: Can I prevent nn from loading all groups every time
#9694
Author: Christoph Weber-Fahr
Date: Sun, 18 Mar 2001 15:10
29 lines
1791 bytes
Hi,

Neil W Rickert wrote:
> 
> Christoph Weber-Fahr <cweber@dialup.nacamar.de> writes:
> 
> >I tried to use nn directly with my ISP.
> 
> >nn has _very_long_ startup times; apparently it loads/checks
> >the list of active groups every time.
> 
> >I there a way to prevent that ?
> 
> Sure.  Don't use the 'nn' command.

I do so, right now. But I don't like the alternative.

> Really, there isn't much choice.  It is not just a list of active
> groups.  It is a list of what is the most recent message in that
> group.  Unless you reload it, you won't be able to know that there
> are new messages.

Huh ? It could just check the subscribed Groups. It could check 
Groups only upon entering them. Etc Etc.

Regards

Christoph Weber-Fahr
Re: Can I prevent nn from loading all groups every time
#9696
Author: those who know me have no need o...
Date: Sun, 18 Mar 2001 15:34
20 lines
1340 bytes
<3AB4CFE0.33A20952@gmx.de> divulged:

>> Really, there isn't much choice.  It is not just a list of active
>> groups.  It is a list of what is the most recent message in that
>> group.  Unless you reload it, you won't be able to know that there
>> are new messages.
>
>Huh ? It could just check the subscribed Groups. 

sounds like you should reduce the number of subscribed groups, or tidy your 
list.

>It could check 
>Groups only upon entering them. Etc Etc.

how would you know it was worthwhile to enter the group?

-- 
okay, have a sig then
Re: Can I prevent nn from loading all groups every time
#9697
Author: Neil W Rickert
Date: Sun, 18 Mar 2001 15:53
32 lines
1835 bytes
Christoph Weber-Fahr <wefa2@gmx.de> writes:
>Neil W Rickert wrote:

>> Christoph Weber-Fahr <cweber@dialup.nacamar.de> writes:

>> >I tried to use nn directly with my ISP.

>> >nn has _very_long_ startup times; apparently it loads/checks
>> >the list of active groups every time.

>> >I there a way to prevent that ?

>> Sure.  Don't use the 'nn' command.

>I do so, right now. But I don't like the alternative.

You would have to stop using the alternative newsreaders, too.  They
do the same thing.

>> Really, there isn't much choice.  It is not just a list of active
>> groups.  It is a list of what is the most recent message in that
>> group.  Unless you reload it, you won't be able to know that there
>> are new messages.

>Huh ? It could just check the subscribed Groups. It could check 
>Groups only upon entering them. Etc Etc.

You don't understand how nntp works.  The only way of finding the
current article numbers is to download the active file.  There is no
other way of checking individual groups.

Re: Can I prevent nn from loading all groups every time
#9698
Author: Cameron Kaiser
Date: Sun, 18 Mar 2001 16:27
20 lines
2043 bytes
Neil W Rickert <rickert+nn@cs.niu.edu> writes:

>You don't understand how nntp works.  The only way of finding the
>current article numbers is to download the active file.  There is no
>other way of checking individual groups.

Not true -- you can just do a "LIST active" on a pattern (try doing LIST
active comp.* on your local news swerver). I did some patches of my own to
my personal copy of 6.5.1 ages ago that only went through a list of wanted
patterns and scanned those (sub)hierarchies. Unfortunately, it caused kill
file support to segfault for some reason, but it did work. I haven't tweaked
6.5.6 to do the same. So, instead of scanning 45,000 groups, it scanned 560.
Much quicker and not much extra logic.

--
  Cameron Kaiser * ckaiser@stockholm.ptloma.edu * posting with a Commodore 128
                 personal page: http://www.armory.com/~spectre/
  ** Computer Workshops: games, productivity software and more for C64/128! **
                   ** http://www.armory.com/~spectre/cwi/ **
Re: Can I prevent nn from loading all groups every time
#9701
Author: Nick Holloway
Date: Sun, 18 Mar 2001 18:44
43 lines
3086 bytes
Neil W Rickert <rickert+nn@cs.niu.edu> writes:
> You don't understand how nntp works.  The only way of finding the
> current article numbers is to download the active file.  There is no
> other way of checking individual groups.

The "group" command also returns the high and low article numbers for the
specified group.

    group news.software.nn
    211 16 1484 1513 news.software.nn

I believe that the news reader in Netscape used to use this to see if
there were any new articles in the subscribed groups.

For the original poster, there appears to be extra functionality in nn-tk
for dealing with reading over a slow line, namely "dont-read-active".
This is the version of nn I use (I think the threading used to be better),
and although it has a many windowed GUI version, the plain tty version
is still there.

Here is a quote from the manual about using over a slow line:

    If NNTP is being used over a slow line it is possible to speed
    up initialization by setting the nn variable new-group-action to
    less than 3 to stop the active.times file being read and setting
    show-purpose-mode to 0 to stop the newsgroups files being read.

    If even faster startup is required the -A command option will
    stop NN reading the active file via NNTP but it will instead
    use the .newsrc file to provide a list of newsgroups, this is
    the equivalent of setting the dont-read-active variable. The
    dont-do-new-groups variable speeds things up slightly by ignoring
    new groups. In this mode information about a number of groups
    is read at once, the variable nntp-group-readahead controls how
    many groups this information is read for (if it is set to a too
    high value, say 1000, it is counter productive and may cause
    problems). The number of unread articles for groups that have
    not been read ahead is not displayed.

-- 
 `O O'  | Nick.Holloway@pyrites.org.uk
// ^ \\ | http://www.pyrites.org.uk/
Re: Can I prevent nn from loading all groups every time
#9707
Author: those who know me have no need o...
Date: Sun, 18 Mar 2001 18:52
11 lines
1087 bytes
<992llq$hsq@euclid.cs.niu.edu> divulged:

>You don't understand how nntp works.  The only way of finding the
>current article numbers is to download the active file.  There is no
>other way of checking individual groups.

so not true.

-- 
okay, have a sig then
Re: Can I prevent nn from loading all groups every time
#9708
Author: those who know me have no need o...
Date: Sun, 18 Mar 2001 18:53
9 lines
1028 bytes
<3ab4e142$0$48718$45beb828@newscene.com> divulged:

>you can just do a "LIST active" on a pattern 

not all servers support that command extension.

-- 
okay, have a sig then
Re: Can I prevent nn from loading all groups every time
#9702
Author: Cameron Kaiser
Date: Mon, 19 Mar 2001 06:13
16 lines
1689 bytes
not-a-real-address@usa.net (those who know me have no need of my name) writes:

>>you can just do a "LIST active" on a pattern 

>not all servers support that command extension.

Well, good point, but any server worth its salt should. It works on Harpoon
and Typhoon, and I'd be surprised if INN didn't understand it. DNEWS might
be funky with it. ;-)

--
  Cameron Kaiser * ckaiser@stockholm.ptloma.edu * posting with a Commodore 128
                 personal page: http://www.armory.com/~spectre/
  ** Computer Workshops: games, productivity software and more for C64/128! **
                   ** http://www.armory.com/~spectre/cwi/ **
Re: Can I prevent nn from loading all groups every time
#9704
Author: Michael T Pins
Date: Mon, 19 Mar 2001 23:02
29 lines
2224 bytes
Cameron Kaiser <ckaiser@stockholm.ptloma.edu> writes:

>not-a-real-address@usa.net (those who know me have no need of my name) writes:

>>>you can just do a "LIST active" on a pattern 

>>not all servers support that command extension.

>Well, good point, but any server worth its salt should. It works on Harpoon
>and Typhoon, and I'd be surprised if INN didn't understand it. DNEWS might
>be funky with it. ;-)

It didn't used to work on Typhoon.  This caused me a great deal of grief at
the time.  Apparently they had never heard of the command.  I hit them over
the head a few times and they finally implemented it.

nn won't talk to any server that doesn't support it.


Getting back to the original question -
No, it's not currently possible to avoid reading the entire active file at
startup.  Yes, it's on the list of things to fix one of these years.

--
**************************************************************************
*     Michael T Pins                 |          mtpins@visi.com          *
*     keeper of the nn sources       |      mtpins@icaen.uiowa.edu       *
*   ftp://ftp.visi.com/users/mtpins  |     #include <std.disclaimer>     *
Re: Can I prevent nn from loading all groups every time
#9705
Author: Nick Holloway
Date: Tue, 20 Mar 2001 07:56
14 lines
1760 bytes
mtpins@visi.com (Michael T Pins) writes:
> Getting back to the original question -
> No, it's not currently possible to avoid reading the entire active file at
> startup.  Yes, it's on the list of things to fix one of these years.

I suggest you have a look at nn-tk[1], as that version does have the
ability to do that.

[1] http://www.general.uwa.edu.au/u/toivo/nn-tk/

-- 
 `O O'  | Nick.Holloway@pyrites.org.uk
// ^ \\ | http://www.pyrites.org.uk/
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