🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5907

Re: macro? 3rd try

#5907
From: Roberto Barros
Date: Mon, 30 May 1994 14:19
27 lines
1397 bytes
jyoung@larry.wyvern.com (John Young) writes:

> I am trying to set up a macro in one of my init files. I want it to 
> decode and download all selected articles to my home dir. 

[Other stuff deleted] 

> Any help would be greatly appreciated.

Here is a macro I wrote to do this.  It decodes several files at once, 
as long as their sub-parts are ordered correctly.  The "." is the 
current directory, and the "+" is to use all messages selected in all
pages of the menu. 


# Map "D" and also "Control-d" (in menu mode) to decode files selected  
# in the menu (macro 98 is defined first).
define 98
:decode 
"." '+'
end

map menu D macro 98
map menu ^d macro 98

-- 
Roberto Barros  -  roberto@dcs.gla.ac.uk 
Technical Details
Message-ID: <CqMD53.Fsq@dcs.gla.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!nntp.gmd.de!xlink.net!sol.ctr.columbia.edu!math.ohio-state.edu!cs.utexas.edu!swrinde!pipex!uknet!dcs.gla.ac.uk!roberto
References: <jyoung.770257854@larry>

Show Full Headers
Complete Article Headers
Message-ID: <CqMD53.Fsq@dcs.gla.ac.uk>
Subject: Re: macro? 3rd try
Date: Mon, 30 May 1994 14:19:50 GMT
From: roberto@dcs.gla.ac.uk (Roberto Barros)
References: <jyoung.770257854@larry>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!nntp.gmd.de!xlink.net!sol.ctr.columbia.edu!math.ohio-state.edu!cs.utexas.edu!swrinde!pipex!uknet!dcs.gla.ac.uk!roberto
Newsgroups: news.software.nn
Organization: Computing Science Dept., Glasgow University, Glasgow, Scotland
Lines: 27