🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #122112

Re: [slrn] Connecting to localhost

#122112
From: Mike Vanecek
Date: Thu, 20 Mar 2003 22:48
78 lines
3790 bytes
On Wed, 19 Mar 2003 03:10:36 -0000, Ted S. wrote:
> I wanted to try slrn out, so I installed it, and (after much searching 
> through the meager documentation), added the appropriate lines to slrn.rc 
> (set hostname, set username, set realname).  When I tried to run slrn, I 
> got this error message:
> 
> "You need to set the NNTPSERVER environment variable to your server name.
> Example: set NNTPSERVER=my.news.server"

Did you try to set an environmental variable rather than modifying the
slrn.rc file?

> So, I added the line "set NNTPSERVER=localhost" to slrn.rc, and got the 
> error message:
> 
> "S-Lang Error: Type Mismatch: set: Expecting argument
> slrn fatal error:
> slrn.rc: Error encountered processing line 5
> set NNTPSERVER=localhost"

I can find no setting in manual.txt for that set command.

> 
> After spending a lot of time looking for the help files (which don't seem 
> to exist, just like with Perl modules -- but that's another story) and 
> even the little bit of help given when one types "slrn help" at the 
> prompt, nothing worked, so I've finally given up.
> 
> I'm using:
> 
> Slrn 0.9.7.4 [2002-03-13]
> S-Lang Library Version: 1.4.5
> Compiled at: Mar 13 2002 14:28:27
> Operating System: Win32
> 
>  COMPILE TIME OPTIONS:
>   Backends: +nntp +slrnpull +spool
>   External programs / libs: +inews -ssl -uudeview
>   Features: +charset_mapping +decoding +emphasized_text +end_of_thread
>     +fake_refs +gen_msgid -grouplens +mime -msgid_cache +piping +rnlock
>     +slang +spoilers -strict_from +verbatim_marks
>  DEFAULTS:
>   Default server object:     nntp
>   Default posting mechanism: nntp
>   Default character set:     ibm850
>  SUPPORTED CHARACTER SETS:
>   isolatin ibm850 ibm852 ibm737 NeXT koi8
> 
> Anybody have any ideas on what to do?  I can find almost no help files 
> anywhere.
> 

Do you have a local news server running on port 119?

From the manual:

     -h [snews://]host[:port]
        Connect to the NNTP server on host, overriding the $NNTPSERVER
        environment variable.  If no port is given, the default NNTP
        port (119) will be used. The prefix snews:// indicates that slrn
        should attempt a secure connection. This will result in an error
        message when SSL support is not compiled in. Like -p, this
        option is only accepted after --nntp or when NNTP is the default
        mode.

     NNTPSERVER

        You can use this variable to tell slrn which NNTP server to
        connect to.  It can be overridden by the command line option -h.
        It is possible to compile in a default setting in case the user
        does not set $NNTPSERVER. This is done in slrnfeat.h by either
        setting NNTPSERVER_FILE to the name of a file containing the
        hostname or by directly setting NNTPSERVER_NAME to the hostname.
        In case both are defined, slrn first tries to read the file and
        only uses NNTPSERVER_NAME as a fallback.


Technical Details
Message-ID: <pkspk-rah.ln1@news.invalid.99computer>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!gestalt.direcpc.com!cyclone2.usenetserver.com!c03.atl99!news.webusenet.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
References: <Xns9342B78AF215F8jUwe9053kODf78sfkj0@127.0.0.1>

Show Full Headers
Complete Article Headers
Message-ID: <pkspk-rah.ln1@news.invalid.99computer>
Subject: Re: [slrn] Connecting to localhost
Date: Thu, 20 Mar 2003 22:48:08 +0000
From: Mike Vanecek <MikeV99@privacy.net>
References: <Xns9342B78AF215F8jUwe9053kODf78sfkj0@127.0.0.1>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!gestalt.direcpc.com!cyclone2.usenetserver.com!c03.atl99!news.webusenet.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
Newsgroups: news.software.readers
Lines: 77
User-Agent: slrn/0.9.7.4 (Linux)