🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #36491

patch to slrnpull: don't expire unread articles

#36491
From: Byrial Jensen
Date: Mon, 06 Oct 1997 00:00
34 lines
1981 bytes
Hi, I have made a patch to change the expire mode of slrnpull.

With the patch slrnpull will look for a standard newsrc file named
"newsrc" in the slrnpull root directory. If the file is found
slrnpull will not expire articles which are not marked read according
to the file.

The patch is mainly intended for systems, as mine, with only one user
of the newsspool. I have made $SLRNPULL_ROOT/newsrc a symbolic link
to my personal ~/.jnewsrc so I can mark (maybe) interesting articles
unread to prevent them from being expired. That has reduced the total
size of my newsspool because I could decrease the general expire
times.

I think the patch is a little too long (about 7K) for a news article
so I haven't attached it here, but you can find it as a unified diff
in <URL:http://home3.inet.tele.dk/byrial/slrn/slrnpull.patch>.

The patch contains two new source files (newsrc.c and newsrc.h) so
you need to rerun configure after applying it to make a new makefile.
If you don't use the configure script (it is for Unix systems only
AFAIK), you will have to change the used makefile yourself.

At last a little warning: Don't trust the code blindly. If some news
article is really important to save -- then save it. I, of course,
cannot guarantee that the patch have no bugs.

Feedback and suggestions for improvements are welcome.

Best regards
- Byrial

Technical Details
Message-ID: <slrn63huvf.t3.byrial@ask.ask>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrn63huvf.t3.byrial@ask.ask>
Subject: patch to slrnpull: don't expire unread articles
Date: Mon, 06 Oct 1997 00:00:00 +0000
From: byrial@post3.tele.dk (Byrial Jensen)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 278255969
X-Complaints-To: abuse@news.inet.tele.dk
X-Trace: news.inet.tele.dk 876150900 46440 (None) 194.239.129.24
Newsgroups: news.software.readers