Article View: news.software.readers
Article #3439Re: How to use ELM for reply-to-author in RN?
From: Phil Brownfield
Date: Sat, 27 Feb 1993 22:01
Date: Sat, 27 Feb 1993 22:01
29 lines
2258 bytes
2258 bytes
In article <1268@rc1.vub.ac.be> Roland Siebelink <rcsiebel@vnet3.vub.ac.be> writes: >I wonder if anybody knows how to set up RN so it uses ELM to mail a reply to >the author of a certain message. I know you have to set the environment >variable MAILPOSTER to the programme, but how should I include the options for >the subject line and for the addressee? (Caveat: I'm a trn user, but I believe my method also works under rn.) I don't use MAILPOSTER. Instead, I've put these two macros in my .rnmac file: R %(%m=[pa]?!echo "From news `date`" > %~/.letter; cat "%A" >> %~/.letter; elm -f %~/.letter\n:R) r %(%m=[pa]?!echo "From news `date`" > %~/.letter; cat "%A" >> %~/.letter; elm -f %~/.letter\n:r) If I hit either "R" or "r" while reading an article, the article gets spun off into a file named .letter that looks like a mailbox, then elm is invoked opening .letter. Now I can use any of elm's commands on the article, including reply. It's possible to file news articles away with a command like ">", which has become my favorite method of archiving news articles. That way, if my participation in a thread involves news articles and email letters, I can archive both for easy retrieval later from within elm. You may need to fiddle with the echo command if your system's mailbox format differs from what I have on my SVR3 system. -- Phil Brownfield home: phil@blackice.uucp work: phil_brownfield@email.sps.mot.com Don't mistake kindness for weakness - Albert Collins
Technical Details
Message-ID:
<1993Feb27.220117.10185@blackice.uucp>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!alembic!bimbo!ukelele!pyrdc!gossip.pyramid.com!olivea!sun-barr!cs.utexas.edu!hermes.chpc.utexas.edu!cfi.org!dogface!blackice!philReferences:
<1268@rc1.vub.ac.be>Show Full Headers
Complete Article Headers
Message-ID: <1993Feb27.220117.10185@blackice.uucp> Subject: Re: How to use ELM for reply-to-author in RN? Date: Sat, 27 Feb 1993 22:01:17 +0000 From: phil@blackice.uucp (Phil Brownfield) References: <1268@rc1.vub.ac.be> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!alembic!bimbo!ukelele!pyrdc!gossip.pyramid.com!olivea!sun-barr!cs.utexas.edu!hermes.chpc.utexas.edu!cfi.org!dogface!blackice!phil Newsgroups: news.software.readers Reply-To: phil%blackice@dogface.austin.tx.us (Phil Brownfield) Organization: Lost in the Noise Lines: 29