🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39431

Re: Diablo - command line newgroup ?

#39431
From: Thomas Neumann
Date: Wed, 25 Aug 1999 00:00
30 lines
1381 bytes
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



Technical Details
Message-ID: <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
References: <37c38f20$0$5795@motown2.iinet.net.au>

Show Full Headers
Complete Article Headers
Message-ID: <87u2po7yh8.fsf@smart.ruhr.de>
Subject: Re: Diablo - command line newgroup ?
Date: Wed, 25 Aug 1999 00:00:00 +0000
From: Thomas Neumann <tom@smart.ruhr.de>
References: <37c38f20$0$5795@motown2.iinet.net.au>
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: 517029448
Sender: tn@smart.ruhr.de
Content-Type: text/plain; charset=us-ascii
X-Trace: nntp-reader.ruhr.de 935589608 212 141.39.224.36
User-Agent: Gnus/5.070089 (Pterodactyl Gnus v0.89) Emacs/20.4
MIME-Version: 1.0
Newsgroups: news.software.nntp