🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
12 messages
12 total messages Started by pete Sun, 04 Nov 2018 09:48
Struggling to install slrn on a iMac
#263022
Author: pete
Date: Sun, 04 Nov 2018 09:48
43 lines
2007 bytes
I’m struggling to install slrn on a iMac.

I’ve got the point where the command “slrn” produces:-

PhreddesiMacG5:~ pete$ slrn
slrn 1.0.3

Loading /usr/local/Cellar/slrn/1.0.3a/share/slrn/slang/slrn.sl
Reading startup file /Users/pete/.slrnrc.
You should set the NNTPSERVER environment variable to your server
name.
Example (csh): setenv NNTPSERVER my.news.server
Example (sh) : NNTPSERVER='my.news.server' &&  export NNTPSERVER
For now, I'm going to try "localhost" as the default...
Using newsrc file /Users/pete/.jnewsrc for server localhost.
Connecting to host localhost ...
Unable to make connection. Giving up.
Run-Time Error
slrn fatal error:
failed to initialize server.
PhreddesiMacG5:~ pete$

The NNTPserver is set to:-

NNTPSERVER=‘News.Individual.NET '&&  export NNTPSERVER

and in directory:-

/MacHD/users/pete

And .slrnrc reads :-

set username "peterjames"
set hostname "News.Individual.NET
set replyto “xxxxx<xxxx@xxxxx.xxxxx.co.uk>""
charset display utf8
charset outgoing utf8
setkey group "set_prefix_argument(4); () = select_group();" “ "

Can anyone proofread the above and tell me where I am going wrong?

pfj
Re: Struggling to install slrn on a iMac
#263025
Author: Thomas Wiegner
Date: Sun, 04 Nov 2018 11:38
39 lines
2144 bytes
On Sun, 04 Nov 2018, pete <pfjames2000@gmail.com> wrote:
>
> I’m struggling to install slrn on a iMac.
>
> Example (csh): setenv NNTPSERVER my.news.server
> Example (sh) : NNTPSERVER='my.news.server' &&  export NNTPSERVER
> For now, I'm going to try "localhost" as the default...
> Using newsrc file /Users/pete/.jnewsrc for server localhost.
> Connecting to host localhost ...
> Unable to make connection. Giving up.

slrn still tries to connect to localhost.

> The NNTPserver is set to:-
>
> NNTPSERVER=‘News.Individual.NET '&&  export NNTPSERVER

Please check if setting the environment variable really worked.
You could also pass the server with the "-h" option.

> And .slrnrc reads :-
>
> set username "peterjames"
> set hostname "News.Individual.NET
> set replyto “xxxxx<xxxx@xxxxx.xxxxx.co.uk>""
> charset display utf8
> charset outgoing utf8
> setkey group "set_prefix_argument(4); () = select_group();" “ "
>
> Can anyone proofread the above and tell me where I am going wrong?

There is for sure something wrong with your quotes.

Check you config with the --show-config option.

 Thomas

-- 
[X] Nail here for new Monitor
Re: Struggling to install slrn on a iMac
#263024
Author: Lewis
Date: Sun, 04 Nov 2018 11:44
20 lines
1790 bytes
In message <0001HW.218EF80700143A6970000F6CE2EF@News.Individual.NET> pete <pfjames2000@gmail.com> wrote:

> I’m struggling to install slrn on a iMac.

> I’ve got the point where the command “slrn” produces:-

> PhreddesiMacG5:~ pete$ slrn

This is how I launch slrn

slrn -C -h snews://news.eternal-september.org

In slrnrc

server "snews://news.eternal-september.org" "Dropbox/Lewis/newsrc"
nnrpaccess "snews://news.eternal-september.org" "Lewis" "Password"

-- 
Law of Probability Dispersal: Whatever hits the fan will not be evenly
distributed.
Re: Struggling to install slrn on a iMac
#263023
Author: Benjamin Esham
Date: Sun, 04 Nov 2018 21:23
67 lines
3340 bytes
pete wrote:

