Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I change the news site (url) that the trn program uses?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

It's defined in the access file. You can edit the system-wide settings in (probably) /usr/local/lib/trn/access.def or create a user-specific file in ~/.trn/access. You have to add the news server, then put it in a group:

[gmane]
NNTP server = news.gmane.org
# Auth User =
# Auth Password =

[group 1]
ID = gmane
Newsrc = ~/.trn/newsrc-gmane
share|improve this answer
add comment

Another option is to make sure the NNTPSERVER environment variable is set to the hostname of the server you want to use (e.g. news.gname.org) prior to starting trn.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.