🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74101

Re: Adding new groups using mod-active

#74101
From: Russ Allbery
Date: Sat, 26 Aug 2006 19:57
43 lines
3153 bytes
John F Morse <xanadu.bbs@invalid.net> writes:

> After a few hours of trial and error, here are my results on using
> mod-active(8) to add groups.

> I discovered the input file for mod-active had to be written as:

> ctlinnd newgroup group.one 0000000000 0000000001 y
> ctlinnd newgroup group.two 0000000000 0000000001 y
> ctlinnd newgroup group.three 0000000000 0000000001 y
> ctlinnd newgroup group.four 0000000000 0000000001 y
> ctlinnd newgroup group.five 0000000000 0000000001 y

No, the input file for mod-active should be written as:

    ctlinnd newgroup group.one y
    ctlinnd newgroup group.two y

and so forth.  That's the main cause of your problem.

> This resulted in the following in the active file:

> group.one 0000000000 0000000001 0

Yes, because the flags field that you gave it was "0000000000", and it
took the first character as the flag.  It probably should have complained
about an invalid format, but I'm not sure how much work it's worth doing
on mod-active since it has some fundamental issues.  It's really better to
use a sequence of ctlinnd commands with a modern INN.

> Another fly in the ointment: man active.times(5) brings up active(5) in
> Debian Sarge. The file is in /usr/share/man/man5 as active.times but it
> won't open using the man command. I had to read the active.times(5)
> version at die.net on the Web.

active.times used to be documented in the same manual page as active and
was only recently split into a separate file.  So this is expected.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87u03ztglj.fsf@windlord.stanford.edu>
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!postnews.google.com!news4.google.com!newsfeed.stanford.edu!shelby.stanford.edu!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> <87wtamww8p.fsf@windlord.stanford.edu> <n6Msg.117945$mF2.5310@bgtnsc04-news.ops.worldnet.att.net> <5PPsg.363874$Fs1.281627@bgtnsc05-news.ops.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <87u03ztglj.fsf@windlord.stanford.edu>
Subject: Re: Adding new groups using mod-active
Date: Sat, 26 Aug 2006 12:57:44 -0700
From: Russ Allbery <rra@stanford.edu>
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> <87wtamww8p.fsf@windlord.stanford.edu> <n6Msg.117945$mF2.5310@bgtnsc04-news.ops.worldnet.att.net> <5PPsg.363874$Fs1.281627@bgtnsc05-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!postnews.google.com!news4.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 43
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1156622264 24170 171.64.19.147 (26 Aug 2006
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux)
Cancel-Lock: sha1:68nlIan45AvgZjKsKYgrUE5rA7o=