TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: RANSIL-81BFD9.19295528032
from: I R A DARTH AGGIE
date: 2017-03-29 18:04:00
subject: Re: Trying to configure s

On Tue, 28 Mar 2017 19:29:56 -0700,
RRansil , in
 wrote:
>  I've installed slrn on my RPi B+, but I'm stuck on the next step of
>  entering NNTPSERVER information. Where/how is that done? I've googled
>  numerous sites, but can't find any specific Raspberry Pi guidance.

There is nothing about slrn that is Pi specific. Hell, it can be made
to run on windows!

With bash as your shell, set your NNTPSERVER in your ~/.bashrc like so
(server name chosen to be consistent with the slrn example file):

export NNTPSERVER='news.doe.com'

If you're in the terminal you can refresh your bash environment via

. ~/.bashrc
echo $NNTPSERVER

You need a ~/.slrnrc file. If you installed from a proper .deb
package, you should have this file:
/usr/share/doc/slrn/examples/slrn.rc.gz and in there, we see these
entries under "Server specific settings":

% Tell slrn which newsrc file it should use for which server.
% Note: This does *not* set the default server; you need to set the
%       NNTPSERVER environment variable for this.
%server "news.doe.com" ".jnewsrc-doe"

% If a server requires authentication, add a nnrpaccess line for it.
% If you leave username and/or password empty, slrn will prompt for it.
%nnrpaccess "news.doe.com" "john" "secret"

In fact, the easiest thing to do would be the following:

gunzip -c /usr/share/doc/slrn/examples/slrn.rc.gz > ~/.slrnrc

then edit your ~/.slrnrc file to point to your news server, and any
username and/or password required. If you put in the password in the
file, you may want to do a

chmod go-rwx ~/.slrnrc

to make it unreadable from any accounts not you or root. If it is a
single user system behind a good firewall, then that's probably an
"eh".

Once configured, type

slrn

and you should have usenet reading goodness at your finger tips. And
if you examine the entirety of ~/.slrn there is a lot more that can be
configured, but can be safely ignored until you need to or want to
make changes.

--
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.