🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73772

Re: Sorting INN's Active file

#73772
From: 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)
Technical Details
Message-ID: <e85eov$ksm$1@smilodon.ecp.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.in2p3.fr!in2p3.fr!news.ecp.fr!not-for-mail
References: <pB3pg.75633$mF2.17407@bgtnsc04-news.ops.worldnet.att.net> <e82on5$os4$1@puck.litech.org> <4Wfpg.77914$mF2.6979@bgtnsc04-news.ops.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <e85eov$ksm$1@smilodon.ecp.fr>
Subject: Re: Sorting INN's Active file
Date: Sat, 01 Jul 2006 11:20:32 +0200
From: Iulius <iulius@nom-de-mon-site.com.invalid>
References: <pB3pg.75633$mF2.17407@bgtnsc04-news.ops.worldnet.att.net> <e82on5$os4$1@puck.litech.org> <4Wfpg.77914$mF2.6979@bgtnsc04-news.ops.worldnet.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.in2p3.fr!in2p3.fr!news.ecp.fr!not-for-mail
Newsgroups: news.software.nntp
Organization: Gens Iulia -- http://www.trigofacile.com/
Lines: 58
NNTP-Posting-Host: amontpellier-157-1-28-119.w86-200.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: smilodon.ecp.fr 1151745631 21398 86.200.179.119 (1 Jul 2006 09:20:31
 GMT)
X-Complaints-To: ingesys@cti.ecp.fr
NNTP-Posting-Date: Sat, 1 Jul 2006 09:20:31 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr;
In-Reply-To: <4Wfpg.77914$mF2.6979@bgtnsc04-news.ops.worldnet.att.net>