Thread View: news.software.readers
10 messages
10 total messages
Started by Ted S.
Wed, 19 Mar 2003 03:10
[slrn] Connecting to localhost
Author: Ted S.
Date: Wed, 19 Mar 2003 03:10
Date: Wed, 19 Mar 2003 03:10
49 lines
2525 bytes
2525 bytes
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"
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"
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.
--
Ted S.: change .spam to .net to reply by e-mail
An infallible method of conciliating a tiger is to allow oneself to be
devoured. -- Konrad Adenauer
Re: [slrn] Connecting to localhost
Author: G. Wolfe Woodbury
Date: Wed, 19 Mar 2003 03:16
Date: Wed, 19 Mar 2003 03:16
20 lines
1835 bytes
1835 bytes
Ted S. <fedya@bestweb.spam> shaped electrons to say: > 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" > > So, I added the line "set NNTPSERVER=localhost" to slrn.rc, and got the > error message: The "environment" variables are set in the shell. .bashrc or .bash-profile in the $HOME directory. Then when you invoke slrn it knows which NNTP server to use from the environment variable. Slrn actually works quite well. I use it all the time.
Re: [slrn] Connecting to localhost
Author: SINNER
Date: Wed, 19 Mar 2003 03:39
Date: Wed, 19 Mar 2003 03:39
41 lines
2392 bytes
2392 bytes
While strolling through news.software.readers, G. Wolfe Woodbury was overheard plotting: >> >> So, I added the line "set NNTPSERVER=localhost" to slrn.rc, and got the >> error message: Bad Syntax, take that out. > > The "environment" variables are set in the shell. .bashrc or > .bash-profile in the $HOME directory. Except he is using windows and I see no mention of cygwin... > > Then when you invoke slrn it knows which NNTP server to use from the > environment variable. > > Slrn actually works quite well. I use it all the time. To the OP: What version of Windows? 9X you can insert the info into autoexec.bat. set NNTPSERVER=XXX or you can type it at the prompt before you start slrn or create a batch file to start slrn @echo off set NNTPSERVER=XXX c:\slrn\slrn.exe <---Put your exe here. For win2k/XP you will need to add an system variable (Right click my computer/Properties/Advanced tab) -- David Boys will be boys, and so will a lot of middle-aged men. -- Kin Hubbard
Re: [slrn] Connecting to localhost
Author: SINNER
Date: Wed, 19 Mar 2003 03:50
Date: Wed, 19 Mar 2003 03:50
21 lines
2261 bytes
2261 bytes
While strolling through news.software.readers, Ted S. was overheard plotting: > 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" > > So, I added the line "set NNTPSERVER=localhost" to slrn.rc, and got the > error message: I gave some more hints below, but unless your running a local newsserver you'll need to set this to your newsserver. Did the package not come with a sample rc file? It is rather well documented and by changing about 5 lines and setting up the NNTPSERVER you should be off and running. -- David Breeding rabbits is a hare raising experience.
Re: [slrn] Connecting to localhost
Author: David B
Date: Wed, 19 Mar 2003 20:47
Date: Wed, 19 Mar 2003 20:47
14 lines
1474 bytes
1474 bytes
Ted S. <fedya@bestweb.spam> wrote: > 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) Er, if you unzip the slrn packages normally, there is an extensive manual in the "doc" directory called "manual.txt", along with an example slrn.rc, a file called "INSTALL.w32" (amongst others) that tells you exactly how to set slrn up - including solving the problem you have posted. -- David mailto:david@davidbreach.co.uk
Re: [slrn] Connecting to localhost
Author: Tiger
Date: Wed, 19 Mar 2003 20:57
Date: Wed, 19 Mar 2003 20:57
22 lines
2262 bytes
2262 bytes
On 19 Mar 2003 20:47:30 GMT, David B <spam@davidbreach.co.uk> wrote: > Ted S. <fedya@bestweb.spam> wrote: >> 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) > > Er, if you unzip the slrn packages normally, there is an extensive > manual in the "doc" directory called "manual.txt", along with an example > slrn.rc, a file called "INSTALL.w32" (amongst others) that tells you > exactly how to set slrn up - including solving the problem you have > posted. > OP's problem is a good example of Windowwashing[1] [1] The process by which the Windows operating system corrupts the normal reasoning ability of a computer user. -- Tiger *Registered Linux User #279548 Mandrake 9.0 Fluxbox 0.1.14
Re: [slrn] Connecting to localhost
Author: Bud Beckman
Date: Thu, 20 Mar 2003 00:34
Date: Thu, 20 Mar 2003 00:34
23 lines
1721 bytes
1721 bytes
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" > >Anybody have any ideas on what to do? I can find almost no help files >anywhere. > >-- >Ted S.: change .spam to .net to reply by e-mail Easy way is to type slrn -h whatever.news.server.you.use in the terminal or command line. I use a couple of news servers and that works well -- http://www.lewisandclarkidaho.org/
Re: [slrn] Connecting to localhost
Author: Ted S.
Date: Thu, 20 Mar 2003 03:10
Date: Thu, 20 Mar 2003 03:10
27 lines
2038 bytes
2038 bytes
Somebody claiming to be David B <spam@davidbreach.co.uk> wrote in news:b5akvm.ok.1@davidbreach.co.uk: > Ted S. <fedya@bestweb.spam> wrote: >> 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) > > Er, if you unzip the slrn packages normally, there is an extensive > manual in the "doc" directory called "manual.txt", along with an > example slrn.rc, a file called "INSTALL.w32" (amongst others) that > tells you exactly how to set slrn up - including solving the problem > you have posted. > Well, you're right that manual.txt has a lot of the information about what configuring can and can't be done to slrn. But it's nowhere near as self- explanatory as your post seems to imply. And this isn't coming from somebody who knows only Windows -- I programmed my TI-99/4A in BASIC back in the day and used one of those bizarre Apple ][ programming languages in elementary school. :-) -- Ted S.: change .spam to .net to reply by e-mail An infallible method of conciliating a tiger is to allow oneself to be devoured. -- Konrad Adenauer
Re: [slrn] Connecting to localhost
Author: Michael Johnson
Date: Thu, 20 Mar 2003 08:30
Date: Thu, 20 Mar 2003 08:30
61 lines
3183 bytes
3183 bytes
* Ted S. <fedya@bestweb.spam> [news.software.readers]:
> 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:
[ -- snip -- ]
> Anybody have any ideas on what to do? I can find almost no help files
> anywhere.
In slrn.rc I have:
nnrpaccess "localhost" "ADMIN" "."
nnrpaccess "news.insatnet.nu" "name" "passwd"
because I run slrn both 'online' and 'offline' using slrnpull.
then I have different .rc files depending on from which server I'm reading:
server localhost "rc\\.newsrc"
server news.songnetworks.se "rc\\.newsrc_insatnet"
the next thing is for slrnpull:
#ifdef ds_insatnet
set spool_inn_root "D:\\_home\\spool\\pull_insatnet"
set spool_root "D:\\_home\\spool\\pull_insatnet\\news"
set spool_nov_root "D:\\_home\\spool\\pull_insatnet\\news"
set spool_active_file "D:\\_home\\spool\\data\\active"
set spool_activetimes_file "D:\\_home\\spool\\data\\active.times"
set spool_newsgroups_file "D:\\_home\\spool\\data\\ngroups"
set spool_nov_file ".overview"
set scorefile "D:\\_utils\\_unix\\SLRN\\cfg\\score"
#endif
to read news I use this .bat file (you rem the lines you don't use):
REM SLRN_insatnet.online.BAT
set TERM=pcansi
set USER=name
set HOME=D:\_Utils\_unix\SLRN
set NNTPSERVER=news.insatnet.nu
set TMP=D:\Utils\_unix\SLRN\tmp
rem -- online reading --
bin\slrn.exe -n -h news.insatnet.nu
rem -- offline reading --
rem bin\slrn.exe -Ds_insatnet
rem -- creating newsrc --
rem bin\slrn.exe -n -h news.insatnet.nu --create
to pull news (with slrnpull):
set SLRNPULL_ROOT=D:\_home\spool\pull_insatnet
set NNTPSERVER=news.insatnet.nu
bin\slrnpull.exe
bin\slrnpull.exe --expire
Hope this will help you alittle.
--
michael
Re: [slrn] Connecting to localhost
Author: Mike Vanecek
Date: Thu, 20 Mar 2003 22:48
Date: Thu, 20 Mar 2003 22:48
78 lines
3790 bytes
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.
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