Thread View: news.software.readers
5 messages
5 total messages
Started by Tim Hammerquist
Fri, 19 Sep 2003 01:46
slrn 0.9.8.0 ignores server command?
Author: Tim Hammerquist
Date: Fri, 19 Sep 2003 01:46
Date: Fri, 19 Sep 2003 01:46
37 lines
2062 bytes
2062 bytes
Hey all,
I just grabbed and built slrn 0.9.8.0 on my Debian box and am
having some trouble getting it to recognize the following line in
my slrnrc:
server my.nntp.server .jnewsrc
The 0.9.8.0 manual still claims the server command is supported,
but I get the following output:
slrn 0.9.8.0 [2003-08-25]
Reading startup file /home/tim/.slrnrc.
loading /home/tim/.slrn/macros/gnupg.sl
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 /home/tim/.jnewsrc for server localhost.
Connecting to host localhost ...Unable to make connection. Giving up.
slrn fatal error:
Failed to initialize server.
All other commands and includes seem to be functioning fine. If
I explicitly invoke the (still existing) previous 0.9.7.4
version, it sees the server command and I'm here.
Has anyone else seen this?
TIA,
Tim Hammerquist
--
You just can't trust a house.
-- May Kasahara, "The Wind-Up Bird Chronicle"
Re: slrn 0.9.8.0 ignores server command?
Author: J.B. Nicholson-Owens
Date: Fri, 19 Sep 2003 02:51
Date: Fri, 19 Sep 2003 02:51
17 lines
1770 bytes
1770 bytes
Tim Hammerquist wrote: > 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... What's odd to me is that your 0.9.7.4 version works. As I understand it, the server command sets up a table of [news server]->[newsrc]. The server command doesn't indicate which news server you're using (even if there's only one table entry listed). So you have to tell slrn which server you want to use via the NNTPSERVER environment variable, the -h switch, a built-in server name, or a server name file (like /etc/nntpserver). Perhaps your 0.9.7.4 version is getting the server from some file somewhere (/etc/nntpserver or somesuch) or running with an NNTPSERVER environment variable set?
Re: slrn 0.9.8.0 ignores server command?
Author: Tim Hammerquist
Date: Fri, 19 Sep 2003 03:31
Date: Fri, 19 Sep 2003 03:31
41 lines
2703 bytes
2703 bytes
J.B. Nicholson-Owens graced us by uttering:
> Tim Hammerquist wrote:
>> 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...
>
> What's odd to me is that your 0.9.7.4 version works. As I
> understand it, the server command sets up a table of [news
> server]->[newsrc]. The server command doesn't indicate which
> news server you're using (even if there's only one table entry
> listed). So you have to tell slrn which server you want to use
> via the NNTPSERVER environment variable, the -h switch, a
> built-in server name, or a server name file (like
> /etc/nntpserver).
>
> Perhaps your 0.9.7.4 version is getting the server from some
> file somewhere (/etc/nntpserver or somesuch) or running with an
> NNTPSERVER environment variable set?
I've long since run slrn using solely the server command to
indicate NNTP server, ever since building it from src on
Slackware several years ago. I can't list every minor revision
change I've used, though.
I don't set NNTPSERVER anywhere (that's not commented out
anyway), and I'm running the binaries in question directly (not
from some startup script) from the same shell with no other
commmands executed between.
IAC, you're saying that 0.9.8.0 is operating correctly, and that
I need to set my NNTPSERVER var in the shell in addition to
mapping an NNTP server to a newsrc file in slrnrc, right?
Thanks!
Tim Hammerquist
--
Tcl tends to get ported to weird places like routers.
-- Larry Wall in <199710071721.KAA19014@wall.org>
Re: slrn 0.9.8.0 ignores server command?
Author: Tully
Date: Fri, 19 Sep 2003 03:51
Date: Fri, 19 Sep 2003 03:51
30 lines
2376 bytes
2376 bytes
In article <slrnbmkui2.oor.jbn@forestfield.org>, J.B. Nicholson-Owens wrote: > > > Tim Hammerquist wrote: > 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... > > What's odd to me is that your 0.9.7.4 version works. As I understand it, > the server command sets up a table of [news server]->[newsrc]. The server > command doesn't indicate which news server you're using (even if there's > only one table entry listed). So you have to tell slrn which server you > want to use via the NNTPSERVER environment variable, the -h switch, a > built-in server name, or a server name file (like /etc/nntpserver). > > Perhaps your 0.9.7.4 version is getting the server from some file somewhere > (/etc/nntpserver or somesuch) or running with an NNTPSERVER environment > variable set? FWIW if you want to hard code your newserver into slrn 0.9.8.0 there is a configure option for setting the default server directly into the compiled application. Also the server command in my .slrnrc only relates a specific server to a specific .jnewsrc file. HTH Tully
Re: slrn 0.9.8.0 ignores server command?
Author: Tim Hammerquist
Date: Fri, 19 Sep 2003 05:24
Date: Fri, 19 Sep 2003 05:24
22 lines
1876 bytes
1876 bytes
J.B. Nicholson-Owens graced us by uttering:
> As I understand it, the server command sets up a table of [news
> server]->[newsrc]. The server command doesn't indicate which
> news server you're using (even if there's only one table entry
> listed). So you have to tell slrn which server you want to use
> via the NNTPSERVER environment variable, the -h switch, a
> built-in server name, or a server name file (like
> /etc/nntpserver).
Having checked, neither version of the docs actually says that
the server command sets the NNTP server name for an slrn session,
so I'm left without explanation for why my previous setup worked.
IAC, I've set NNTPSERVER in my .zshenv and have had no problems
to far. Thanks for the (quick) response!
Cheers,
Tim Hammerquist
--
You can prove anything by mentioning another computer language. :-)
-- Larry Wall in <199706242038.NAA29853@wall.org>
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