🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46732

Re: [ANNOUNCE] Diablo 2.1-REL available

#46732
From: Joe Greco
Date: Wed, 31 May 2000 00:00
48 lines
2726 bytes
In news.software.nntp article <x5ya4qlf8r.fsf@delphi.local.easynet.de>, Robert Kiessling <robert@easynet.de> wrote:
:jgreco@ns.sol.net (Joe Greco) writes:
:
:> [...] it would be nice to see the ordering determined by
:> the order in which command-line arguments appeared, while simultaneously
:> extending "-c" to allow multiple instances.
:
:I disagree. Given that these things should really be configurable in
:diablo.config, and propably will be soon, the command line order is
:irrelevant. And it would still not tell you what to do with "-c common
:-p path" when the path is already "common!news-in!...".

Sure it would, since "-c" implies that the entry is only added in the
event that it doesn't already exist in the Path:, and "-p" implies that
it is added in all cases, you end up with

Path: path!common!news-in!...

where the "common" was the one that previously existed, not the one that
the Diablo would have added if it hadn't been there.

:I would suggest to add corresponding configuration options to
:diablo.config, plus a three-value configuration option to determine
:the order, maybe somthing like "cp", "pc" or "Cp".

What if you want to have two common path entries?  I've seen that, in
some complex feeder topologies, where you're trying to implement a
enter-once policy.

This way, if the admin wants to do

dbin/diablo -c common1 -p path -c common2

it works as listed.  You can also do something like

dbin/diablo -p common1 -p path -c common2

if you _always_ want "common1" to be what is first in the path, i.e.
if that's what you told all your peers to expect.

The only difference between "-c" and "-p" is that "-c" only adds the
entry in the event it does not already exist.  With these two options,
working the way I've described, you have more flexibility than any other 
transit package I am aware of.

... JG

Technical Details
Message-ID: <39357e6e$1$9443$6d17005@news.sol.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: <gbtY4.2$d23.42@monolith.news.easynet.net> <fEAY4.5$d23.58@monolith.news.easynet.net> <393302fb$0$73586@news.execpc.com> <x5ya4qlf8r.fsf@delphi.local.easynet.de>

Show Full Headers
Complete Article Headers
Message-ID: <39357e6e$1$9443$6d17005@news.sol.net>
Subject: Re: [ANNOUNCE] Diablo 2.1-REL available
Date: Wed, 31 May 2000 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <gbtY4.2$d23.42@monolith.news.easynet.net> <fEAY4.5$d23.58@monolith.news.easynet.net> <393302fb$0$73586@news.execpc.com> <x5ya4qlf8r.fsf@delphi.local.easynet.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: 629614047
Sender: jgreco@earth.execpc.com
X-Trace: DXC=j\331bBYV5_V3JRi1V@=8VKOHUC0RZe3W`C7SV;WKAU^i<YDIInDYH_@Nlb_HLDG\QC?`:62U@Kh^Lk@99Ji80_^
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp