🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Paul Raj Khangure Wed, 25 Aug 1999 00:00
Diablo - command line newgroup ?
#39419
Author: Paul Raj Khangure
Date: Wed, 25 Aug 1999 00:00
21 lines
1133 bytes
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?


Paul Raj Khangure

-- 

Procurator Odiosus Ex Infernis. Erudito, aut obliteratio.
LARTer of the lusers.       Wielder of the Clue Rod (tm).
Smith and Wesson: the original point and click interface.
I don't suffer from insanity. I enjoy every minute of it.

Re: Diablo - command line newgroup ?
#39423
Author: Paul Martin
Date: Wed, 25 Aug 1999 00:00
16 lines
1127 bytes
In article <37c38f20$0$5795@motown2.iinet.net.au>, Paul Raj Khangure wrote:

>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.

I tend to fiddle around with dkp directly. It's not pretty, and it would
be nice to have a similar command to INN's "ctlinnd newgroup" (or even a
wrapper) for diablo.

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

Re: Diablo - command line newgroup ?
#39431
Author: 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



Re: Diablo - command line newgroup ?
#39497
Author: 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.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads