🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Adri Verhoef Tue, 29 Mar 1994 11:19
Enhanced 'rn' for saving articles from cron(tab)!
#8272
Author: Adri Verhoef
Date: Tue, 29 Mar 1994 11:19
17 lines
1563 bytes
On many systems, saving articles from crontab - using rn - doesn't work
properly because rn used to crash with a segmentation violation.  I got
so fed up with this, that I decided to make a few patches to rn that
would allow me, or rather cron :-), to do the dirty job of saving articles
overnight into several files - one per newsgroup in my configuration.

If you're interested in this new version of rn, drop me a note.  Maybe
I can be pushed to post the needed patches and the setup that I use to
save articles overnight (or any other time, of course).

The version of rn that I patched is the most common in use, I think:
@(#)$Id: rn.c,v 4.4.4.1 1992/02/23 21:25:39 sob PATCH_4 sob $
Patchlevel 4

Check your version, anyway!

Adri (a3@rivm.nl)
Re: Enhanced 'rn' for saving articles from cron(tab)!
#8332
Author: Sridhar Venkataraman
Date: Mon, 04 Apr 1994 14:07
22 lines
1937 bytes
mjo@iao.ford.com (Mike O'Connor) writes:
| a3@rivm.nl (Adri Verhoef) writes:
| 
| :On many systems, saving articles from crontab - using rn - doesn't work
| :properly because rn used to crash with a segmentation violation.  I got
| :so fed up with this, that I decided to make a few patches to rn that
| :would allow me, or rather cron :-), to do the dirty job of saving articles
| :overnight into several files - one per newsgroup in my configuration.
| 
| It seems like you'd either want to work with trn, rather than rn,
| since trn seems to have much more development going on with it, and
| might not exhibit the problem that rn has.  Either that, or you may
| want to use a newsreader or news-grabbing agent that's better tailored
| for this sort of thing than rn.  Am I missing something here?

trn is back to beta testing and nothing has changed reg.
non-interactive mode for trn (except for a minor bug which Wayne knows 
about right now) which prevents it from working.  I have been running
the 25-30 line shell script for a good deal of time (about a year or so) 
with trn and earlier with rn.  No changes to trn/rn was/is needed.

Sridhar.
Enhanced 'rn' for saving articles from cron(tab)! [REPOST]
#8378
Author: Adri Verhoef
Date: Thu, 07 Apr 1994 12:21
19 lines
1613 bytes
[Sorry for reposting this, but there was an Easter break.]
On many systems, saving articles from crontab - using rn - doesn't work
properly because rn used to crash with a segmentation violation.  [Why?
because of rn's signal() and ioctl() calls from the crontab job.]  I got
so fed up with this, that I decided to make a few patches to rn that
would allow me, or rather cron :-), to do the dirty job of saving articles
overnight into several files - one per newsgroup in my configuration.

If you're interested in this new version of rn, drop me a note.  Maybe
I can be pushed to post the needed patches and the setup that I use to
save articles overnight (or any other time, of course).

The version of rn that I patched is the most common in use, I think:
@(#)$Id: rn.c,v 4.4.4.1 1992/02/23 21:25:39 sob PATCH_4 sob $
Patchlevel 4

Check your version, anyway!

Adri (a3@rivm.nl)
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