Article View: news.software.readers
Article #263625Re: SLRN write newsrc to a different location
From: Lewis
Date: Wed, 22 May 2019 06:41
Date: Wed, 22 May 2019 06:41
31 lines
2688 bytes
2688 bytes
In message <slrnqe9qu1.cck.jbn@forestfield.org> J.B. Nicholson <jbn@forestfield.org> wrote: > Lewis wrote: >> Is there anyway while in slrn to write the current newsrc file to a >> different location? > Not currently; the server slrnrc command (which tells slrn the newsrc > to use for a particular server) can only be set from the slrnrc file > and this isn't accessible via a slrn macro. > Perhaps you could run slrn from a script that first copies your newsrc > from the shared drive to the local system if the shared drive newsrc > is more recent than the local newsrc. Then the script runs slrn (plus > whatever command line arguments you supplied) using the local > newsrc. After slrn quits the script copies your local newsrc to the > shared drive. > This means you'll be working from a local newsrc by default (so you > shouldn't lose newsrc state unless the local storage fails in which > case you probably have bigger problems). When the shared drive becomes > inaccessible at least one of the copy jobs will fail and you will have > to copy the newsrc to the shared drive yourself later. But assuming > that the shared drive is accessible most of the time, the copies will > succeed and leave you with an updated newsrc on the shared drive when > you quit slrn on one of the computers running this script. That is more fiddly than I want to do for something that happens rarely (well, uniquely, so far). -- I've never seen religious faith move mountains, but I've seen what it does to skyscrapers.
Technical Details
Message-ID:
<slrnqe9rpf.7ev.g.kreme@Snow.local>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mailReferences:
<slrnqe8lt8.tt.g.kreme@Snow.local> <slrnqe9qu1.cck.jbn@forestfield.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnqe9rpf.7ev.g.kreme@Snow.local> Subject: Re: SLRN write newsrc to a different location Date: Wed, 22 May 2019 06:41:51 +0000 From: Lewis <g.kreme@gmail.com.dontsendmecopies> References: <slrnqe8lt8.tt.g.kreme@Snow.local> <slrnqe9qu1.cck.jbn@forestfield.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.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Organization: Miskatonic U Lines: 31 Injection-Date: Wed, 22 May 2019 06:41:51 -0000 (UTC) Injection-Info: kreme.eternal-september.org; posting-host="a7b438901bad72dfd266fa6147d554da"; logging-data="22749"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18uTlw8Bdl9J5h7idcE0Kvd" User-Agent: slrn/1.0.3 (Darwin) Cancel-Lock: sha1:0dq3RIEyOCGP5UXQClzcP7db29I= X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z X-Clacks-Overhead: GNU Terry Pratchett Mail-Copies-To: nobody X-Received-Bytes: 2650 X-Received-Body-CRC: 3689638899