๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73817

Re: Adding new groups

#73817
From: Black Dragon
Date: Sun, 09 Jul 2006 16:45
82 lines
4323 bytes
John F. Morse wrote:

> Jeffrey M. Vinocur wrote:

>>In article <pjJrg.106021$mF2.8602@bgtnsc04-news.ops.worldnet.att.net>,
>>John F. Morse <xanadu.bbs@invalid.net> wrote:
>>  
>>
>>>So when someone creates a new INN server, and wants a total feed of say
>>>the Big Eight, they will need to use newgroup or edit the active file?
>>>No wild cards?
>>>    
>>>
>>
>>Well, something like `ctlinnd newgroup *` doesn't make sense,
>>since there's no global master list that INN could use to decide
>>what to add.
>>


> What about the list at ISC and the list in the n.a.newgroups group? 
> These are usable global master lists, and the only "official" full lists 
> that I know of.

> Iulius mentioned them:

> "By the way, the last checkgroups of the Big-Eight is : 
> http://groups.google.com/group/news.announce.newgroups/msg/066534368aa87db5?dmode=source 


> "The newsgroups file of <ftp://ftp.isc.org/pub/usenet/CONFIG/newsgroups> 
> is more up to date in fact (there were some ยซ comp.* ยป groups which were 
> deleted yesterday !)."

> The ctlinnd newgroup routine, however, does not know how to find, 
> download, parse and use these lists. This is probably what you were 
> thinking.

> I know of no other routine that can use these lists to create the active 
> file, or to create a textfile which could be appended to the active file.

> Iulius did provide a shell script to do the work for the newsgroups 
> file, but it is not saving the downloaded file to the file "list" as 
> specified. When it comes to shell scripts, perl, etc., I'm as dumb as a 
> sack of hammers.

> Perhaps something similar could be scripted to work for updating an 
> active file, by stripping off the group descriptions, and adding " 
> 0000000000 0000000001 y" to the group names?

> The list of groups without descriptions is available using the telnet 
> "list" command to any NNTP server. It is probably more apropos as to 
> what you "can" get as opposed to what is "official."

> Instead of using a newsgroups file of varying length descriptions, it 
> might be easier to design a script to "zero out" the high and low water 
> marks to that shown above? A known length: Ten zeros, plus nine zeros 
> and a one, followed by a y flag character. If required, the y flag could 
> later be changed by simple editing. (Thinking out loud here: Wouldn't 
> the flag need to be retained as-is, in order for moderated groups to 
> remain moderated?)

After telneting to a nntp server and listing the active file, I've done 
something like this in an sh shell on my hobby server.

# strip watermarks and flags:
cat active_file | awk '{ print $1 }' > active_no_watermarks

# add groups using ctlinnd newgroup
for group in `cat active_no_watermarks` ; do
	ctlinnd newgroup ${group}
done

HTH

-- 
Black Dragon

A woman's a woman until the day she dies, but a man's only a man as long
as he can.
		-- Moms Mabley
Technical Details
Message-ID: <slrneb2cl8.m3h.bd@bdhi.local>
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!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c08.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!fe79.usenetserver.com.POSTED!21bd460e!not-for-mail
References: <mqqrg.333436$Fs1.231735@bgtnsc05-news.ops.worldnet.att.net> <87ac7lgvlb.fsf@windlord.stanford.edu> <pjJrg.106021$mF2.8602@bgtnsc04-news.ops.worldnet.att.net> <e8ojtj$tb9$1@puck.litech.org> <CG6sg.110418$mF2.78339@bgtnsc04-news.ops.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrneb2cl8.m3h.bd@bdhi.local>
Subject: Re: Adding new groups
Date: Sun, 09 Jul 2006 16:45:28 +0000
From: Black Dragon <bd@nomail.invalid>
References: <mqqrg.333436$Fs1.231735@bgtnsc05-news.ops.worldnet.att.net> <87ac7lgvlb.fsf@windlord.stanford.edu> <pjJrg.106021$mF2.8602@bgtnsc04-news.ops.worldnet.att.net> <e8ojtj$tb9$1@puck.litech.org> <CG6sg.110418$mF2.78339@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!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c08.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!fe79.usenetserver.com.POSTED!21bd460e!not-for-mail
Newsgroups: news.software.nntp
Organization: Black Dragon Heavy Industries
Lines: 81
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-No-Archive: yes
User-Agent: slrn/0.9.8.1 (FreeBSD)
X-Complaints-To: abuse@usenetserver.com
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
NNTP-Posting-Date: Sun, 09 Jul 2006 12:50:01 EDT