🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by David Arnstein Fri, 07 Oct 1994 06:12
Merge multiple .newsrc files?
#11768
Author: David Arnstein
Date: Fri, 07 Oct 1994 06:12
15 lines
1425 bytes
Hello,

I'm looking for a utility that can merge multiple .newsrc files.  These files 
are used by news readers like trn to keep track of which articles have been 
read.

Such a program would be useful to someone who reads news from two or more Unix 
accounts.  The user could avoid reading the same headers and articles twice.

If no such utility exists already I will write one myself.  Unfortunately, 
this will take a long time, because I spend almost all my spare time reading 
news. :-)
--
David Arnstein
arnstein@netcom.com
Re: Merge multiple .newsrc files?
#11801
Author: Greg Berigan
Date: Sun, 09 Oct 1994 01:46
29 lines
2157 bytes
DAVID@netcom.com (David Arnstein) writes:

>I'm looking for a utility that can merge multiple .newsrc files.  These files 
>are used by news readers like trn to keep track of which articles have been 
>read.
>
>Such a program would be useful to someone who reads news from two or more Unix 
>accounts.  The user could avoid reading the same headers and articles twice.

This would be difficult if the .newsrcs are for two different news
servers.  The .newsrc file only keeps track of server-specific article
numbers, not the Message-IDs.  To merge two .newsrc files would involve
2 queries, one to each server, for every unread article in each .newsrc
file.  The server owners might not like this.

If the same server is used for both, you could put a front-end on the
newsreader so that when the newsreader quit, it would automatically FTP
a copy of the updated .newsrc to the other account.  It would require
the account name and password be stored in your .netrc file (used by
FTP -- see man pages).  The NewsWatcher newsreader for Macs does this,
with the addition that the .newsrc is fetched from the Unix account
before reading as well as sending it to the account afterward.  (This
setup removes the host's responsibility to maintain NewsWatcher's copy.)

-- 
----'     gberigan@cse.unl.edu (Greg Berigan)
------,
    ,-|-, If your use of lose and loose is loose you lose.
----' '-'
Re: Merge multiple .newsrc files?
#11816
Author: Kevin Luster
Date: Sun, 09 Oct 1994 20:01
19 lines
1668 bytes
In article <DAVID.9.00485572@netcom.com>,
David Arnstein <DAVID@netcom.com> wrote:
>accounts.  The user could avoid reading the same headers and articles twice.

I tried to make nfs-links from the .newsrc's on the machines I read
news on over to a single .newsrc file. Unfortunately strn (and I
assume trn) will move my .newsrc link over to a file called .oldnewsrc
and then recreate a new .newsrc which is no longer a link. Nothing in
the man page for trn jumped out at me as being the fix to get trn to
obey the link, but I didn't dig very hard. gnus appears to respect the
link though, so I've started using it.

If there is a way to get strn to keep the link I'd like to know.

-- 
Kevin Luster, Project Reality | Silicon Graphics MS-880
Kicking Sega's butt           | 2011 N. Shoreline Blvd
kluster@goth.engr.sgi.com     | Mountain View, Ca. 94043
http://www.ugcs.caltech.edu/~kluster/Visigoth.html
Re: Merge multiple .newsrc files?
#11819
Author: Wayne Davison
Date: Sun, 09 Oct 1994 21:20
8 lines
945 bytes
According to Kevin Luster <kluster@goth.engr.sgi.com>:
> If there is a way to get strn to keep the link I'd like to know.

You simply create a directory, nfs link that and set DOTDIR to the
directory name.
-- 
Wayne Davison
davison@borland.com
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