🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Thomas M�ller Mon, 08 May 2000 00:00
[slrn] How to read news from different servers offline?
#61360
Author: Thomas M�ller
Date: Mon, 08 May 2000 00:00
26 lines
1646 bytes
Hi everyone,

I just installed slrn and slrnpull on my machine. I want to read news from
two or more different servers offline.

For fetching the news I wrote a little script which starts slrnpull for each
server one after another and puts the news into directories like
~/slrn/newsserver1, ~/slrn/newsserver2 ...

Now I would like to start slrn and immediately get access to all newsgroups
from all servers.
But as much as I understand I can only put one entry for the spool directory
in my .slrnrc .
This leads to many different configuration files (one for each server) and
thus I would have to start slrn for every newsserver extra.

Is there any way to let slrn read all the newsgroups in all my spool
directories?

Thanks in advance.

Thomas Mueller



Re: [slrn] How to read news from different servers offline?
#61472
Author: Sylvain Robitaille
Date: Thu, 11 May 2000 00:00
25 lines
1814 bytes
On Mon, 8 May 2000 21:52:53 +0200, Thomas M�ller <thomasm@kamenz.de> wrote:

> For fetching the news I wrote a little script which starts slrnpull
> for each server one after another and puts the news into directories
> like ~/slrn/newsserver1, ~/slrn/newsserver2 ...

Why did you split up the local spools that way?  I fully expect that if
you use one spool directory for all the news you get from all servers,
you'll get the behaviour you want.

Failing that, make ~/slrn your spool directory and add the news server
names to the newsgroups you subscribe to in slrn, (for example, this
group may be newsserver1.news.software.readers)

I hope that helps...

-- 
----------------------------------------------------------------------
Sylvain Robitaille                              syl@alcor.concordia.ca
 
Systems analyst                                   Concordia University
Instructional & Information Technology        Montreal, Quebec, Canada
----------------------------------------------------------------------

Re: [slrn] How to read news from different servers offline?
#61476
Author: Steve Martin
Date: Thu, 11 May 2000 00:00
36 lines
2343 bytes
On 11 May 2000 19:12:05 GMT,
   Sylvain Robitaille <syl@alcor.concordia.ca>
wrote:
> On Mon, 8 May 2000 21:52:53 +0200, Thomas M�ller <thomasm@kamenz.de> wrote:
> 
> > For fetching the news I wrote a little script which starts slrnpull
> > for each server one after another and puts the news into directories
> > like ~/slrn/newsserver1, ~/slrn/newsserver2 ...
> 
> Why did you split up the local spools that way?  I fully expect that if
> you use one spool directory for all the news you get from all servers,
> you'll get the behaviour you want.
> 
> Failing that, make ~/slrn your spool directory and add the news server
> names to the newsgroups you subscribe to in slrn, (for example, this
> group may be newsserver1.news.software.readers)
> 

... but - what about the out.going posts ?  slrnpull will try to
post them all to the 1st server it runs on ...

A little filtering/scripting will be needed I think to split the
out.going that slrn uses into seperate out.going directories.

I haven't written it yet ;-) - but have spotted that it needs doing
if you want to be able to post back to these multiple groups and
have the post go to the server that carries the aprop. group.

-- 
Steve
----------------------------------------------------
My email adr is steve at sjm d dot freeuk dot com
... else remove the .invalid beans before replying
----------------------------------------------------

Re: [slrn] How to read news from different servers offline?
#61545
Author: Elden Fenison
Date: Sun, 14 May 2000 00:00
16 lines
1200 bytes
On 11 May 2000 19:12:05 GMT, Sylvain Robitaille <syl@alcor.concordia.ca> wrote:
>Why did you split up the local spools that way?  I fully expect that if
>you use one spool directory for all the news you get from all servers,
>you'll get the behaviour you want.

Ummm, Sylvain, the slrnpull docs specifically state that you must set up
different directory trees for spools if you are pulling from different
servers.

