🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #205940

[slrn] bash shell macro

#205940
From: Troy Piggins
Date: Sat, 15 Sep 2007 23:59
27 lines
2225 bytes
I've just made a really, really simple macro this morning.

Get it here:
http://piggo.com/~troy/slrn#shell

The macro opens a bash shell from within slrn.  You easily, of
course, extend the 'shell' variable to any other shell of your
choosing.

I had the idea for when I visit groups like
grc.news.latestversions where an update for something is
announced.  I just hit my 'browse_url' key, 'U' by default, on
the open article which usually provides a link to the updated
software to download.  Once it's downloaded I run this macro to
open a bash shell, change to the dir for source code, compile and
install it all in one hit.  Once finished I just 'ctrl-d' to quit
the shell and I'm returned to slrn.  I'm lazy so I figure I will
be more likely to keep things up to date as I read them than
going back and doing it later.

Hope it helps someone else.

-- 
Troy Piggins | http://piggo.com/~troy/slrn
* NEW MACRO      16/9/07: shell.sl          ___  |   __   __    ,-O   (o-    O 
* UPDATED MACROS  9/9/07: whois.sl         |___  | |/   |/  |  O   )  //\     O
                          view_manuals.sl   ___| | |    |   |   `-O   V_/_  OOO
Technical Details
Message-ID: <20070916094300@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!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <20070916094300@usenet.piggo.com>
Subject: [slrn] bash shell macro
Date: Sun, 16 Sep 2007 09:59:26 +1000
From: Troy Piggins <usenet-0709@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!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet-0709@piggo.com
X-NNTP-Proxy: Leafnode-2
 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/)
User-Agent: slrn/0.9.8.1pl2.1/rt (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 27
NNTP-Posting-Host: 124.171.203.149
X-Trace: 1189900780 per-qv1-newsreader-01.iinet.net.au 32506 124.171.203.149