Article View: news.software.readers
Article #7692Manually updating .newsrc (rn/trn)
From: Peter Johansson
Date: Sun, 13 Feb 1994 00:06
Date: Sun, 13 Feb 1994 00:06
24 lines
1547 bytes
1547 bytes
What are the policies for manually updating ones .newsrc? I've been editing it as long as I've been reading news (4+ years) and I've never had a problem doing so. However, I am in the process of writing a program to automatically "read" articles and then mark them as read. What I would like to do is read in my .newsrc, munge it as necessary, and then write it out. Is there anything I should be aware of? Obviously, I will want some kind of locking to make sure I don't have two processes updating my .newsrc at the same time. Further, does anyone have a library to do this? I just looked through the rn/trn source and decided that it would be easier/quicker to write my own functions than to hack the trn source. Any suggestions or comments? Feel free to e-mail or post. I don't usually read this group, but I'll follow this thread for the next few days. Peter Johansson peter@cs.umbc.edu
Technical Details
Message-ID:
<2jjqu4INN90c@topdog.cs.umbc.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.umbc.edu!nobodyShow Full Headers
Complete Article Headers
Message-ID: <2jjqu4INN90c@topdog.cs.umbc.edu> Subject: Manually updating .newsrc (rn/trn) Date: Sun, 13 Feb 1994 00:06:28 +0000 From: peter@cs.umbc.edu (Peter Johansson) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.umbc.edu!nobody Newsgroups: news.software.readers Organization: Very little, if any at all. Lines: 24 NNTP-Posting-Host: topdog.cs.umbc.edu