Article View: news.software.misc
Article #1539Announce: Synchronizing .newsrc across servers
From: Frederik Ramm
Date: Sun, 04 Oct 1998 00:00
Date: Sun, 04 Oct 1998 00:00
34 lines
1877 bytes
1877 bytes
Hi,
I don't know if I've reinvented the wheel here, but I've written a
small program that creates a list of read *article IDs* according to a
.newsrc file (with the help of the history file), as well as being
able to "merge" such an article ID list into a given .newsrc file.
The possible uses are:
(1) You have a news server at home as well as on your laptop and you
read your news sometimes on one machine, sometimes on the other,
offline. Then you'll want to mark all articles read on your laptop
as read on the machine at home as well, and vice versa;
(2) You install a new server software, re-spool all the articles (thus
changing their numbers in the local news system) but want to keep
the information on which articles you have read.
The program works fine for me (I use it with inn-1.7.2-7 and tin
pre-1.4 980818). I don't know if there are portability issues (like
different history formats etc.), but feel free to try it and submit
patches/bug reports etc.
The program is written in C (tried perl originally but that was too
slow).
It's available at:
http://www.remote.org/frederik/projects/software/nsync10.c.gz
Bye
Frederik
--
Frederik Ramm ## eMail frederik@remote.org
Technical Details
Message-ID:
<6v7mmm$hv7$1@alpaka.rhein-main.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.misc.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <6v7mmm$hv7$1@alpaka.rhein-main.de>
Subject: Announce: Synchronizing .newsrc across servers
Date: Sun, 04 Oct 1998 00:00:00 +0000
From: frederik@remote.org (Frederik Ramm)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.misc.mbox.zip!not-for-mail
X-Deja-AN: 397584849
Sender: Frederik Ramm <fred@alpaka.rhein-main.de>
Organization: Remote Island
User-Agent: tin/pre-1.4-980818 ("Laura") (UNIX) (Linux/2.0.34 (i586))
Newsgroups: news.software.misc