🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #229380

Re: [SLRN] composing two follow ups at the same time...

#229380
From: Whiskers
Date: Mon, 26 Jan 2009 22:57
98 lines
5562 bytes
On 2009-01-26, Dragomir Kollaric <Dragomir@DK.org.invalid> wrote:
> On 2009-01-26, Whiskers  hit the keyboard and wrote:
>> On 2009-01-26, Dragomir Kollaric <Dragomir@DK.org.invalid> wrote:
>>> On 2009-01-25, John E. Davis  hit the keyboard and wrote:
>>>> On Fri, 23 Jan 2009 18:30:15 +0000 (UTC), Dragomir Kollaric <Dragomir@DK.org.invalid>
>>>> wrote:
>>
>> [...]
>>
>>>> You might try putting
>>>>
>>>>   set use_tmpdir 1
>>>
>>> Hi John thanks for SLRN, 
>>>
>>> And *yes* your answer *IS* the solution to this.
>>>
>>> I'm posting now two messages to different news-groups, using
>>> (there seems  no way around  that) two different  servers in
>>> two SLRN's.
>>
>> Does the news-server you are posting to permit only one login at a time?  
>
> I'm not sure if it's the news-server, it seems SLRN when I start another 
> instance with the same server tells me that it's being blocked by another PID.

Like this:

        slrn: pid 16727 is locking the newsrc file.

That means only that the newsrc file (eg ~/.jnewsrc) specified in ~/.slrnrc
(or the command line) is 'locked' by a running instance of slrn (with the 
Process ID 16727 in that example).  That file can only be used by one
instance of slrn at a time - because it records which articles have been
read and which ones have not.  But you can have another newsrc file for 
use with the same NNTP server, if you want - that's what I do - so long as 
that server allows two or more concurrent logins.

>> I can have as many instances of slrn (&/or any other usenet client) using 
>> my local Leafnode simultaneously as I want.  Currently, two slrns  :))  I 
>> don't know if two or more instances of slrn could use the same slrnpull
>> spool at the same time.
>>
>> Slrn does 'lock' the .jnewsrc file it's using, so one does need a seperate 
>> one for each instance of slrn; I did that by copying ~/.jnewsrc to 
>> ~/.jnewsrc2 and then running the second instance of slrn with 
>>
>>  slrn -h tavy -f ~/.jnewsrc2
>
> Yes I'm using something similar, I append the name of the news-server to their
> files: .slrn-motz .jnews-motz. in this way I keep stuff separated...

I use Leafnode to merge my usptream servers (Individual, Datemas, and 
sometimes Gmane) into a single local feed, so my slrn only needs one 
~/.slrnrc file, and one ~/.jnewsrc file for each instance of slrn.  By 
copying the 'normal' ~/.jnewsrc to ~/.jnewsrc2 before starting the second 
instance of slrn, the two instances start off reading from the same server 
and with the same articles 'marked as read' - of course they diverge from 
that moment.  By sharing one ~/.slrnrc file (and one score file too), all 
instances of slrn will have identical behaviour.

If I were to make a habit of running multiple instances of slrn, I would 
create a Bash script to first copy the newsrc file for each instance and
then run the appropriate slrn command, to save on typing.

[...]

>> I'm using the same ~/.slrnrc for both instances of slrn - with use_tmpdir 
>> set.
>
> I'm using several, because I don't know if I could store all the passwords
> and other stuff needed in just one. I might try it in the next couple of days.. 

Another reason for using something like Leafnode to merge your upstream 
feeds into one.  Leafnode's config stores all the usernames and passwords.

[...]

>> (Just for the record, I use mcedit not vi).
>
> I got vim over the years set up to my liking (for news-reading that is) 
> I think what I miss is the spellchecker.. 
>
> But on this Puppy :-) 
> 			I need to go lightly on the space. 

If you have mc ('Midnight Commander' console file manager) then you already 
have mcedit  :))

If you are running Puppy to use a machine with limited hardware 
resources, then you might not want to run Leafnode on that machine - but 
you could run it on another machine, or on a virtual private server ('VPS') 
or 'Shell account' provided by your ISP or someone else.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <slrngnsfuc.gan.catwheezel@ID-107770.user.individual.net>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <20090123192041.942@DK-Slivowitz.org.invalid> <slrngnnuph.jcv.jed@aluche.mit.edu> <20090126192115.122@DK-Slivowitz.org.invalid> <slrngns3va.gan.catwheezel@ID-107770.user.individual.net> <slrngnrheq.kvc.Dragomir@DK.org.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <slrngnsfuc.gan.catwheezel@ID-107770.user.individual.net>
Subject: Re: [SLRN] composing two follow ups at the same time...
Date: Mon, 26 Jan 2009 22:57:16 +0000
From: Whiskers <catwheezel@operamail.com>
References: <20090123192041.942@DK-Slivowitz.org.invalid> <slrngnnuph.jcv.jed@aluche.mit.edu> <20090126192115.122@DK-Slivowitz.org.invalid> <slrngns3va.gan.catwheezel@ID-107770.user.individual.net> <slrngnrheq.kvc.Dragomir@DK.org.invalid>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 98
Reply-To: Whiskers <catwheezel@gmx.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: individual.net UbH+82owQMbvIcmCMt6OAA49Rg9YZa9wZ02vjn4oFzoh/n2oA7
X-Orig-Path: ID107770.user.individual.net!not-for-mail
Cancel-Lock: sha1:eL4uTFLNAIED2OGPF06QTHP29m0=
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[\BmvwRD00
 xYer]; 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@
 p&  g^8<z5>HA
User-Agent: slrn/pre0.9.9-94 (Linux)