🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Duane Fowler Thu, 28 Apr 1994 18:27
trn: how to use NEWSRC variable?
#8788
Author: Duane Fowler
Date: Thu, 28 Apr 1994 18:27
15 lines
1276 bytes
I get news from two servers.  Since I don't want to read the groups they
have in common twice, I'm assuming I need two newsrc files as well (true?).
To this end I do something like:

% setenv NNTPSERVER host2; setenv NEWSRC .newsrc2

But when I ran trn it seemed to have the idea that I'd never read news before
and asked me if I want to subscribe to all the groups in my newsrc!

I interrupted it, and now when I run it I get

Can't link backup (.newsrc2) to .newsrc (~/.oldnewsrc)


Any ideas appreciated!
Re: trn: how to use NEWSRC variable?
#8790
Author: Wayne Davison
Date: Thu, 28 Apr 1994 19:40
40 lines
2473 bytes
According to Duane Fowler <duanef@Newbridge.COM>:
> I get news from two servers.  Since I don't want to read the groups they
> have in common twice, I'm assuming I need two newsrc files as well (true?).

True, but for more reasons than just the duplication of names -- .newsrc
files are specific to one server because the numbers in the file are
specific to one server.

> To this end I do something like:
> 
> % setenv NNTPSERVER host2; setenv NEWSRC .newsrc2

No, don't use NEWSRC.  I'm tempted to remove this critter because it
often causes more problems than it solves.  People often try to redirect
it to a different drive than their home directory, and without also
affecting the newsrc-backup filename, the way trn tries to link or
rename the files doesn't work.

What you should do is to create a subdirectory for any alternate news
servers you have and set DOTDIR to the appropriate directory:

setenv NNTPSERVER host2; setenv DOTDIR ~/host2

Then put host2's .newsrc file into this directory.  The side benefit of this
is that you can be running multiple trn's to all the different hosts at
the same time.

> But when I ran trn it seemed to have the idea that I'd never read news before
> and asked me if I want to subscribe to all the groups in my newsrc!

If your version of trn isn't configured to use the NEWGROUPS nntp call,
then it uses the old method of asking you to add any groups that aren't
listed in your .newsrc as either subscribed or unsubscribed groups.
News servers should have hooked up NEWGROUPS to their active.times
files long ago (but many haven't), so if this works on your server
Configure it to use NEWGROUPS.  If it doesn't work, you may wish to
use the -q option to not have trn look for new groups.
-- 
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