🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
10 messages
10 total messages Started by Peter James Thu, 20 Mar 2008 17:13
The saga of installing slrn
#217910
Author: Peter James
Date: Thu, 20 Mar 2008 17:13
28 lines
2033 bytes
Using an Apple iMac G5 Power PC
I have attempted as a cli "ignoramus" to set up slrn.  At one point I
had it working and then "zilch".

I installed it by using Fink.  Fink shows it installed as slrn 0.9.8.1
and I can find it in /sw/bin.  I amended the file .bash_profile to read:

if [ -f ~/.bashrc ]; then
  source ~/.bashrc
fi
NNTPserver='news.aaisp.net.uk' && export NNTPSERVER

I also amended the file slrn.rc with the details of my news server and
other details as required.

However, after an initial success I can't get slrn to run.  the command
slrn at the terminal produces the error message:

"-bash: slrn: command not found"  and yet this is how  I ran it on those
earlier successful attempts.

I have noticed in my home directory two files one  called .slrnrc and
one called slrn.rc.  Is this right, should they both be here?  My server
details are in slrn.rc

Can someone point me to a How to file that explains in straightforward
English how to get this program to run.  Thanks.
Re: The saga of installing slrn
#217911
Author: Whiskers
Date: Thu, 20 Mar 2008 18:08
44 lines
2976 bytes
On 2008-03-20, Peter James <pfjames2000@googlemail.com> wrote:
> Using an Apple iMac G5 Power PC
> I have attempted as a cli "ignoramus" to set up slrn.  At one point I
> had it working and then "zilch".
>
> I installed it by using Fink.  Fink shows it installed as slrn 0.9.8.1
> and I can find it in /sw/bin.  I amended the file .bash_profile to read:
>
> if [ -f ~/.bashrc ]; then
>   source ~/.bashrc
> fi
> NNTPserver='news.aaisp.net.uk' && export NNTPSERVER
>
> I also amended the file slrn.rc with the details of my news server and
> other details as required.
>
> However, after an initial success I can't get slrn to run.  the command
> slrn at the terminal produces the error message:
>
> "-bash: slrn: command not found"  and yet this is how  I ran it on those
> earlier successful attempts.

Curious.  What are the permissions for the slrn execetable?  (Should be 
owned by root, in the group root, with permissions -rwxr-xr-x or 0755 so 
that everyone can run it).  Is that executable in your 'path' so that it 
can be found without you having to specify the path to it?  (Just in case 
- you do know that Unix is case sensitive, so that Slrn is not the same as 
slrn ...?)

> I have noticed in my home directory two files one  called .slrnrc and
> one called slrn.rc.  Is this right, should they both be here?  My server
> details are in slrn.rc

The default name for the user's config file is .slrnrc

> Can someone point me to a How to file that explains in straightforward
> English how to get this program to run.  Thanks.
>


-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: The saga of installing slrn
#217913
Author: Peter James
Date: Thu, 20 Mar 2008 19:23
20 lines
2070 bytes
Whiskers <catwheezel@operamail.com> wrote:

> 
> Curious.  What are the permissions for the slrn execetable?  (Should be
> owned by root, in the group root, with permissions -rwxr-xr-x or 0755 so
> that everyone can run it).  Is that executable in your 'path' so that it
> can be found without you having to specify the path to it?  (Just in case
> - you do know that Unix is case sensitive, so that Slrn is not the same as
> slrn ...?)
> 
Thank you for the suggestions.  The fault lay in the context of the
specification of the path.  Just a common or garden typo.
> > I have noticed in my home directory two files one  called .slrnrc and
> > one called slrn.rc.  Is this right, should they both be here?  My server
> > details are in slrn.rc
> 
> The default name for the user's config file is .slrnrc
Not being too sure I filled in both.  I will now delete the  wrong one.
Now all I've got to do is to try and understand how it works.  Many
thanks.  Peter
Re: The saga of installing slrn
#217914
Author: Whiskers
Date: Thu, 20 Mar 2008 20:17
32 lines
2604 bytes
On 2008-03-20, Peter James <pfjames2000@googlemail.com> wrote:
> Whiskers <catwheezel@operamail.com> wrote:
>
>> 
>> Curious.  What are the permissions for the slrn execetable?  (Should be
>> owned by root, in the group root, with permissions -rwxr-xr-x or 0755 so
>> that everyone can run it).  Is that executable in your 'path' so that it
>> can be found without you having to specify the path to it?  (Just in case
>> - you do know that Unix is case sensitive, so that Slrn is not the same as
>> slrn ...?)
>> 
> Thank you for the suggestions.  The fault lay in the context of the
> specification of the path.  Just a common or garden typo.

I get those too  :))

