Thread View: news.software.readers
28 messages
28 total messages
Started by Dragomir Kollaric
Fri, 23 Jan 2009 18:30
[SLRN] composing two follow ups at the same time...
Author: Dragomir Kollaric
Date: Fri, 23 Jan 2009 18:30
Date: Fri, 23 Jan 2009 18:30
23 lines
2499 bytes
2499 bytes
This is the idea: Short: how or where I can tweak SLRN/vim that for both a separate followup (follow-up01) is used so that they will not interfere with each other? I came to the conclusion that sometimes using SLRN I want to run a second instance. Now reading itself (having a second jnews-file) using another news.server doesn't pose any problem, but if I compose a followup using vim, then there is a ~/.followup file created. If I want to write a second follow-up the first one could be overwritten since SLRN (or is this a "VIM feature") is set to create the ~/follow-up. Dragomir Kollaric -- Problem: "Autopilot in altitude hold mode produces a 200 fpm descent." Solution: "Cannot reproduce problem on ground."
Re: [SLRN] composing two follow ups at the same time...
Author: Whiskers
Date: Fri, 23 Jan 2009 19:55
Date: Fri, 23 Jan 2009 19:55
29 lines
2356 bytes
2356 bytes
On 2009-01-23, Dragomir Kollaric <Dragomir@DK.org.invalid> wrote: > > This is the idea: > > Short: how or where I can tweak SLRN/vim that for both a > separate followup (follow-up01) is used so that they will > not interfere with each other? > > I came to the conclusion that sometimes using SLRN I want to > run a second instance. Now reading itself (having a second > jnews-file) using another news.server doesn't pose any > problem, but if I compose a followup using vim, then there > is a ~/.followup file created. If I want to write a second > follow-up the first one could be overwritten since SLRN (or > is this a "VIM feature") is set to create the ~/follow-up. > > > > Dragomir Kollaric You could try running the second instance of slrn in a shell where the variable $SLRNHOME is set to something other than the default $HOME. That should get each instance of slrn to put its temporary .followup file into a different directory. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [SLRN] composing two follow ups at the same time...
Author: Frank Slootweg
Date: Fri, 23 Jan 2009 20:47
Date: Fri, 23 Jan 2009 20:47
34 lines
2676 bytes
2676 bytes
Whiskers <catwheezel@operamail.com> wrote:
> On 2009-01-23, Dragomir Kollaric <Dragomir@DK.org.invalid> wrote:
> >
> > This is the idea:
> >
> > Short: how or where I can tweak SLRN/vim that for both a
> > separate followup (follow-up01) is used so that they will
> > not interfere with each other?
> >
> > I came to the conclusion that sometimes using SLRN I want to
> > run a second instance. Now reading itself (having a second
> > jnews-file) using another news.server doesn't pose any
> > problem, but if I compose a followup using vim, then there
> > is a ~/.followup file created. If I want to write a second
> > follow-up the first one could be overwritten since SLRN (or
> > is this a "VIM feature") is set to create the ~/follow-up.
> >
> > Dragomir Kollaric
>
> You could try running the second instance of slrn in a shell where the
> variable $SLRNHOME is set to something other than the default $HOME. That
> should get each instance of slrn to put its temporary .followup file into
> a different directory.
Our you could just swith to tin [1] :-) :
-X No overwrite mode. ${TIN_HOMEDIR-"$HOME"}/.newsrc and files
in ${TIN_HOMEDIR-"$HOME"}/.tin will not be overwritten but
may be created if they don't exist.
[1] For this particular issue, that's not even needed, because tin is
sensible enough to add a (PID) sequence number to the name of its
.article file (How about *them* apples?), but let's not add insult to
injury.
Re: [SLRN] composing two follow ups at the same time...
Author: Whiskers
Date: Fri, 23 Jan 2009 21:44
Date: Fri, 23 Jan 2009 21:44
45 lines
3917 bytes
3917 bytes
On 2009-01-23, Frank Slootweg <this@ddress.is.invalid> wrote:
> Whiskers <catwheezel@operamail.com> wrote:
>> On 2009-01-23, Dragomir Kollaric <Dragomir@DK.org.invalid> wrote:
>> >
>> > This is the idea:
>> >
>> > Short: how or where I can tweak SLRN/vim that for both a
>> > separate followup (follow-up01) is used so that they will
>> > not interfere with each other?
>> >
>> > I came to the conclusion that sometimes using SLRN I want to
>> > run a second instance. Now reading itself (having a second
>> > jnews-file) using another news.server doesn't pose any
>> > problem, but if I compose a followup using vim, then there
>> > is a ~/.followup file created. If I want to write a second
>> > follow-up the first one could be overwritten since SLRN (or
>> > is this a "VIM feature") is set to create the ~/follow-up.
>> >
>> > Dragomir Kollaric
>>
>> You could try running the second instance of slrn in a shell where the
>> variable $SLRNHOME is set to something other than the default $HOME. That
>> should get each instance of slrn to put its temporary .followup file into
>> a different directory.
>
> Our you could just swith to tin [1] :-) :
>
> -X No overwrite mode. ${TIN_HOMEDIR-"$HOME"}/.newsrc and files
> in ${TIN_HOMEDIR-"$HOME"}/.tin will not be overwritten but
> may be created if they don't exist.
>
> [1] For this particular issue, that's not even needed, because tin is
> sensible enough to add a (PID) sequence number to the name of its
> .article file (How about *them* apples?), but let's not add insult to
> injury.
I expect slrn could be hacked to give its .followup file a unique or
seqential name too - but I find it simpler for my poor brain simply to
have only one post being edited at a time - using slrn's 'postponed'
option to keep others safe until I want to start editing them again.
--
-- ^^^^^^^^^^
-- Whiskers
-- ~~~~~~~~~~
Re: [SLRN] composing two follow ups at the same time...
Author: Dragomir Kollaric
Date: Fri, 23 Jan 2009 21:57
Date: Fri, 23 Jan 2009 21:57
64 lines
3557 bytes
3557 bytes
On 2009-01-23, Whiskers hit the keyboard and wrote: > On 2009-01-23, Dragomir Kollaric <Dragomir@DK.org.invalid> wrote: >> >> This is the idea: >> >> Short: how or where I can tweak SLRN/vim that for both a >> separate followup (follow-up01) is used so that they will >> not interfere with each other? >> >> I came to the conclusion that sometimes using SLRN I want to >> run a second instance. Now reading itself (having a second >> jnews-file) using another news.server doesn't pose any >> problem, but if I compose a followup using vim, then there >> is a ~/.followup file created. If I want to write a second >> follow-up the first one could be overwritten since SLRN (or >> is this a "VIM feature") is set to create the ~/follow-up. >> >> >> >> Dragomir Kollaric > > You could try running the second instance of slrn in a shell where the > variable $SLRNHOME is set to something other than the default $HOME. That > should get each instance of slrn to put its temporary .followup file into > a different directory. > Thanks for the input, I'm not entirely certain where should I put $SLRNHOME, I've tried it in the .slrn-file for that particular news-server with several versions, yet nothing worked, invoking SLRN in a terminal finished with a error relating to this line I just put in. small letters, all caps with "set" in front of it, including $, nothing worked. Starting it in the CLI including this string didn't lead to success either.. Don't think I should put this into my users .bashrc. Of course there is the slight possibility to use another newsreader, but I'm used to "vim" as my editor and I like SLRN .... :-) Somehow this is another one of the self-made problems (or better yet "lack of knowledge")by the user. I've also looked up this variable in the manual, but maybe I just don't know how to put it correctly into the config file.. Dragomir Kollaric -- "When science discovers the center of the universe, a lot of people will be disappointed to find they are not it." >> Bernard Baily <<
Re: [SLRN] composing two follow ups at the same time...
Author: Frank Slootweg
Date: Fri, 23 Jan 2009 22:00
Date: Fri, 23 Jan 2009 22:00
10 lines
1747 bytes
1747 bytes
Whiskers <catwheezel@operamail.com> wrote: [...] > I expect slrn could be hacked to give its .followup file a unique or > seqential name too - but I find it simpler for my poor brain simply to > have only one post being edited at a time - using slrn's 'postponed' > option to keep others safe until I want to start editing them again. Should I mention that - *in addition to* the already mentioned no-overwrite and unique name feature - tin has *also* the 'postpone[d]' feature you mention? Nah, I won't! No need to rub it in! :-)
Re: [SLRN] composing two follow ups at the same time...
Author: Dragomir Kollaric
Date: Fri, 23 Jan 2009 22:16
Date: Fri, 23 Jan 2009 22:16
18 lines
2104 bytes
2104 bytes
On 2009-01-23, Whiskers hit the keyboard and wrote: >> > > I expect slrn could be hacked to give its .followup file a unique or > seqential name too - but I find it simpler for my poor brain simply to > have only one post being edited at a time - using slrn's 'postponed' > option to keep others safe until I want to start editing them again. > I know of that feature too. In fact I used it in the past. Dragomir Kollaric -- "When science discovers the center of the universe, a lot of people will be disappointed to find they are not it." >> Bernard Baily <<
Re: [SLRN] composing two follow ups at the same time...
Author: Sven Svensson
Date: Sat, 24 Jan 2009 04:52
Date: Sat, 24 Jan 2009 04:52
11 lines
1474 bytes
1474 bytes
On Fri, 23 Jan 2009 21:57:56 +0000 (UTC) Dragomir Kollaric <Dragomir@DK.org.invalid> wrote: > > Thanks for the input, YW -- I feel like I am sharing a ``CORN-DOG'' with NIKITA KHRUSHCHEV ...
Re: [SLRN] composing two follow ups at the same time...
Author: Dragomir Kollaric
Date: Sat, 24 Jan 2009 10:13
Date: Sat, 24 Jan 2009 10:13
25 lines
2068 bytes
2068 bytes
On 2009-01-24, Sven Svensson hit the keyboard and wrote: > On Fri, 23 Jan 2009 21:57:56 +0000 (UTC) > Dragomir Kollaric <Dragomir@DK.org.invalid> wrote: > >> >> Thanks for the input, > > YW Thanks for the laugh, even though I was looking for some tips on how to write two .followups at the same time. I guess you don`t know either :-) > Dragomir Kollaric -- This comes from Puppy Linux 4.1.2 a small fine Linux Distribution, running on : 6GB HDD | 158 MB RAM 4MB Video RAM Gericom Polo Overdose III
Re: [SLRN] composing two follow ups at the same time...
Author: Whiskers
Date: Sat, 24 Jan 2009 14:40
Date: Sat, 24 Jan 2009 14:40
27 lines
2687 bytes
2687 bytes
On 2009-01-23, Dragomir Kollaric <Dragomir@DK.org.invalid> wrote:
> On 2009-01-23, Whiskers hit the keyboard and wrote:
>> On 2009-01-23, Dragomir Kollaric <Dragomir@DK.org.invalid> wrote:
[...]
> I've also looked up this variable in the manual, but maybe I
> just don't know how to put it correctly into the config
> file..
That isn't where you put environmental variables. It might be worth
reading up on the ue of envoronmental variables, but to cut a long story
short one way of creating a temporary environmental variable for use by a
particular program is to include it in the command line, eg:
SLRNHOME=/home/dragomir/slrn2 slrn
should do the trick - assuming that you have a directory ~/slrn2 which
contains valid .jnewsrc and .slrnrc file etc - I just copied my usual
/News directory and .jnewsrc and .slrnrc files into ~/slrn2 and that seems
to work fine; I'm currently editing this post from one srln session and
another replying to Frank Slootweg in another slrn session.
--
-- ^^^^^^^^^^
-- Whiskers
-- ~~~~~~~~~~
Re: [SLRN] composing two follow ups at the same time...
Author: Whiskers
Date: Sat, 24 Jan 2009 14:40
Date: Sat, 24 Jan 2009 14:40
19 lines
2524 bytes
2524 bytes
On 2009-01-23, Frank Slootweg <this@ddress.is.invalid> wrote: > Whiskers <catwheezel@operamail.com> wrote: > [...] >> I expect slrn could be hacked to give its .followup file a unique or >> seqential name too - but I find it simpler for my poor brain simply to >> have only one post being edited at a time - using slrn's 'postponed' >> option to keep others safe until I want to start editing them again. > > Should I mention that - *in addition to* the already mentioned > no-overwrite and unique name feature - tin has *also* the 'postpone[d]' > feature you mention? Nah, I won't! No need to rub it in! :-) I'll freely admit that if slrn has any competition, tin may well be it ;)) -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [SLRN] composing two follow ups at the same time...
Author: Peter J Ross
Date: Sat, 24 Jan 2009 22:07
Date: Sat, 24 Jan 2009 22:07
47 lines
3608 bytes
3608 bytes
In news.software.readers on Fri, 23 Jan 2009 18:30:15 +0000 (UTC), Dragomir Kollaric <Dragomir@DK.org.invalid> wrote: > This is the idea: > > Short: how or where I can tweak SLRN/vim that for both a > separate followup (follow-up01) is used so that they will > not interfere with each other? > > I came to the conclusion that sometimes using SLRN I want to > run a second instance. Now reading itself (having a second > jnews-file) using another news.server doesn't pose any > problem, but if I compose a followup using vim, then there > is a ~/.followup file created. If I want to write a second > follow-up the first one could be overwritten since SLRN (or > is this a "VIM feature") is set to create the ~/follow-up. slrn creates the file. On UNIX-like systems, the default filename is .followup, though this can be changed before compiling. The file is then passed to the editor and returned when the editor is closed. You could experiment with the value of the SLRN_FOLLOWUP_FILENAME preprocessor token in slrnfeat.h, using some C code to append a PID or time to the string at runtime, but I don't guarantee that this won't break anything. I'll add it to my list of "things to play with when I have time". Or you could install slrn twice or more in different directories, using different values for SLRN_FOLLOWUP_FILENAME in each case. You could also use different $SLRNHOME environment variables for different servers, as has been suggested. Perhaps the simplest solution would be to write some vimscript to change the filename after reading it and change it back when exiting (*not* when merely writing the file). The *best* solution, IMO, would be a patch to make slrn behave like tin (thanks, Frank!). You're not the only one who's inconvenienced in this way. -- PJR :-) slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/ extra slrn documentation: http://slrn-doc.sourceforge.net/ newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Re: [SLRN] composing two follow ups at the same time...
Author: Whiskers
Date: Sat, 24 Jan 2009 23:46
Date: Sat, 24 Jan 2009 23:46
27 lines
2537 bytes
2537 bytes
On 2009-01-24, Peter J Ross <pjr@example.invalid> wrote: > In news.software.readers on Fri, 23 Jan 2009 18:30:15 +0000 (UTC), > Dragomir Kollaric <Dragomir@DK.org.invalid> wrote: [...] > You could also use different $SLRNHOME environment variables for > different servers, as has been suggested. [...] I used the same server (local Leafnode) for both instances when I experimented earlier today. By copying my 'normal' .jnewsrc to the alternative directory, the second instance of slrn at least started off 'all square' with the primary instance. A script to copy the latest .jnewsrc into the alternative $SLRNHOME directory before launching the second instance, would ensure that the two instances start off equal in each session, if you want to make a habit of having two (or more!) slrn instances at once. But I daresay the second instance could use a different server with its own .jnewsrc, if you want. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [SLRN] composing two follow ups at the same time...
Author: John E. Davis
Date: Sun, 25 Jan 2009 05:40
Date: Sun, 25 Jan 2009 05:40
14 lines
1407 bytes
1407 bytes
On Fri, 23 Jan 2009 18:30:15 +0000 (UTC), Dragomir Kollaric <Dragomir@DK.org.invalid> wrote: > Short: how or where I can tweak SLRN/vim that for both a > separate followup (follow-up01) is used so that they will > not interfere with each other? You might try putting set use_tmpdir 1 in your .slrnrc. Good luck, --John
Re: [SLRN] composing two follow ups at the same time...
Author: Whiskers
Date: Sun, 25 Jan 2009 14:16
Date: Sun, 25 Jan 2009 14:16
27 lines
2528 bytes
2528 bytes
On 2009-01-25, John E. Davis <jed@jedsoft.org> wrote: > On Fri, 23 Jan 2009 18:30:15 +0000 (UTC), Dragomir Kollaric <Dragomir@DK.org.invalid> > wrote: >> Short: how or where I can tweak SLRN/vim that for both a >> separate followup (follow-up01) is used so that they will >> not interfere with each other? > > You might try putting > > set use_tmpdir 1 > > in your .slrnrc. > > Good luck, > --John Would that allow multiple instances of slrn to use the same .slrnrc or would it require a seperate .slrnrc for each instance? Even if the latter it might be more convenient than setting $SLRNHOME in the command line of a second instance. Anyway, thank you for slrn :)) -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [SLRN] composing two follow ups at the same time...
Author: Dragomir Kollaric
Date: Mon, 26 Jan 2009 18:34
Date: Mon, 26 Jan 2009 18:34
43 lines
2746 bytes
2746 bytes
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: >> Short: how or where I can tweak SLRN/vim that for both a >> separate followup (follow-up01) is used so that they will >> not interfere with each other? > > 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. One can use one ~/.slrn but use different .jnewsrc files. To keep it simple I give ~/.slrnrc file the name of the. news-server too . /tmp/SLRN63A4DC7.0 <- this is the file created by set use_tmpdir 1 while in ~/home the regular .followup (this reply to you) is being ritten. I use spellchecker in vim in the other file it too still orks. > --John Once more thank you very much... it was a simple solution, and best of all I don't need to switch to another newsreader, now SLRN will be even more powerful for me. :-) Dragomir Kollaric -- "When science discovers the center of the universe, a lot of people will be disappointed to find they are not it." >> Bernard Baily <<
Re: [SLRN] composing two follow ups at the same time...
Author: Whiskers
Date: Mon, 26 Jan 2009 19:32
Date: Mon, 26 Jan 2009 19:32
59 lines
3449 bytes
3449 bytes
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 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 where tavy is the machine running my local Leafnode. > One can use one ~/.slrn but use different .jnewsrc files. > To keep it simple I give ~/.slrnrc file the name of the. > news-server too . I'm using the same ~/.slrnrc for both instances of slrn - with use_tmpdir set. > /tmp/SLRN63A4DC7.0 <- this is the file created by set use_tmpdir 1 > > while in ~/home the regular .followup (this reply to you) is > being ritten. I use spellchecker in vim in the other file it > too still orks. [...] I have confirmed that each temporary 'followup' file in ~/tmp gets a unique name - I got SLRN15F66428.0 and SLRN1659755C.0 for two followups being edited at the same time. So there seems to be no pressing need for more than one ~/.slrnrc to run more than one instance of slrn :)) (Just for the record, I use mcedit not vi). -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [SLRN] composing two follow ups at the same time...
Author: Dragomir Kollaric
Date: Mon, 26 Jan 2009 21:17
Date: Mon, 26 Jan 2009 21:17
87 lines
4472 bytes
4472 bytes
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. > 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... > > where tavy is the machine running my local Leafnode. > >> One can use one ~/.slrn but use different .jnewsrc files. >> To keep it simple I give ~/.slrnrc file the name of the. >> news-server too . > > 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.. > >> /tmp/SLRN63A4DC7.0 <- this is the file created by set use_tmpdir 1 >> >> while in ~/home the regular .followup (this reply to you) is >> being ritten. I use spellchecker in vim in the other file it >> too still orks. > > [...] > > I have confirmed that each temporary 'followup' file in ~/tmp gets a > unique name - I got SLRN15F66428.0 and SLRN1659755C.0 for two followups > being edited at the same time. So there seems to be no pressing need for > more than one ~/.slrnrc to run more than one instance of slrn :)) > > (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. > Dragomir Kollaric -- This post comes from "PUPPY LINUX" a small and fine GNU/LINUX Distribution giving new life to a old Compaq Armada 1700 6GB HDD | Pentium II 266MHz
Re: [SLRN] composing two follow ups at the same time...
Author: Whiskers
Date: Mon, 26 Jan 2009 22:57
Date: Mon, 26 Jan 2009 22:57
98 lines
5562 bytes
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
-- ~~~~~~~~~~
Re: [SLRN] composing two follow ups at the same time...
Author: Dragomir Kollaric
Date: Tue, 27 Jan 2009 07:44
Date: Tue, 27 Jan 2009 07:44
126 lines
6710 bytes
6710 bytes
On 2009-01-26, Whiskers hit the keyboard and wrote:
> 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 see :-)
I haven't mentioned it, but I use some "alias" in my
~/.bashrc and one "starter button" to fire up SLRN on my
main PC. So it would take just a bit of editing one of them.
The Puppy installation is on a small Lap-top and it is not
really meant to be used on-line. But just for the fun of
setting SLRN up on it, I went ahead. Puppy just needed the
slang package (and some specific development file for puppy)
to install it.
In any case my news-reading habits aren't so that I must
have a very sophisticated setup, I will look into the option
to change the .jnews-file for the same server though as this
might be all that's needed.
Thanks for all the input you offered, much appreciated :-)
>
>>> 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.
>
Dragomir Kollaric
--
"When science discovers the center of the universe, a lot of
people will be disappointed to find they are not it."
>> Bernard Baily <<
Re: [SLRN] composing two follow ups at the same time...
Author: Whiskers
Date: Tue, 27 Jan 2009 17:28
Date: Tue, 27 Jan 2009 17:28
19 lines
2242 bytes
2242 bytes
On 2009-01-27, 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-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: [...] > Thanks for all the input you offered, much appreciated :-) My pleasure :)) -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [SLRN] composing two follow ups at the same time...
Author: Peter J Ross
Date: Thu, 29 Jan 2009 18:59
Date: Thu, 29 Jan 2009 18:59
28 lines
2525 bytes
2525 bytes
In news.software.readers on Mon, 26 Jan 2009 22:57:16 +0000, Whiskers <catwheezel@operamail.com> wrote: <...> > By sharing one ~/.slrnrc file (and one score file too), all > instances of slrn will have identical behaviour. Not if you use preprocessor tokens in the .slrnrc file. E.g., #if$NNTPSERVER news1.example.com server news1.example.com "newsrc/news1.newsrc" set scorefile "score/news1.score" #elif$NNTPSERVER news2.example.com server "news2.example.com" "newsrc/news2.newsrc" set scorefile "score/news2.score" set use_tmpdir 1 #endif This works if you have multiple instances of slrn each connected to a different server specified by the NNTPSERVER environment variable. -- PJR :-) slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/ extra slrn documentation: http://slrn-doc.sourceforge.net/ newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Re: [SLRN] composing two follow ups at the same time...
Author: Peter J Ross
Date: Thu, 29 Jan 2009 19:07
Date: Thu, 29 Jan 2009 19:07
25 lines
2098 bytes
2098 bytes
In news.software.readers on 25 Jan 2009 05:40:00 GMT, John E. Davis <jed@jedsoft.org> wrote: > On Fri, 23 Jan 2009 18:30:15 +0000 (UTC), Dragomir Kollaric <Dragomir@DK.org.invalid> > wrote: >> Short: how or where I can tweak SLRN/vim that for both a >> separate followup (follow-up01) is used so that they will >> not interfere with each other? > > You might try putting > > set use_tmpdir 1 > > in your .slrnrc. I didn't realise that this was the effect of use_tmpdir. I've updated the documentation in svn to try to clarify this. -- PJR :-) slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/ extra slrn documentation: http://slrn-doc.sourceforge.net/ newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Re: [SLRN] composing two follow ups at the same time...
Author: Peter J Ross
Date: Thu, 29 Jan 2009 19:10
Date: Thu, 29 Jan 2009 19:10
38 lines
2940 bytes
2940 bytes
In news.software.readers on Sat, 24 Jan 2009 23:46:28 +0000, Whiskers <catwheezel@operamail.com> wrote: > On 2009-01-24, Peter J Ross <pjr@example.invalid> wrote: >> In news.software.readers on Fri, 23 Jan 2009 18:30:15 +0000 (UTC), >> Dragomir Kollaric <Dragomir@DK.org.invalid> wrote: > > [...] > >> You could also use different $SLRNHOME environment variables for >> different servers, as has been suggested. > > [...] > > I used the same server (local Leafnode) for both instances when I > experimented earlier today. By copying my 'normal' .jnewsrc to the > alternative directory, the second instance of slrn at least started off > 'all square' with the primary instance. A script to copy the latest > .jnewsrc into the alternative $SLRNHOME directory before launching the > second instance, would ensure that the two instances start off equal in > each session, if you want to make a habit of having two (or more!) slrn > instances at once. I'm wondering why anybody would want to connect two instances of slrn to the same server. > But I daresay the second instance could use a different server with its > own .jnewsrc, if you want. If you use more than one server you should certainly use more than one newsrc file, since the article numbers will be different. -- PJR :-) slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/ extra slrn documentation: http://slrn-doc.sourceforge.net/ newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Re: [SLRN] composing two follow ups at the same time...
Author: Frank Slootweg
Date: Thu, 29 Jan 2009 20:10
Date: Thu, 29 Jan 2009 20:10
15 lines
1799 bytes
1799 bytes
Peter J Ross <pjr@example.invalid> wrote: [...] > I'm wondering why anybody would want to connect two instances of slrn > to the same server. Huh? Isn't that *exactly* what this thread/OP is about? The OP (partly) *works around* the problem by using two servers, but I'm sure he'd *want* to use just one. FWIW, (with tin) I do this somewhat frequently, for example if I want to look at another post, thread, group while composing a response. But also to re-read some stuff which is already 'marked' as read in the normal instance. Etc., etc.. (And as mentioned, tin's '-X' no-write option makes that very easy.)
Re: [SLRN] composing two follow ups at the same time...
Author: Peter J Ross
Date: Thu, 29 Jan 2009 20:43
Date: Thu, 29 Jan 2009 20:43
39 lines
2969 bytes
2969 bytes
In news.software.readers on Thu, 29 Jan 2009 21:10:43 +0100, Frank Slootweg <this@ddress.is.invalid> wrote: > Peter J Ross <pjr@example.invalid> wrote: > [...] > >> I'm wondering why anybody would want to connect two instances of slrn >> to the same server. > > Huh? Isn't that *exactly* what this thread/OP is about? The OP > (partly) *works around* the problem by using two servers, but I'm sure > he'd *want* to use just one. Only Dragomir can speak for Dragomir, but I got a different impression of his intentions. > FWIW, (with tin) I do this somewhat frequently, for example if I want > to look at another post, thread, group while composing a response. But > also to re-read some stuff which is already 'marked' as read in the > normal instance. Also, perhaps, to browse with a different scorefile. OK, there are lots of good reasons to do what I originally found odd. > Etc., etc.. (And as mentioned, tin's '-X' no-write > option makes that very easy.) slrn has the use_tmpdir variable to do the same, as I've recently learned thanks to JED's intervention. In this respect, tin and slrn are equal, though you score a point for knowing something about your newsreader's capabilities that I didn't know about mine's. -- PJR :-) slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/ extra slrn documentation: http://slrn-doc.sourceforge.net/ newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Re: [SLRN] composing two follow ups at the same time...
Author: Whiskers
Date: Thu, 29 Jan 2009 20:54
Date: Thu, 29 Jan 2009 20:54
25 lines
2261 bytes
2261 bytes
On 2009-01-29, Peter J Ross <pjr@example.invalid> wrote: > In news.software.readers on Sat, 24 Jan 2009 23:46:28 +0000, Whiskers > <catwheezel@operamail.com> wrote: [...] > I'm wondering why anybody would want to connect two instances of slrn > to the same server. I'm wondering why anyone wanting to use more than one NSP wouldn't use a local caching proxy to create a single local feed ;)) >> But I daresay the second instance could use a different server with its >> own .jnewsrc, if you want. > > If you use more than one server you should certainly use more than one > newsrc file, since the article numbers will be different. Of course. Another reason for a local caching proxy, surely? Who wants to juggle newsrc files? -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [SLRN] composing two follow ups at the same time...
Author: Dragomir Kollaric
Date: Fri, 30 Jan 2009 15:56
Date: Fri, 30 Jan 2009 15:56
59 lines
3541 bytes
3541 bytes
On 2009-01-29, Peter J Ross hit the keyboard and wrote: > In news.software.readers on Thu, 29 Jan 2009 21:10:43 +0100, Frank > Slootweg <this@ddress.is.invalid> wrote: > >> Peter J Ross <pjr@example.invalid> wrote: >> [...] >> >>> I'm wondering why anybody would want to connect two instances of slrn >>> to the same server. >> >> Huh? Isn't that *exactly* what this thread/OP is about? The OP >> (partly) *works around* the problem by using two servers, but I'm sure >> he'd *want* to use just one. > > Only Dragomir can speak for Dragomir, but I got a different impression > of his intentions. To use one news-server at the same time, wasn't my main-aim. But I found myself also in the situation, while writing a reply and then needing to look up some other messages and wanting to reply there too I simply forgot that I had already a first ~/.followup reading two slrn (using different servers) at the same time is such a nifty solution to this. > >> FWIW, (with tin) I do this somewhat frequently, for example if I want >> to look at another post, thread, group while composing a response. But >> also to re-read some stuff which is already 'marked' as read in the >> normal instance. > > Also, perhaps, to browse with a different scorefile. > > OK, there are lots of good reasons to do what I originally found odd. > >> Etc., etc.. (And as mentioned, tin's '-X' no-write >> option makes that very easy.) > > slrn has the use_tmpdir variable to do the same, as I've recently > learned thanks to JED's intervention. In this respect, tin and slrn > are equal, though you score a point for knowing something about your > newsreader's capabilities that I didn't know about mine's. :-) > > Dragomir Kollaric -- "When science discovers the center of the universe, a lot of people will be disappointed to find they are not it." >> Bernard Baily <<
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