How to use more than one news server with trn

Advanced feature discussion, beta programs and unsupported "Labs" features.
2 posts Page 1 of 1
by hexapuma » Tue Jul 17, 2012 9:49 pm
With a little bit of setup it's possible to use trn with more than one news server and have separate newsrc files for each server or even multiple newsrc files for each server. You change from one server/file to the next with ctrl-N and ctrl-P in trn.

Here's my ~/.trn/access file.

Code: Select all

[local]
NNTP Server = nnrp-virt.nntp.sonic.net

[test]
NNTP Server = nnrp-virt.nntp.sonic.net

[remote]
NNTP Server = news.eternal-september.org
Auth User = eternalseptemberusername
Auth Password = eternalseptemberpassword
Force Auth = yes

[Group 1]
ID = local
Newsrc = ~/.newsrc
Add Groups = manual

[Group 2]
ID = test
Newsrc = ~/.newsrc2
Add Groups = manual

[Group 3]
ID = remote
Newsrc = ~/.newsrc3
Add Groups = manual
This defines three groups, two using the sonic server with different newsrcs, and one using the eternal-september server.

To get started, create ~/.trn/access and make sure all your newsrc files exist (they can start out empty). You don't have to change the NNTPSERVER environment variable. It will get overridden by trn.

I'm paranoid about file permissions, so I have ~/.trn set to 1700 and all the files in it set to 600.

You can read read about other access options here.

http://fossies.org/unix/misc/old/trn-4. ... les/access

trn will start up in group 1. Pressing ctrl-N will advance to the next group.
by klui » Wed Jul 18, 2012 5:17 pm
People still use trn? No, just kidding--big fan of trn, rn, news, ... in my younger days.
2 posts Page 1 of 1

Who is online

In total there are 25 users online :: 1 registered, 0 hidden and 24 guests (based on users active over the past 5 minutes)
Most users ever online was 999 on Mon May 10, 2021 1:02 am

Users browsing this forum: Bing [Bot] and 24 guests