🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #73272

[slrn] Macros & piping to external script

#73272
From: Lee Webb
Date: Thu, 08 Mar 2001 19:16
31 lines
1604 bytes
I'm trying to use slrn's macros to pipe the body of an article an
external
Perl script. This is easily accomplished with they '|' keystroke.
However, I get a brief flash of the screen and control is immediately
returned
to slrn.

I tried using pipe_article, and sending it to 'more' hoping that (for
some
reason) more would hold up the terminal until quitting, but this didn't
work.

What I would like is either of:

1. (Ideally) How can I get it so that the output of my Perl script
replaces the
original article text?
2. Failing that, slrn displays the output of the script and waits for a
key to
return back to the standard slrn screen?


Pointers to docs (I've read the macro docs and looked through example
macros,
but to no avail), code snippets, or anything else you can think of are
appreciated.

Ta,
Lee.

Technical Details
Message-ID: <slrn9afmna.ls.lee@colossus.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.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!freenix!feed.ac-versailles.fr!nerim.net!grolier!btnet-peer0!btnet-feed5!btnet!mendelevium.btinternet.com!lee

Show Full Headers
Complete Article Headers
Message-ID: <slrn9afmna.ls.lee@colossus.com>
Subject: [slrn] Macros & piping to external script
Date: Thu, 08 Mar 2001 19:16:46 +0000
From: lee@colossus.com (Lee Webb)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!freenix!feed.ac-versailles.fr!nerim.net!grolier!btnet-peer0!btnet-feed5!btnet!mendelevium.btinternet.com!lee
Newsgroups: news.software.readers
Organization: BT Internet
Lines: 30
Reply-To: YodaSays.ReplyToThis@ndSpammer.uBe
NNTP-Posting-Host: host213-122-52-73.btinternet.com
User-Agent: slrn/0.9.5.7 (UNIX)