🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Creature Wed, 27 Aug 2003 18:07
[slrn] 0.9.7.4 - possible bug in handling of server line in .slrnrc
#131928
Author: Creature
Date: Wed, 27 Aug 2003 18:07
26 lines
2350 bytes
Just something that's been causing me grief just now. I've been trying to
update my .slrnrc to point it at the news server on the router in this
house, instead of my old one. After much trial and tribulation, I got the
server line to read:

server "192.168.19.1:1119" "News/.jnewsrc-ukc". 

And after more trial and error, I changed /etc/news/server to read
"192.168.19.1". It took me a lot of gnashing of teeth to figure out that
this won't work - it has to be "192.168.19.1:1119" in the server line,
which kind-of makes sense but I don't think it's that unreasonable to
expect slrn to fall back to a partial match if no exact match is found, as
it were. As far as I can tell, this occurs because the "192.168.19.1" in
the /etc/news/server file doesn't match up with the server line in the
.slrnrc. 

It's possible this is a feature, not a bug, based on how many news servers
are running on a server. Just thought I'd open it up to discussion. 

-- 
Alex Pounds (Creature)                  .~.               LGBTSoc Comms Person
CS2 Student                             /V\        Website working group chair
                                       // \\    Environmental committee member
"Variables won't; Constants aren't"   /(   )\ 
                                       ^`~'^
Re: [slrn] 0.9.7.4 - possible bug in handling of server line in .slrnrc
#132166
Author: Creature
Date: Fri, 29 Aug 2003 16:47
35 lines
2574 bytes
On Fri, 29 Aug 2003 06:56:19 GMT, Keith wrote:
> On Wed, 27 Aug 2003 18:07:10 +0000 (UTC), 
> Creature in <biis0e$fro$1@athena.ukc.ac.uk> wrote:
>> Just something that's been causing me grief just now. I've been trying to
>> update my .slrnrc to point it at the news server on the router in this
>> house, instead of my old one. After much trial and tribulation, I got the
>> server line to read:
>>
>> server "192.168.19.1:1119" "News/.jnewsrc-ukc". 
>>
> 
> Do you really want it to connect to port 1119 or 119? 

Yep. The router is port-forwarding on to the news server in question, and
so is running on 1119 as it's an unprivileged port so doesn't need to be
done as root. 


> comand line settings for slrn
> -h nntp-host    Host name to connect to.  This overrides NNTPSERVER variable.
> -p NNTP-PORT    Set the NNTP port to NNTP-PORT. The default value is 119.

Yep, and I could connect to it manually (ie. by specifying such things on
the commandline) before. However, I wanted to just be able to type "slrn"
and go.

Thanks for your input, 

-- 
Alex Pounds (Creature)                  .~.               LGBTSoc Comms Person
CS2 Student                             /V\        Website working group chair
                                       // \\    Environmental committee member
"Variables won't; Constants aren't"   /(   )\ 
                                       ^`~'^
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