>> > I have noticed in my home directory two files one  called .slrnrc and
>> > one called slrn.rc.  Is this right, should they both be here?  My server
>> > details are in slrn.rc
>> 
>> The default name for the user's config file is .slrnrc
> 
> Not being too sure I filled in both.  I will now delete the  wrong one.
> Now all I've got to do is to try and understand how it works.  Many
> thanks.  Peter

Have fun!

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: The saga of installing slrn
#217915
Author: Lewis
Date: Thu, 20 Mar 2008 20:34
98 lines
5049 bytes
In message <slrnfu5a1a.8ps.catwheezel@ID-107770.user.individual.net> 
  Whiskers <catwheezel@operamail.com> wrote:
> On 2008-03-20, Peter James <pfjames2000@googlemail.com> wrote:
>> Using an Apple iMac G5 Power PC
>> I have attempted as a cli "ignoramus" to set up slrn.  At one point I
>> had it working and then "zilch".
>>
>> I installed it by using Fink.  Fink shows it installed as slrn 0.9.8.1
>> and I can find it in /sw/bin.  I amended the file .bash_profile to read:
>>
>> if [ -f ~/.bashrc ]; then
>>   source ~/.bashrc
>> fi
>> NNTPserver='news.aaisp.net.uk' && export NNTPSERVER
>>
>> I also amended the file slrn.rc with the details of my news server and
>> other details as required.

The file is ~/.slrnrc not slrn.rc.  The latter is the default configuration
file while the former is your personal settings file.

>> However, after an initial success I can't get slrn to run.  the command
>> slrn at the terminal produces the error message:
>>
>> "-bash: slrn: command not found"  and yet this is how  I ran it on those
>> earlier successful attempts.

what happens if you type /sw/bin/slrn ?  Sounds to me like your PATH is
screwed up.

> Curious.  What are the permissions for the slrn execetable?  (Should be 
> owned by root, in the group root

group admin, I believe.

What I have not managed to do is build a UTF-8 compliant slrn. 0.9.9pre is
supposed to be... err.. not quite cooked? So I'm still at 0.9.8.1

You may be interested, so here are my customized slrn settings:


% confirm following URL, printing, and marking group read
set confirm_actions 11

% don't whine about 5 line sigs
set netiquette_warnings 0

% don't show quoted text by default
set hide_quotes 1

% warp messages with long lines
set wrap_flags 6 

set query_next_article 0 % don't stop at end or art
set query_next_group 0 % don't stop at end of group
set query_read_group_cutoff 250 % don't ask how many to read if under 250
set smart_quote 3  % Do not quote blank lines

% change the default header display slightly (remove %G and move %t)
header_display_format 0 "%F%B%-5S%t%-5l:[%12r]%s"

% consider }:=|+> as quotes, as well as "ABC>"
ignore_quotes  "^ *[}:=|+>]"    "^ *[A-Za-z]+>"

% Use bbedit as my editor, use fortune to add a random sig to my post
set post_editor_command "FILE='%s';bbedit -w --new-window +%d $FILE;/opt/local/bin/fortune ~/mysigs >> $FILE"

% same for mail
set mail_editor_command "FILE='%s';bbedit --new-window $FILE;/opt/local/bin/fortune ~/mysigs >> $FILE"

% default editor (score files, etc)
set editor_command "bbedit -w --new-window '%s'"

set save_posts "Documents/My_Posts"
set save_replies "Documents/My_Replies"
set scorefile ".score_slrn"
set followup_string "In message %m \n  %R <%f> wrote:
set custom_headers "Mail-Copies-To: nobody\nX-No-Archive: Yes\nX-Face: >my x-face< \n"
set followup_custom_headers "Mail-Copies-To: nobody\nX-No-Archive: Yes\nX-Face: >my x-face< \n"

% add a newsgroup identifier to mail replies
set reply_custom_headers "X-newsgroup: %n"

% If 11, thread then sort by date with most recent last.
set sorting_method 11

set hide_pgpsignature		1
color quotes		"red"		"black"
color quotes1		"magenta"	"black"
color quotes2		"brown"		"black"
color quotes3		"grey"		"black"
color quotes4		"lightgrey"		"black"
color quotes5		"brown"		"black"
color quotes6		"cyan"		"black"
color quotes7		"green"		"black"

-- 
No man is free who is not master of himself 
Re: The saga of installing slrn
#217916
Author: andrew
Date: Thu, 20 Mar 2008 21:06
17 lines
1659 bytes
On 2008-03-20, Peter James <pfjames2000@googlemail.com> wrote:

> Can someone point me to a How to file that explains in straightforward
> English how to get this program to run.  Thanks.

I wrote a howto a while ago that may help a little, although it does
not have mac angle:

http://www.andrews-corner.org/slrn.html

It covers only the very basics though but should be enough to get you
started.

              Andrew

