🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #174933

Re: [slrnpull] slrn macro to download new messages

#174933
From: Alan Connor
Date: Wed, 12 Oct 2005 20:47
36 lines
2450 bytes
On news.software.readers, in <20051012234707@usenet.piggo.com>,
"Troy Piggins" 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.
>

Thanks, Troy. I'll tuck that in my slrn docs.

AC
Technical Details
Message-ID: <slrndkqrtb.17k.i3x9mdw@b29x3m.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!65807237!not-for-mail
References: <20051012234707@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrndkqrtb.17k.i3x9mdw@b29x3m.invalid>
Subject: Re: [slrnpull] slrn macro to download new messages
Date: Wed, 12 Oct 2005 20:47:54 GMT
From: Alan Connor <i3x9mdw@j9n35c.invalid>
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!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!65807237!not-for-mail
Newsgroups: news.software.readers
X-Homepage: http://home.earthlink.net/~alanconnor/
X-Fanclub1: http://www.pearlgates.net/nanae/kooks/alanconnor.shtml
X-Fanclub2: http://www.netcomhost.net/wordpress/victims-of-alan-connor/
User-Agent: slrn/0.9.8.1 (Debian)
Lines: 36
NNTP-Posting-Host: 4.243.2.238
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.news.pas.earthlink.net 1129150074 4.243.2.238 (Wed,
NNTP-Posting-Date: Wed, 12 Oct 2005 13:47:54 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net