🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Michael George Wed, 03 Dec 1997 00:00
.slrnrc question
#37405
Author: Michael George
Date: Wed, 03 Dec 1997 00:00
64 lines
2962 bytes
Greetings all!

I have a question regarding the .slrnrc file and setting it up with a news
server.  Currently I use the news server snews.zippo.com, but I found that
zippo has servers on the east and west sides of the country with snews being
the western one.  I thought I'd try snews2 (the eastern server) and see if
performance improved.

When trying to make this change, I found something strange about slrn
(0.9.4.3 and S-Lang Library 0.99.38).  It doesn't seem like a bug, but rather
I am overlooking something in the setup.  I'm hoping some of you slrn users
out there can help me.  I usually issue the command "slrn" to start slrn,
letting the file .slrnrc (the default) set all the options.

Currently, I have the following lines in my .slrnrc file:
	server snews.zippo.com .jnewsrc-zippo
	nnrpaccess snews.zippo.com myUsername myPassword

and all works well.  However, if I change those lines to read:
	server snews2.zippo.com .jnewsrc-zippo
	nnrpaccess snews2.zippo.com myUsername myPassword

slrn fails with the error message:
	slrn 0.9.4.3 (Dec  1 1997 23:20:48)

	Reading startup file /home/george/.slrnrc.Unable to open
	/home/george/.jnewsrc.  I will try .newsrc.
	slrn fatal error:

	Unable to open /home/george/.newsrc.
	If you want to create /home/george/.newsrc, add command line options:
   	-f /home/george/.newsrc -create

Thinking that the '2' might cause a problem, I tried:
	server snewsb.zippo.com .jnewsrc-zippo
	nnrpaccess snewsb.zippo.com myUsername myPassword

to see if slrn would search for the snewsb.zippo.com server, even though it
doesn't exist.  I got the same error message.

Thinking there might be a problem with a server which doesn't really exist, I
tried:
	server quark.im4u.net .jnewsrc-zippo
	nnrpaccess quark.im4u.net myUsername myPassword

and got the same error.

If I should use the command "slrn -h snews2.zippo.com" or substitute any of
the other permutations mentioned above, all works well.   I just get errors if
I try to set something besides snews.zippo.com as the default.

Now, it seems as though the *only* news server slrn will work with is
news.zippo.com, but that is quite unlikely.  More likely is that I am
forgetting to change something in the setup files...

Anyone with suggestions, please let me know.

-Michael

----
To reply by mail, remove "nospam" from mail address.

Re: .slrnrc question
#37403
Author: Preben Guldberg
Date: Wed, 03 Dec 1997 00:00
49 lines
2504 bytes
Thus wrote nospamgeorge@im4u.net (Michael George):
> Greetings all!

and greetings to you

[--- snip --- Intro ---]
> Currently, I have the following lines in my .slrnrc file:
> 	server snews.zippo.com .jnewsrc-zippo
> 	nnrpaccess snews.zippo.com myUsername myPassword

> and all works well.  However, if I change those lines to read:
> 	server snews2.zippo.com .jnewsrc-zippo
> 	nnrpaccess snews2.zippo.com myUsername myPassword

> slrn fails with the error message:
> 	slrn 0.9.4.3 (Dec  1 1997 23:20:48)

> 	Reading startup file /home/george/.slrnrc.Unable to open
> 	/home/george/.jnewsrc.  I will try .newsrc.
> 	slrn fatal error:

[--- snip --- more errors like this ---]

> If I should use the command "slrn -h snews2.zippo.com" or substitute any of
> the other permutations mentioned above, all works well.   I just get errors if
> I try to set something besides snews.zippo.com as the default.

> Now, it seems as though the *only* news server slrn will work with is
> news.zippo.com, but that is quite unlikely.  More likely is that I am
> forgetting to change something in the setup files...

> Anyone with suggestions, please let me know.

Just a thought: Have you remembered to alter the NNTPSERVER variable?
Something like "export NNTPSERVER=snews2.zippo.com" in bash or, I believe,
"setenv NNTPSERVERsnews2.zippo.com" in csh.

If not it is still holds the old server in your environment and thus is not
matched in .slrnrc

Peppe
-- 
Nikos: "What came over you to make you dance like that?",'  Preben Guldberg
Zorba: "What could I do, boss?  My joy was choking    ,'__/-\__    c928400@
        me. I had to find some outlet. And what     ,'   (o o)      student  
        sort of outlet?  Words?  Pff!"            ,' oOOo~(_)~oOOo  .dtu.dk     

Re: .slrnrc question
#37423
Author: Jan Hlavacek
Date: Thu, 04 Dec 1997 00:00
81 lines
4276 bytes
On 3 Dec 1997 19:23:36 GMT, Michael George <nospamgeorge@im4u.net> wrote:
> When trying to make this change, I found something strange about slrn
> (0.9.4.3 and S-Lang Library 0.99.38).  It doesn't seem like a bug, but rather
> I am overlooking something in the setup.  I'm hoping some of you slrn users
> out there can help me.  I usually issue the command "slrn" to start slrn,
> letting the file .slrnrc (the default) set all the options.
> 
> Currently, I have the following lines in my .slrnrc file:
> 	server snews.zippo.com .jnewsrc-zippo
> 	nnrpaccess snews.zippo.com myUsername myPassword

These two lines don't actually tell slrn which server to use.  They just match
the server name with newsrc file and authorization data.  AFAIK,  there is
currently no way to set your server from your .slrnrc.  

> 
> and all works well.  However, if I change those lines to read:
> 	server snews2.zippo.com .jnewsrc-zippo
> 	nnrpaccess snews2.zippo.com myUsername myPassword

