🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23842

Re: Feed external process from Diablo?

#23842
From: Joe Greco
Date: Mon, 01 Dec 1997 00:00
19 lines
1351 bytes
In news.software.nntp article <3482BB13.5E77D8CE@spinne.com>, Jeff Garzik <jeff.garzik@spinne.com> wrote:
:Does anybody have any hacks or hints for feeding news (or just the
:article+offset info) from a Diablo server to an external process?

I have a little process that will merrily sit and tail a Diablo queue
file.  I use it to do analysis and stuff...  those prototype reports,
for example.  Or UUCP batching (still a requirement around here).

:It seems silly to have to tail a file (wasting a descriptor), when
:Diablo could write directly to a pipe like an INN channel feed.

A pipe is also "wasting a descriptor".  The only waste is doing an
occasional read() to see if more data is available.  select() is
nicer for that.

... JG

Technical Details
Message-ID: <65uooh$3ng$1@earth.execpc.com>
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: <3482BB13.5E77D8CE@spinne.com>

Show Full Headers
Complete Article Headers
Message-ID: <65uooh$3ng$1@earth.execpc.com>
Subject: Re: Feed external process from Diablo?
Date: Mon, 01 Dec 1997 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <3482BB13.5E77D8CE@spinne.com>
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: 294252908
Sender: jgreco@earth.execpc.com
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp