🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Byrial Jensen Mon, 06 Oct 1997 00:00
patch to slrnpull: don't expire unread articles
#36491
Author: 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

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