🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Refugio Laborin Jones Tue, 07 Mar 1995 21:34
Trn - Can it run unattended?
#15836
Author: Refugio Laborin Jones
Date: Tue, 07 Mar 1995 21:34
6 lines
916 bytes
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?

Refugio Laborin
Re: Trn - Can it run unattended?
#15877
Author: 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)
Re: Trn - Can it run unattended?
#15929
Author: Larry W. Virden
Date: Fri, 10 Mar 1995 15:30
8 lines
1170 bytes
I believe that beginning with trn 3.6, trnkill is included with the
trn source as well.
-- 
:s Larry W. Virden                 INET: larry.virden@cas.org
:s <URL:http://www-bprc.mps.ohio-state.edu/cgi-bin/hpp/lvirden_sig.html>
:s Unless explicitly stated to the contrary, nothing in this posting should 
:s be construed as representing my employer's opinions.
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