🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #174919

Re: [slrnpull] slrn macro to download new messages

#174919
From: SINNER
Date: Wed, 12 Oct 2005 14:46
39 lines
2451 bytes
* Troy Piggins Wrote in news.software.readers:

> 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.
> 

This can easily be adapted to Leafnode as well it seems. Will give it 
a try, thanks!

-- 
David
Technical Details
Message-ID: <Xns96ED63AD35447Louiscypherhellorg@140.99.99.130>
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!wns14feed!worldnet.att.net!208.48.142.85!newsfeed.news2me.com!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!fe05.news.easynews.com.POSTED!not-for-mail
References: <20051012234707@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns96ED63AD35447Louiscypherhellorg@140.99.99.130>
Subject: Re: [slrnpull] slrn macro to download new messages
Date: Wed, 12 Oct 2005 14:46:58 GMT
From: SINNER <arcade.master@googlemail.net>
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!wns14feed!worldnet.att.net!208.48.142.85!newsfeed.news2me.com!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!fe05.news.easynews.com.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: hell.org
User-Agent: Xnews/??.01.14
X-Face: #sn6gF@jD*I3X;
 _)M5ymNQ1wG39y^'rxXRA5y-oi7.T/>P.P-40N\&-q'Mu+DWRSTF[}`Vtd85KnX\fe1~p-<(9U<zenv]u["swbx<^u;
 %a:ro>w=r"qdVdsY_@\.mDg9"ruPsYjX.Bi9M#gF-fG5=obWVG'>0W*w3RC
Lines: 39
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise
 we will be unable to process your complaint properly.