🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by John F. Morse Fri, 30 Jun 2006 06:33
Sorting INN's Active file
#73757
Author: John F. Morse
Date: Fri, 30 Jun 2006 06:33
10 lines
1374 bytes
Is there any harm in sorting INN's Active file? Or the Newsgroups file?

Should the server be throttled first?

After the Active file is sorted, should "ctlinnd reload active" be made?

Newsgroups apparently needs no reloading (or throttling?).

-- 
John
Re: Sorting INN's Active file
#73760
Author: Jeffrey M. Vinocur
Date: Fri, 30 Jun 2006 08:51
21 lines
1758 bytes
In article <pB3pg.75633$mF2.17407@bgtnsc04-news.ops.worldnet.att.net>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>Is there any harm in sorting INN's Active file? Or the Newsgroups file?

Well, there's no harm to it more than any other manual editing of
the active file...but personally, I try to avoid that when
possible.  You certainly would need to careful about not editing
it while INN is.

I'm not sure what the benefit would be, though.  Most (all?)
newsreaders will sort the list before presenting it to users,
after all.


And yeah, INN never writes to the newsgroups file, so you can
modify that however you like.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Sorting INN's Active file
#73763
Author: John F. Morse
Date: Fri, 30 Jun 2006 20:35
46 lines
2851 bytes

Jeffrey M. Vinocur wrote:

>In article <pB3pg.75633$mF2.17407@bgtnsc04-news.ops.worldnet.att.net>,
>John F. Morse <xanadu.bbs@invalid.net> wrote:
>  
>
>>Is there any harm in sorting INN's Active file? Or the Newsgroups file?
>>    
>>
>
>Well, there's no harm to it more than any other manual editing of
>the active file...but personally, I try to avoid that when
>possible.  You certainly would need to careful about not editing
>it while INN is.
>
>I'm not sure what the benefit would be, though.  Most (all?)
>newsreaders will sort the list before presenting it to users,
>after all.
>


Oh, the benefit is for me -- mostly to easily locate a certain group to 
see if it is or is not added. Or to compare two groups spelled nearly 
the same for typo checking.

Newsreaders I've used in the past (Netscape/Mozilla/Thunderbird and OE) 
do not sort the groups. They are kept in a file in the same order in 
which they were subscribed and downloaded. IOW, adding a few new groups 
later will put them at the bottom of the list. Perhaps Pan, Agent, 
Xnews, Knews, KNode, etc. may sort.

I think I read something about a utility for OE that would sort, but I 
don't use OE. I have manually sorted the Netscape/Mozilla/Thunderbird 
news client lists in the past, and have had no problems.

Somewhere I've seen a complete list of newsgroups with their 
descriptions. That would save a lot of typing if I could find it. I 
believe having the complete listing would not hurt anything even if just 
a few were actually used.

Thanks, Jeff.

-- 
John
Re: Sorting INN's Active file
#73772
Author: Iulius
Date: Sat, 01 Jul 2006 09:20
58 lines
2913 bytes
En réponse à John F. Morse :
> Oh, the benefit is for me -- mostly to easily locate a certain group to 
> see if it is or is not added. Or to compare two groups spelled nearly 
> the same for typo checking.

As for one use :


tri-active.sh
-------------

#!/bin/sh
#
# Mettre « > /dev/null 2>&1 » à la fin des instructions si le script
# est exécuté en cron.

cd /var/lib/news
ctlinnd pause "Tri de fichiers"
cp active active.bak
sort active.bak > active
cp newsgroups newsgroups.bak
sort newsgroups.bak > newsgroups
ctlinnd reload all "Tri fait"
ctlinnd go "Tri de fichiers"



And it works very well.
On no account should you alter the « active » file while Inn is running.



> Newsreaders I've used in the past (Netscape/Mozilla/Thunderbird and OE) 
> do not sort the groups.

They sort them in the list they show (but not in the file saved on the disk).



> Somewhere I've seen a complete list of newsgroups with their 
> descriptions. That would save a lot of typing if I could find it. I 
> believe having the complete listing would not hurt anything even if just 
> a few were actually used.

I think you speak about this :

ftp://ftp.isc.org/pub/usenet/CONFIG/


But some hierarchies are missing (for instance « cn.* ») and other are not
up to date (« microsoft.* », « netscape.* », etc.).
So I recommand you to wait for checkgroups (or to directly see in the
Microsoft or Netscape news server the « active » file).

-- 
Iulius

« Le temps c'est des sesterces. » (Coquelus)
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