What you should do is have the following four lines in your .slrnrc
 	server snews.zippo.com .jnewsrc-zippo
 	nnrpaccess snews.zippo.com myUsername myPassword
 	server snews2.zippo.com .jnewsrc-zippo2
 	nnrpaccess snews2.zippo.com myUsername myPassword
(The newsrc files should be different,  since the two servers most likely
number articles differently.  To start with,  you may just copy .jnewsrc-zippo
to .jnewsrc-zippo2 and manually delete all the article numbers).

You will then be able to read news from either server.  The server name you
either specify on the command line (slrn -h snews2.zippo.com),  or in the
NNTPSERVER environment variable.  (Makefile says something about
NNTPSERVERFILE variable,  but I was never able to make this work).  
 
> slrn fails with the error message:
> 	slrn 0.9.4.3 (Dec  1 1997 23:20:48)
> 
> 	Reading startup file /home/george/.slrnrc.Unable to open
> 	/home/george/.jnewsrc.  I will try .newsrc.
> 	slrn fatal error:
> 
> 	Unable to open /home/george/.newsrc.
> 	If you want to create /home/george/.newsrc, add command line options:
>    	-f /home/george/.newsrc -create

Slrn is still connecting to snews.zippo.com (since you didn't tell it
otherwise).  However,  your .slrnrc file no longer maps this server name to a
newsrc file (since you changed the corresponding lines),  so it tries to use
two default names (.jnewsrc and .newsrc),  doesn't find them,  and quits.

> 
> Thinking that the '2' might cause a problem, I tried:
> 	server snewsb.zippo.com .jnewsrc-zippo
> 	nnrpaccess snewsb.zippo.com myUsername myPassword
> 
> to see if slrn would search for the snewsb.zippo.com server, even though it
> doesn't exist.  I got the same error message.
> 
> Thinking there might be a problem with a server which doesn't really exist, I
> tried:
> 	server quark.im4u.net .jnewsrc-zippo
> 	nnrpaccess quark.im4u.net myUsername myPassword
> 
> and got the same error.
> 
> If I should use the command "slrn -h snews2.zippo.com" or substitute any of
> the other permutations mentioned above, all works well.   I just get errors if
> I try to set something besides snews.zippo.com as the default.

As mentioned above,  the "server" command in your .newsrc doesn't set the
default server.  It just maps the server name to the newsrc file name.

lahvak
-- 
Jan Hlav\'{a}\v{c}ek <lahvak@math.mps.ohio-state.edu>  (BCC's will bounce)
home page: http://www.math.ohio-state.edu/~lahvak/
slrn page: http://www.math.ohio-state.edu/~lahvak/software/slrn.html
slrn documentation: http://www.math.ohio-state.edu/~lahvak/software/slrn/

Re: .slrnrc question
#37435
Author: John E. Davis
Date: Fri, 05 Dec 1997 00:00
19 lines
1023 bytes
On 3 Dec 1997 19:23:36 GMT, Michael George <nospamgeorge@im4u.net>
wrote:
>and all works well.  However, if I change those lines to read:
>	server snews2.zippo.com .jnewsrc-zippo
>	nnrpaccess snews2.zippo.com myUsername myPassword
>
>slrn fails with the error message:

Try using double quotes, e.g.,

	server "snews2.zippo.com" ".jnewsrc-zippo"
	nnrpaccess "snews2.zippo.com" "myUsername" "myPassword"

Does that solve the problem?

--John

Re: .slrnrc question
#37437
Author: pavanas abludo incusus
Date: Fri, 05 Dec 1997 00:00
57 lines
2358 bytes
On 4 Dec 1997 04:34:22 GMT,
 Jan Hlavacek <lahvak@math.mps.ohio-state.edu> mused and hath written:

>On 3 Dec 1997 19:23:36 GMT, Michael George <nospamgeorge@im4u.net> wrote:
>
>What you should do is have the following four lines in your .slrnrc
> 	server snews.zippo.com .jnewsrc-zippo
> 	nnrpaccess snews.zippo.com myUsername myPassword
> 	server snews2.zippo.com .jnewsrc-zippo2
> 	nnrpaccess snews2.zippo.com myUsername myPassword
>
This will work (see below).

>> If I should use the command "slrn -h snews2.zippo.com" or substitute any of
>> the other permutations mentioned above, all works well.   I just get errors if
>> I try to set something besides snews.zippo.com as the default.
>
>As mentioned above,  the "server" command in your .newsrc doesn't set the
>default server.  It just maps the server name to the newsrc file name.
>
do:

snews2

# !/bin/sh
slrn -h snews2.zippo.com

snews

# !/bin/sh
slrn -h snews.zippo.com

and in .slrnrc should be 	server snews.zippo.com .jnewscr.snews 
 				server snews2.zippo.com .jnewsrc.snews2
then

		nnrpaccess	snews.zippo.com "usenname" "passwd" 
		nnrpaccess	snews2.zippo.com "username" "passwd"

>lahvak
>-- 
>Jan Hlav\'{a}\v{c}ek <lahvak@math.mps.ohio-state.edu>  (BCC's will bounce)
>home page: http://www.math.ohio-state.edu/~lahvak/
>slrn page: http://www.math.ohio-state.edu/~lahvak/software/slrn.html
>slrn documentation: http://www.math.ohio-state.edu/~lahvak/software/slrn/


-- 
IHS
pavanas  The wicked are wicked no doubt, and they go astray and they
	 fall, and they come by their deserts; but who can tell the
	 mischief which the very virtuous do? William Makepeace Thackeray
	
	

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