🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39497

Re: Diablo - command line newgroup ?

#39497
From: Paul Martin
Date: Fri, 27 Aug 1999 00:00
36 lines
1563 bytes
In article <87u2po7yh8.fsf@smart.ruhr.de>, Thomas Neumann wrote:
>prk@rave.iinet.net.au (Paul Raj Khangure) writes:
>
>> Sorry for all the questions ;)
>> 
>> With diablo, is there a command line way of adding a new newsgroup?
>> 
>> I know I can set up dcontrol.ctl to doit for a particular address, but
>> that seems a little clumsy.
>> 
>> Inn has ctlinnd newgroup local.whatever - what's Diablo's equivalent?
>
>
>#! /bin/sh
>
>PATH=/news/dbin:/news/lbin:/bin:/usr/bin
>export PATH
>
>group=$1
>status=${2:-y}
>
>[ X"$group" != X ] || { echo "Usage: $0 group [status]" >&2; exit 42; }
>
>cd /news
>dkp -w dactive.kp $group NB=0000000000
>dkp -w dactive.kp $group NE=0000000000
>dkp -w dactive.kp $group S=$status

You've missed the creation time field. Might be useful for the NEWGROUPS
command.

-- 
Paul Martin <pm@zetnet.net>
at home, swap dash to dot to email.

Technical Details
Message-ID: <37c69341$0$2603@master.news.zetnet.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.mbox.zip!not-for-mail
References: <37c38f20$0$5795@motown2.iinet.net.au> <87u2po7yh8.fsf@smart.ruhr.de>

Show Full Headers
Complete Article Headers
Message-ID: <37c69341$0$2603@master.news.zetnet.net>
Subject: Re: Diablo - command line newgroup ?
Date: Fri, 27 Aug 1999 00:00:00 +0000
From: pm@nowster-zetnet.co.uk (Paul Martin)
References: <37c38f20$0$5795@motown2.iinet.net.au> <87u2po7yh8.fsf@smart.ruhr.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 517787710
X-Trace: master.news.zetnet.net 935760705 2603 root@194.247.42.229
User-Agent: slrn/0.9.5.6 (UNIX)
Newsgroups: news.software.nntp