> I’m struggling to install slrn on a iMac.
>
> [snip]
>
> The NNTPserver is set to:-
>
> NNTPSERVER=‘News.Individual.NET '&&  export NNTPSERVER

Is this *exactly* the syntax you're using? The first single quote is a curly
single quote, which is invalid shell syntax--or at best, you're going to end
up with an NNTPSERVER that starts with an unwanted special character. (The
curly quote may have just been introduced by your newsreader, though.)
There's also a space before the closing single quote, which is going to be
included in the value of NNTPSERVER and will probably cause problems. The
line you want is

    NNTPSERVER='News.Individual.NET' && export NNTPSERVER

This is assuming that you're using a Bourne-like shell (e.g. sh or bash),
though. I don't know if this is still the case but the default shell on
macOS used to be tcsh, which needs different syntax. If you run the command

    echo $0

at the command line, what's the output? If it's "tcsh" then you'll need to
set the server with

    setenv NNTPSERVER News.Individual.NET

instead.

> and in directory:-
>
> /MacHD/users/pete

On macOS your home folder would typically be located at /Users/pete. When
you say "in directory," what do you mean?

> And .slrnrc reads :-
>
> set username "peterjames"
> set hostname "News.Individual.NET
> set replyto “xxxxx<xxxx@xxxxx.xxxxx.co.uk>""
>
> [snip]

Here again you've got some typos... you're missing a double quote at the end
of the hostname value and the replyto contains a curly (instead of straight)
double quote at the beginning and an extra double quote at the end. Again,
I'm not sure whether these are being mangled to some extent by your
newsreader, but if these typos are present in your slrnrc too then slrn is
surely going to complain.

If this is your first experience with command-line tools, you should be
aware that they tend to be extremely picky! Tiny differences like using the
"wrong" kind of quote will make the difference between the program running
exactly as intended or it quitting immediately with a syntax error.

Hope this helps,

Benjamin

-- 
Benjamin Esham
https://esham.io
Re: Struggling to install slrn on a iMac
#263029
Author: Peter
Date: Wed, 07 Nov 2018 22:02
18 lines
1451 bytes
On 2018-11-04, Benjamin Esham <usenet@esham.io> wrote:  
>
> If this is your first experience with command-line tools, you should be
> aware that they tend to be extremely picky! Tiny differences like using the
> "wrong" kind of quote will make the difference between the program running
> exactly as intended or it quitting immediately with a syntax error.
>
> Hope this helps,
>
> Benjamin
>
Many thanks for your help and advice.  As you say, I do find Unix very
picky and very difficult.

But, I've got slrn working and I've even made a start with scoring so
I feel very "uptight" with it all.
So, thanks again.
petefj
Re: Struggling to install slrn on a iMac
#263030
Author: andrew
Date: Wed, 07 Nov 2018 22:10
11 lines
1296 bytes
On 2018-11-07, Peter <Peter@pfjames.co.uk> wrote:

> But, I've got slrn working and I've even made a start with scoring so
> I feel very "uptight" with it all.

Great to see that slrn is still pulling new users in, even in the
reclining years of Usenet :)

Andrew
-- 
Do you think that's air you're breathing?
Re: Struggling to install slrn on a iMac
#263033
Author: Huge
Date: Wed, 07 Nov 2018 22:30
17 lines
1505 bytes
On 2018-11-07, andrew <andrew@skamandros.invalid> wrote:
> On 2018-11-07, Peter <Peter@pfjames.co.uk> wrote:
>
>> But, I've got slrn working and I've even made a start with scoring so
>> I feel very "uptight" with it all.
>
> Great to see that slrn is still pulling new users in, even in the
> reclining years of Usenet :)

Reclining?

:oD


-- 
Today is Sweetmorn, the 19th day of The Aftermath in the YOLD 3184
                      ~ Stercus accidit ~
