You are not logged in.

#1 2016-01-11 18:58:17

Martin
Member
From: Stockholm, Sweden
Registered: 2015-10-01
Posts: 572
Website

[solved] slrn won't fire up

I am working my way through my favourite-programs-to-install list. Mostly this has been a comfortable ride but slrn stumps me. I have copied my .slrnrc and .newsrc files from my old system and thought that would be it. When I try to fire up slrn I get:

slrn 1.0.2

Loading /usr/share/slrn/slang/slrn.sl
Läser uppstartsfil /etc/news/slrn.rc.
Läser uppstartsfil /home/martin/.slrnrc.
Använder newsrc-fil /home/martin/.jnewsrc för server news.hemma.
Ansluter till värd news.hemma ...
Misslyckades att slå upp news.hemma

Run-Time Error
slrn allvarligt fel:
Misslyckades att initialisera server.

OK, I just lied to you. At first slrn complained about not being able to find /home/martin/.jnewsrc which is not the name of the .newsrc file specified in .slrnrc. After some tinkering in vain (trying to start with no .slrnrc does not help) I made a copy of my .newsrc file and called it .jnewsrc -- still no luck as shown above.

The real puzzle is the reference to news.hemma. Where does slrn get that from. As far as I can see I have med no mentioning of anything called hemma in my set-up files for slrn.

Hemma was the name of the old system -- so Conky would tell me Host: hemma. The new system got another name but somehow slrn fancies the old name.

Should I try to change the name of the system?
Where does slrn look for and find hemma? It must be in some file I copied from the old system.

TIA

/Martin

Last edited by Martin (2016-01-11 19:44:33)


"Problems worthy of attack
prove their worth by hitting back."
Piet Hein

Offline

#2 2016-01-11 19:05:58

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [solved] slrn won't fire up

Martin wrote:

At first slrn complained about not being able to find /home/martin/.jnewsrc which is not the name of the .newsrc file specified in .slrnrc. After some tinkering in vain (trying to start with no .slrnrc does not help) I made a copy of my .newsrc file and called it .jnewsrc -- still no luck as shown above.

man slnrc wrote:

       To use slrn, you either need to set the NNTPSERVER environment variable
       to  the  server  you  want to read news from or specify a server on the
       command line.  A newsrc file is needed, too.  In case you  do  not  yet
       have one, you can create it using ``slrn -f ~/.jnewsrc --create''.

http://manpages.debian.org/cgi-bin/man. … &locale=en

So try:

slrn -f ~/.jnewsrc --create

Disclaimer: I've never used slrn


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#3 2016-01-11 19:44:00

Martin
Member
From: Stockholm, Sweden
Registered: 2015-10-01
Posts: 572
Website

Re: [solved] slrn won't fire up

Yes, right, even .slrnrc says so when I read it properly. (The first things you blind on are your eyes.)

Thanks Head_on_Stick.

/Martin
(but where did it get hemma from????)


"Problems worthy of attack
prove their worth by hitting back."
Piet Hein

Offline

Board footer

Powered by FluxBB