-- 

Elden Fenison
http://www.moondog.org


Re: [slrn] How to read news from different servers offline?
#61609
Author: Sylvain Robitaille
Date: Tue, 16 May 2000 00:00
41 lines
2681 bytes
On Sun, 14 May 2000 07:00:00 GMT, Elden Fenison <news@moondog.org> wrote:

> Ummm, Sylvain, the slrnpull docs specifically state that you must set up
> different directory trees for spools if you are pulling from different
> servers.

You're right. I didn't look at that. I wonder if that's mostly for the
out.going articles problem or there's another reason. Maybe I'll hack
some more on slrnpull...

The docs also instruct you to have the conf file in the SLRNPULL_ROOT
directory, which makes my second suggestion only slightly more
complicated:

You can pull articles down with "slrnpull -d SLRNPULL_ROOT/server1 ..."
(substitute accordingly for SLRNPULL_ROOT), assuming you have an
slrnpull.conf file in each of SLRNPULL_ROOT/server* directories. To read
articles, you point slrn to SLRNPULL_ROOT and subscribe to groups with
the server name prepended, (ie. server1.news.software.readers).

You'll have to edit the Newsgroups: line in all your posts, though, and
someone else already brought up the problem of dealing with out-going
messages. A rather crude way to deal with that is to let each server
refuse articles to newsgroups it doesn't carry. They'll be put in the
out.going/rejects directory. The script which calls slrnpull for posting
and pulling articles can simply move them back between calls to each
server.  You'll of course need symbolic links back to
SLRNPULL_ROOT/out.going from each SLRNPULL_ROOT/server* directory.

It's hardly elegant, I'm afraid, but it's the best I can come up with at
the moment... :-(

-- 
----------------------------------------------------------------------
Sylvain Robitaille                              syl@alcor.concordia.ca
 
Systems analyst                                   Concordia University
Instructional & Information Technology        Montreal, Quebec, Canada
----------------------------------------------------------------------

Re: [slrn] How to read news from different servers offline?
#61624
Author: Sylvain Robitaille
Date: Tue, 16 May 2000 00:00
47 lines
3080 bytes
On Thu, 11 May 2000 23:36:08 GMT, Steve Martin wrote:

> ... but - what about the out.going posts ?  slrnpull will try to
> post them all to the 1st server it runs on ...

Good point. I hadn't even considered it. :-(  Actually, you need to make
sure that slrnpull can see the out.going directory from each server
directory. Symbolic links should handle that ok.

Slrnpull will try to post all out-going articles to whatever server it's
connecting to, that's true, but if the server doesn't carry the group,
it'll reject the post. Slrnpull will save the rejected post. A script
can move those back to out.going between calls to slrnpull.

If the server accepts a post for a group you're actually downloading
from a different server, don't worry about it. It's netnews. It'll find
its way around to the server you intended to post the article to.

> A little filtering/scripting will be needed I think to split the
> out.going that slrn uses into seperate out.going directories.

That could work. I'm thinking of trying to find time to just hack that
sort of thing into slrnpull itself, so that (using the first group name
on the Newsgroups: header, for example) it looks in the conf file to see
which server it gets a particular newsgroup from, and sends only posts
to a particular server for groups that it gets from that server.

This implies a hack to the slrnpull.conf file, which would allow for one
configuration file to list the subscription status for multiple servers.
The drawback, I think would be that you could read any one group from
only one server, but I've been assuming that's the case all along,
(perhaps not the safest assumption, but I can't see why anyone would
want to read the same articles in the same groups repeatedly anyway.)

I haven't really given this as much thought as it deserves, but I think
it might be doable.  I'll see if I can come up with any better ideas (or
improvements to this one)...

-- 
----------------------------------------------------------------------
Sylvain Robitaille                              syl@alcor.concordia.ca
 
Systems analyst                                   Concordia University
Instructional & Information Technology        Montreal, Quebec, Canada
----------------------------------------------------------------------

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