Article View: news.software.readers
Article #229345Re: [SLRN] composing two follow ups at the same time...
From: 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
Technical Details
Message-ID:
<slrngnn49b.72i.pjr@pjr.motzarella.org>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!newsfeed-fusi2.netcologne.de!195.14.215.230.MISMATCH!news.netcologne.de!newsfeed-hp2.netcologne.de!newsfeed.news2me.com!newspump.sol.net!10.218.45.203.MISMATCH!newsfeeds.sol.net!161.49.252.4.MISMATCH!sxnews1.qg.com!news.hub.org!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mailReferences:
<20090123192041.942@DK-Slivowitz.org.invalid>Show Full Headers
Complete Article Headers
Message-ID: <slrngnn49b.72i.pjr@pjr.motzarella.org> Subject: Re: [SLRN] composing two follow ups at the same time... Date: Sat, 24 Jan 2009 22:07:39 +0000 From: Peter J Ross <pjr@example.invalid> References: <20090123192041.942@DK-Slivowitz.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!newsfeed-fusi2.netcologne.de!195.14.215.230.MISMATCH!news.netcologne.de!newsfeed-hp2.netcologne.de!newsfeed.news2me.com!newspump.sol.net!10.218.45.203.MISMATCH!newsfeeds.sol.net!161.49.252.4.MISMATCH!sxnews1.qg.com!news.hub.org!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: none Lines: 47 Reply-To: Peter J Ross <peadar.ruadh@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.eternal-september.org U2FsdGVkX1/6uo1eVHm7Ubluh7v65qvmKq2UplaJdhENwAM3Ji5QhB2X/q/HbJ8E0hpwMfgOd6zfTFlLLZAAgbg0AkctzCNjc/hbhRr4sxuOLeGqQeNz2+GJ116d1DdF0lm9OiyKhJI= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Sat, 24 Jan 2009 22:08:05 +0000 (UTC) X-Auth-Sender: U2FsdGVkX18Nsz5H4YPjkhwLMLyQ+KSQ Cancel-Lock: sha1:M3It31L1+LOhRGmbVcd/+S4D1BA= User-Agent: slrn/pre1.0.0-2/mm (Linux)