🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Troy Piggins Wed, 12 Oct 2005 13:59
[slrnpull] slrn macro to download new messages
#174918
Author: Troy Piggins
Date: Wed, 12 Oct 2005 13:59
33 lines
2097 bytes
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.

-- 
Troy Piggins
Where I live: 27 27 44 S 153 02 28 E
http://earth.google.com
Re: [slrnpull] slrn macro to download new messages
#174919
Author: 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
Re: [slrnpull] slrn macro to download new messages
#174929
Author: 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 
-- ~~~~~~~~~~
Re: [slrnpull] slrn macro to download new messages
#174933
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads