🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #156352

Re: [slrn/leafnode] Using several newsservers

#156352
From: Whiskers
Date: Thu, 30 Sep 2004 15:15
100 lines
6355 bytes
On Wed, 29 Sep 2004 21:20:07 +0000, Felix Karpfen wrote:

snip

> I hope this contains the details needed to help me to make slrn/leafnode
> work on my box.

snip

It is possible to make leafnode behave rather like that, but I think it's
usually much more convenient not to, at least for text-only groups. 
('Binary' groups are a different kettle of fish, and the Agent/NewsFlex
procedure you describe is perhaps more suited to them; that's roughly how
Pan works in 'offline mode').

When you have leafnode set up as the server for your newsreader, the
newsreader can operate in 'online' mode (slrn itself can only operate as
an online newsreader); that means that you "download" the message headers
for the group you are intersted in (or all subscribed groups at once) from
leafnode into slrn - that's a purely local transfer so it will happen as
quickly as your hardware allows. 

The log for my newsreader, Pan, says for this session in NSR:-

saved 18 groups in "leafnode" in 0.0 seconds (16997 groups/sec)
loaded 363 articles ... in 0.0 seconds (14021 arts/sec)
scored 363 items in 0.0 seconds (363000 articles/sec)

When you want to read a particular article, select it from the article
list in slrn and it will be immediately "downloaded" from leafnode into
slrn.  In the blink of an eye, system load permitting.

When you post an article (follow-up or starting a new thread) slrn will
"upload" it to leafnode which will save it in a directory from which
leafnode will read it when next you run 'fetchnews'.  For slrn, this is
almost as quick as saving a file.

All of this can happen while you are not connected to the internet.  All
the groups available from leafnode, are in one list, regardless of where
leafnode gets them from.  As far as your newsreader is concerned, there is
only one server - leafnode.

Leafnode does all the 'talking' to your up-stream servers.  It creates a
groups list containing all the groups available from all the servers you
tell it about; *one* list.  When you subscribe to a group, leafnode will
download all the headers for that group, using all the servers it knows
about that carry that group, it will then check your 'filters' file to
plonk unwanted articles, and download all the bodies for the remaining
articles - again, from all or any server that has those bodies (but only
once for each body).  The headers and bodies will all go into a single
'database', regardless of how many servers they came from.

If there are new articles you have posted, they will be "uploaded" by
leafnode to whichever server it first accesses that will accept articles
for that group.  That's automatic, you need do nothing to tell leafnode
which server goes with which groups.  Recent versions of leafnode upload
your own articles before downloading anything, so your own posts will
appear in your groups the next time you look.

The utility that actually 'does the talking' to your up-stream servers is
called 'fetchnews', and it can be run from the command-line, or from a
script (including automatically each time you dial-up, or according to a
cron schedule).  I run 

Eterm --pause -e sudo /usr/sbin/fetchnews -vv

manually from a 'launcher' in GKrellM, so that I can see a simple 'log' of
what fetchnews has done, and only run it when I feel like it.  Usually, it
takes only a few minutes at most, and sometimes only a few seconds, to
'refresh' all 18 groups I get from (currently) two servers, via my
dial-up.  Headers and bodies, all 18 groups, both servers, and
uploading all my own articles, all in a single operation.  I have had up
to six servers set up in leafnode at one time; that does take longer -
leafnode only accesses one server at a time, which is its main weakness in
my opinion - but leaves 'bandwidth' for e-mail and web-surfing at the
same time.

The instructions for setting up leafnode are mostly summarised in the
/etc/leafnode/config.example file you should find when you install
leafnode.  I think you can also find a manual, FAQ, and guidelines, on the
web.

I suggest that you set up leafnode first, and use NewsFlex to access it so
that you only have to learn leafnode for now.  Then get slrn running, with
leafnode as it's only server, and become familiar with slrn before making
the complete switch from NewsFlex (or not!).  

One big advantage to having leafnode running, is that you can try out
several newsreaders without having to repeatedly set up your up-stream
servers and download the same stuff many times.  I'm using Pan as my
'real' newsreader, but 'playing' with Gnus, slrn, Opera, Mozilla, ...
whatever looks worth a try.  (I did try NewsFlex, but found it too
'clunky' for my liking).  (I find slrn is a brute to get set up 'just so',
but it is very quick).

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <pan.2004.09.30.15.15.57.229485@ID-107770.user.uni-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!not-for-mail
References: <2rm3esF1bbapcU1@uni-berlin.de> <2ami22xkr3.ln2@ID-90054.user.uni-berlin.de> <2rrflcF1d1ugiU1@uni-berlin.de> <dqmo22xiai.ln2@ID-90054.user.uni-berlin.de> <2s0n8dF1f80j8U1@uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2004.09.30.15.15.57.229485@ID-107770.user.uni-berlin.de>
Subject: Re: [slrn/leafnode] Using several newsservers
Date: Thu, 30 Sep 2004 16:15:58 +0100
From: Whiskers <catwheezel@operamail.com>
References: <2rm3esF1bbapcU1@uni-berlin.de> <2ami22xkr3.ln2@ID-90054.user.uni-berlin.de> <2rrflcF1d1ugiU1@uni-berlin.de> <dqmo22xiai.ln2@ID-90054.user.uni-berlin.de> <2s0n8dF1f80j8U1@uni-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 100
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de HbCv5/OMQ9xOfM75qGKoVwEjQnRjeg/NqPasDDkj953S6gN830
X-Orig-Path: ID107770.user.uni-berlin.de!news
User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table)
X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_"Pmt)1xC~QW%bU/xrlDuux";
 aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00xYer];
 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@p&
 g^8<z5>HA
X-Registered-Linux-User: 340309 <http://counter.li.org/>