🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #182568

Re: [slrn] running mixmaster (external command) on current article

#182568
From: SINNER
Date: Mon, 27 Mar 2006 17:34
41 lines
2340 bytes
* George Orwell wrote in news.software.readers:

> George Orwell <nobody@mixmaster.it> wrote:
> 
>> I want to define a macro that will save the current article as a temp
>> file and run an external command on it (mixmaster, which has a curses
>> interface), then drop back to slrn when that finishes.
>> 
>> Any suggestions?
> 
> OK, I figured out how to do this and I'm posting it for anyone else
> who wants it. I know Alan Connor DOESN'T want it, but he'll only
> download the headers of this post, foam at the mouth, and make
> irrelevant comments.
> 
> Put the code [1] in $HOME/.slrn/macros.sl or wherever you keep
> your own macros, with the matching line [2] in $HOME/.slrnrc.
> 
> [1]
> define mixmaster_ff ()
> {
>     pipe_article("mixmaster -ff");
> }
> 
> definekey ("mixmaster_ff", "&", "article");
> 
> [2]
> interpret ".slrn/macros.sl"
> 
> Then when you press & it will pipe the article to mixmaster with the
> -ff option. Saving the article as a temp file isn't needed.
> 
> I hope this helps someone else.  
> Maybe it could be added to the leafnode FAQ or docs?
> 
> 

Why Leafnode DOC? Its slrn specific.

-- 
David
Technical Details
Message-ID: <Xns979375C362214louiscypherhellorg@140.99.99.130>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.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!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!fe01.news.easynews.com.POSTED!not-for-mail
References: <b8f2139efcb4d29a8044bdcf49350801@mixmaster.it> <31e870c90f2dec79351ceb3834589e3a@mixmaster.it>

Show Full Headers
Complete Article Headers
Message-ID: <Xns979375C362214louiscypherhellorg@140.99.99.130>
Subject: Re: [slrn] running mixmaster (external command) on current article
Date: Mon, 27 Mar 2006 17:34:36 GMT
From: SINNER <arcade.master@gmail.com>
References: <b8f2139efcb4d29a8044bdcf49350801@mixmaster.it> <31e870c90f2dec79351ceb3834589e3a@mixmaster.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.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!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!fe01.news.easynews.com.POSTED!not-for-mail
Newsgroups: news.software.readers,alt.privacy.anon-server
Organization: Hell.org
User-Agent: Xnews/5.04.25
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: 41
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.