🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #15877

Re: Trn - Can it run unattended?

#15877
From: Peter Kappesser
Date: Thu, 09 Mar 1995 10:44
21 lines
1907 bytes
Recently in news.software.readers,
	rlaborin@ag.Arizona.EDU (Refugio Laborin Jones) wrote:
>I've got TRN running with inews off a remote nntp server and I
>want to write a script that will let me get news postings from
>a shell script.  Is this possible?  What would the syntax be
>for running trn this way?

The trn FAQ includes the 'trnkill' script which you could probably hack to
suit your purposes. As provided, the script will run trn to enter every
newsgroup in the .newsrc and process the associated killfiles... if the
killfiles contain commands to save articles to files or pipe to programs,
that will happen too. You can set up an archive or remailer this way, using
kill commands before the save/pipe commands to be selective about what
you're archiving or remailing.

--
"Do I contradict myself? Very well then I contradict myself,
(I am large, I contain multitudes.) (No you don't.) (Yes, I do.)
(No you don't!) (Yes I do!!) HEY! I'm trying to write here!!"
				-- "Leaves of Grass", first draft
pjkappes@mailbox.syr.edu (Peter Kappesser)
Technical Details
Message-ID: <3jmm6n$iig@newstand.syr.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!news2.near.net!das-news2.harvard.edu!cantaloupe.srv.cs.cmu.edu!rochester!cornell!travelers.mail.cornell.edu!newstand.syr.edu!forbin.syr.edu!pjkappes
References: <3jijhv$1136@news.ccit.arizona.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3jmm6n$iig@newstand.syr.edu>
Subject: Re: Trn - Can it run unattended?
Date: Thu, 09 Mar 1995 10:44:39 +0000
From: pjkappes@forbin.syr.edu (Peter Kappesser)
References: <3jijhv$1136@news.ccit.arizona.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!news2.near.net!das-news2.harvard.edu!cantaloupe.srv.cs.cmu.edu!rochester!cornell!travelers.mail.cornell.edu!newstand.syr.edu!forbin.syr.edu!pjkappes
Newsgroups: news.software.readers
Organization: Not Quite Syracuse University, Syracuse, NY
Lines: 21
Reply-To: pjkappes@mailbox.syr.edu
NNTP-Posting-Host: forbin.syr.edu