🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #174929

Re: [slrnpull] slrn macro to download new messages

#174929
From: Whiskers
Date: Wed, 12 Oct 2005 19:04
45 lines
2713 bytes
On 2005-10-12, Troy Piggins <usenet-0510@piggo.com> wrote:
> This may or may not be of use to anyone, or there may be a better way to
> go about it.  I have just started using slrnpull again now I have a
> bigger hard disk and can afford a bit of space for the spool.  Anyway,
> just wrote a macro so that with one keypress within slrn's groups window
> I can call slrnpull to download new articles, which I normally do as a
> cronjob.
>
> I created a file called my_macros.sl and put it in ~/.slrn/
> This goes in there along with other macros I have written:
>
> define slrnp ()
> {
>   () = system ("sudo /usr/local/bin/slrnpull -h my.isp's.news.server");
> }
>
>
> I put this in my ~/.slrnrc (in the relevant sections):
>
> interpret "/home/troy/.slrn/my_macros.sl"
> setkey group refresh_groups "\eG"  % Get new news from server
> setkey group slrnp          "G"    % Tell server to download new news
>
> So now I just hit G to pull down all new messages instantly.  Normally I
> have the following cronjob:
>
> 0 7,12,16,20 * * * /usr/local/bin/slrnpull -h my.isp's.news.server
>
> Hope someone finds it useful.  I do.

Nice  :))

I have 

rxvt -title fetchnews -geometry 93x45 -e sudo /usr/sbin/fetchnews -vv

as one of my GKrellMLaunch items, and I click on it as and when - I'm on a 
flakey dial-up, so I like the visual feedback of having fetchnews 
(Leafnode) tell me how it's getting on.  The rxvt window goes away when 
fetchnews finishes.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <kb3023-b8j.ln1@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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <20051012234707@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <kb3023-b8j.ln1@ID-107770.user.individual.net>
Subject: Re: [slrnpull] slrn macro to download new messages
Date: Wed, 12 Oct 2005 20:04:52 +0100
From: Whiskers <catwheezel@operamail.com>
References: <20051012234707@usenet.piggo.com>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 45
X-Trace: individual.net lldVVJOYoiFLQAhxxHWlugcmDMz3CE468Tz/QyuEWLl92JaunL
X-Orig-Path: ID-107770.user.individual.net!news
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
User-Agent: slrn/0.9.8.1 (Linux)