-- 
http://www.andrews-corner.org
Re: The saga of installing slrn
#217934
Author: Peter James
Date: Fri, 21 Mar 2008 16:12
26 lines
1948 bytes
andrew <andrew@ilium.invalid> wrote:

> On 2008-03-20, Peter James <pfjames2000@googlemail.com> wrote:
> 
> > Can someone point me to a How to file that explains in straightforward
> > English how to get this program to run.  Thanks.
> 
> I wrote a howto a while ago that may help a little, although it does
> not have mac angle:
> 
> http://www.andrews-corner.org/slrn.html
> 
> It covers only the very basics though but should be enough to get you
> started.
> 
>               Andrew
Thanks, I read the file and copied it to my Mac.  It might be useful in
future.

On another note, bearing in mind that I am a cli "ignoramus", my .slrnrc
file is a bare bones get  you going sort  of thing.  If I import another
file from the  slrn forums how do I make it executable.  Is putting a .
in front of the title sufficient, or is there another process to put it
through.
Thank you.
Peter
Re: The saga of installing slrn
#217936
Author: I R A Darth Aggie
Date: Fri, 21 Mar 2008 17:29
50 lines
3610 bytes
On Fri, 21 Mar 2008 16:12:40 +0000,
Peter James <pfjames2000@googlemail.com>, in
<1ie5u73.1d8veo0bb65z8N%pfjames2000@googlemail.com> wrote:

>+  On another note, bearing in mind that I am a cli "ignoramus", my .slrnrc
>+  file is a bare bones get  you going sort  of thing.  If I import another
>+  file from the  slrn forums how do I make it executable.  Is putting a .
>+  in front of the title sufficient, or is there another process to put it
>+  through.

Well, "dot" files are, by default, not shown in "ls" file listing. Thus 
it is "easy" to "hide" a configuration file in your home directory.

They're not necessarily executable, and in fact the .slrnrc file is
simply a configuation file to customize what you expect slrn to do by
default and it makes no sense to make it executable. Conversely, it
doesn't hurt if it is marked executable - slrn won't care so long as
it/you can read it.

If you do an 

ls -l .slrnrc

in your home directory, you should get something like

-rw-r--r-- 1 darthaggie goobers 20967 2007-12-10 20:13 .slrnrc

The first cluster of stuff to the left of the space are unixy file
permissions. The first character (a "-") is to denote a special file,
in this case it isn't but that could be "d" directory, "c" character
device, then follows three characters that determine what the
user-owner can do to the file, in this case read-write, but not
execute (rw-), then follows another three characters that indicate
what the group (goobers) can do with the file - read-only (r--), which
is also true for the last group of three (r--) which is for other
users who are not the owner, or in the group.

If the file where actually executable, there would be one or more x's in
there:

-rwx-r-xr-x

We'll avoid advanced topics of permission masks and octal
notation... ;-)

-- 
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.
Re: The saga of installing slrn
#217935
Author: Blinky the Shark
Date: Fri, 21 Mar 2008 21:29
39 lines
2693 bytes
Peter James wrote:

> andrew <andrew@ilium.invalid> wrote:
> 
>> On 2008-03-20, Peter James <pfjames2000@googlemail.com> wrote:
>> 
>> > Can someone point me to a How to file that explains in straightforward
>> > English how to get this program to run.  Thanks.
>> 
>> I wrote a howto a while ago that may help a little, although it does not
>> have mac angle:
>> 
>> http://www.andrews-corner.org/slrn.html
>> 
>> It covers only the very basics though but should be enough to get you
>> started.
>> 
>>               Andrew
> Thanks, I read the file and copied it to my Mac.  It might be useful in
> future.
> 
> On another note, bearing in mind that I am a cli "ignoramus", my .slrnrc
> file is a bare bones get  you going sort  of thing.  If I import another
> file from the  slrn forums how do I make it executable.  Is putting a . in
> front of the title sufficient, or is there another process to put it
> through.

1.  The leading dot doesn't make it executable; it makes it hidden.

2.  .slrnrc is a text file containing slrn settings and has no need to be
executable.


-- 
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net
Re: The saga of installing slrn
#217938
Author: Will Parsons
Date: Sat, 22 Mar 2008 00:08
18 lines
1711 bytes
Blinky the Shark wrote:
> Peter James wrote:
>> On another note, bearing in mind that I am a cli "ignoramus", my .slrnrc
>> file is a bare bones get  you going sort  of thing.  If I import another
>> file from the  slrn forums how do I make it executable.  Is putting a . in
>> front of the title sufficient, or is there another process to put it
>> through.
>
> 1.  The leading dot doesn't make it executable; it makes it hidden.

It's possible here that the confusion is due to using a '.' to "source"
a script in Bourne-compatible shells, e.g.:

/bin/sh
. some_script_file_with_or_without_execute_permissions_set

--
Will
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