Article View: news.software.readers
Article #182567Re: [slrn] running mixmaster (external command) on current article
From: George Orwell
Date: Mon, 27 Mar 2006 17:25
Date: Mon, 27 Mar 2006 17:25
33 lines
1931 bytes
1931 bytes
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?
Technical Details
Message-ID:
<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!newsfeed00.sul.t-online.de!t-online.de!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!213.193.255.2.MISMATCH!feeder1.cambrium.nl!feed.tweaknews.nl!news.wiretrip.org!news.dizum.com!sewer-output!mail2news-x2!mail2newsReferences:
<b8f2139efcb4d29a8044bdcf49350801@mixmaster.it>Show Full Headers
Complete Article Headers
Message-ID: <31e870c90f2dec79351ceb3834589e3a@mixmaster.it> Subject: Re: [slrn] running mixmaster (external command) on current article Date: Mon, 27 Mar 2006 17:25:55 +0000 From: George Orwell <nobody@mixmaster.it> References: <b8f2139efcb4d29a8044bdcf49350801@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!newsfeed00.sul.t-online.de!t-online.de!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!213.193.255.2.MISMATCH!feeder1.cambrium.nl!feed.tweaknews.nl!news.wiretrip.org!news.dizum.com!sewer-output!mail2news-x2!mail2news Newsgroups: news.software.readers,alt.privacy.anon-server Mail-To-News-Contact: abuse@dizum.com Organization: mail2news@dizum.com Lines: 33