Re: Struggling to install slrn on a iMac
#263034
Author: RS Wood
Date: Thu, 08 Nov 2018 02:58
7 lines
1541 bytes
On 2018-11-07, Huge <Huge@nowhere.much.invalid> wrote:
> On 2018-11-07, andrew <andrew@skamandros.invalid> wrote:
>
> Reclining?
>:oD

Inclining, surely.  You've got to be inclined to give it a try ...
Re: Struggling to install slrn on a iMac
#263035
Author: Mike Yetto
Date: Thu, 08 Nov 2018 04:34
19 lines
2044 bytes
So it is writ, so mote it be....
RS Wood <rsw@therandymon.com>:
> On 2018-11-07, Huge <Huge@nowhere.much.invalid> wrote:
>> On 2018-11-07, andrew <andrew@skamandros.invalid> wrote:
>>
>> Reclining?
>>:oD

> Inclining, surely.  You've got to be inclined to give it a try ...

If you're trying it again after a short hiatus that would be
reclining.

Mike "especially in the right kind of chair" Yetto
-- 
"I would defend the liberty of consenting adult creationists to practice
whatever intellectual perversions they like in the privacy of their own homes,
but it is also necessary to protect the young and innocent."
 - Arthur C. Clarke
Re: Struggling to install slrn on a iMac
#263047
Author: Benjamin Esham
Date: Thu, 08 Nov 2018 17:20
28 lines
1885 bytes
Peter wrote:

> On 2018-11-04, Benjamin Esham <usenet@esham.io> wrote:  
>
>> If this is your first experience with command-line tools, you should be
>> aware that they tend to be extremely picky! Tiny differences like using
>> the "wrong" kind of quote will make the difference between the program
>> running exactly as intended or it quitting immediately with a syntax
>> error.
>>
>> Hope this helps,
>>
>> Benjamin
>
> Many thanks for your help and advice.  As you say, I do find Unix very
> picky and very difficult.
>
> But, I've got slrn working and I've even made a start with scoring so
> I feel very "uptight" with it all.
> So, thanks again.

Glad to hear it! :-)

Benjamin

-- 
Benjamin Esham
https://esham.io
Re: Struggling to install slrn on a iMac
#263052
Author: andrew
Date: Sat, 10 Nov 2018 21:54
18 lines
1610 bytes
On 2018-11-07, Huge <Huge@nowhere.much.invalid> wrote:
> On 2018-11-07, andrew <andrew@skamandros.invalid> wrote:
>> On 2018-11-07, Peter <Peter@pfjames.co.uk> wrote:
>>
>>> But, I've got slrn working and I've even made a start with scoring so
>>> I feel very "uptight" with it all.
>>
>> Great to see that slrn is still pulling new users in, even in the
>> reclining years of Usenet :)
>
> Reclining?

Seemed a little gentler than what is probably the real case:
declining...

Andrew
-- 
Do you think that's air you're breathing?
Re: Struggling to install slrn on a iMac
#263058
Author: Mike Yetto
Date: Sun, 11 Nov 2018 15:48
27 lines
2508 bytes
So it is writ, so mote it be....
andrew <andrew@skamandros.invalid>:
> On 2018-11-07, Huge <Huge@nowhere.much.invalid> wrote:
>> On 2018-11-07, andrew <andrew@skamandros.invalid> wrote:
>>> On 2018-11-07, Peter <Peter@pfjames.co.uk> wrote:
>>>
>>>> But, I've got slrn working and I've even made a start with scoring so
>>>> I feel very "uptight" with it all.
>>>
>>> Great to see that slrn is still pulling new users in, even in the
>>> reclining years of Usenet :)
>>
>> Reclining?

> Seemed a little gentler than what is probably the real case:
> declining...

Studying Latin, and later Russian, was always such a pain with
all that declining.

Mike "the conjugal exercises were ok" Yetto
-- 
"Texas is threatening to secede over the election returns.  It wouldn't be the
first time Texas has seceded.  France, Spain, Mexico, the Republic of Texas,
and the Confederate States of America all claimed Texas until they discovered
the place came with Texans."
 - Robert L. Park
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