Article View: news.software.readers
Article #263023Re: Struggling to install slrn on a iMac
From: Benjamin Esham
Date: Sun, 04 Nov 2018 21:23
Date: Sun, 04 Nov 2018 21:23
67 lines
3340 bytes
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
Technical Details
Message-ID:
<19b9b218-ede3-452c-a251-b6d3eed94453@bdesham.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mailReferences:
<0001HW.218EF80700143A6970000F6CE2EF@News.Individual.NET>Show Full Headers
Complete Article Headers
Message-ID: <19b9b218-ede3-452c-a251-b6d3eed94453@bdesham.net> Subject: Re: Struggling to install slrn on a iMac Date: Sun, 04 Nov 2018 21:23:01 +0000 From: Benjamin Esham <usenet@esham.io> References: <0001HW.218EF80700143A6970000F6CE2EF@News.Individual.NET> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Organization: United Federation of Planets Lines: 67 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 4 Nov 2018 21:23:01 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="aa719338ffde9c121371732fd0b6f3d8"; logging-data="4681"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fqksX0aH4XaDy8B5DcLFoaLb1K2zJUp5HEl5CmKY14Q==" User-Agent: slrn/1.0.2 (Linux) Cancel-Lock: sha1:Nk6J7+z6UW3dBc3Y56uQiqzfDjM= X-Received-Bytes: 3320 X-Received-Body-CRC: 2080147115