🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by ddtl Mon, 16 Aug 2004 16:51
[slrn] slrn disregards 'server' option when slrnpull is in use.
#153905
Author: ddtl
Date: Mon, 16 Aug 2004 16:51
40 lines
2272 bytes
Hello everybody,

Previously, newsrc file for my server resided in 
/home/USERNAME/.slrn/octanews.rc", and ~/.slrnrc contained
the following option:

'server "news.octanews.com" "/home/USERNAME/.slrn/octanews.rc"'.

Now I decided to set up slrnpull, and added the following to
~/.slrnrc:

set spool_inn_root	"/var/spool/slrnpull/octanews/"
set spool_root		"/var/spool/slrnpull/octanews/news"
set spool_nov_root	"/var/spool/slrnpull/octanews/news"
set use_slrnpull 1
set read_active 1
set server_object 	"spool"

The problem is that now, when I start slrn, I get the following
message:

-----------------------------------------------------------
slrn 0.9.8.0 [2003-08-25]

Reading startup file /etc/news/slrn.rc.
Reading startup file /home/USERNAME/.slrnrc.
Using newsrc file /home/USERNAME/.jnewsrc for server
/var/spool/slrnpull/octanews/news.slrn fatal error:

Unable to open /home/USERNAME/.jnewsrc.
If you want to create /home/USENAME/.jnewsrc, add command line options:
   -f /home/USERNAME/.jnewsrc --create
----------------------------------------------------------

Why does slrn disregards the 'server' option and wants to read ~/.jnewsrc 
file? It is especially problematic since I have multiple servers, and each is 
to have it's own newsrc. How can that problem be solved?

ddtl.
Re: [slrn] slrn disregards 'server' option when slrnpull is in use.
#153901
Author: W. Citoan
Date: Mon, 16 Aug 2004 13:58
21 lines
1621 bytes
On Mon, 16 Aug 2004 09:51:25 -0700, ddtl wrote:
>  
>  Why does slrn disregards the 'server' option and wants to read
>  ~/.jnewsrc file? It is especially problematic since I have multiple
>  servers, and each is to have it's own newsrc. How can that problem be
>  solved?

You're telling slrn to use slrnpull.  Of course it's going to ignore the
server setting.  It's one or the other.

You have a couple of options:

1) Explicitly define which jnewsrc file to use via the "-f" command line
   option.

2) Use slrnpull for reading but not posting.  If you configure slrn to
   post directly, it will still read the server line.

- W. Citoan
-- 
What signature?
Re: [slrn] slrn disregards 'server' option when slrnpull is in use.
#153904
Author: Thomas Schultz
Date: Mon, 16 Aug 2004 16:44
36 lines
2239 bytes
* ddtl [2004-08-16 16:51] :
[...]
> Why does slrn disregards the 'server' option and wants to read ~/.jnewsrc 
> file? It is especially problematic since I have multiple servers, and each is 
> to have it's own newsrc. How can that problem be solved?

>From the manual:

<--->
  5.3.15.  server

  Usage: server nntp-server[:port] newsrc-file

  By default, slrn uses .jnewsrc in your home directory (jnews.rc on
  VMS, OS/2 and Windows) as its newsrc file. If you want to define a
  different filename for it or if you want to access more than one
  server, you can use this command. It tells slrn to use newsrc-file
  when connecting to nntp-server (which has to be the full hostname of
  the server and an optional port number or, if you are reading from
  spool, the path of the spool directory).

  If your server requires a password, you will also need to use the
  ``nnrpaccess'' command.
<--->

So in case you are reading from spool, make sure to use the spool
directory with the "server" command, i.e.

#v+
server "/var/spool/slrnpull/octanews/news" "/home/USERNAME/.slrn/octanews.rc"
#v-
-- 
Thomas Schultz <tststs@gmx.de>  News on slrn: http://slrn.sf.net/news.html
.-----------------------------. [2003-08-25] Released slrn 0.9.8.0
| Home of the slrn newsreader | [2003-08-19] New slrn FAQ available
| http://slrn.sourceforge.net | [2003-07-31] First beta with offline reading
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