🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1574

save macro problem

#1574
From: Bill Petro
Date: Tue, 23 Apr 1991 19:17
24 lines
1462 bytes
I am trying to automate the saving of binaries posted across numerous
articles.  I want to take advantage of the "delete" key, which saves the
value of the last saved file name destination (from the man):

    You can edit this name as usual, but if you kill the entire name
    immediately, nn will replace the default name with the last file
    name you entered. If you kill this as well, nn will leave you with
    a blank line.

So, I save the first article, and want to save subsequest ones to 
the same file name by using this macro:

map show W (
	next-article		# having saved the first, go to next
	save-body '^?'		# save to the previous name, with 'delete'
	)

However, it is hanging on the save-body line with a macro error.  Any
ideas what's wrong?


--
     Bill Petro  {decwrl,hplabs,ucbvax}!sun!Eng!rock
"UNIX for the sake of the kingdom of heaven"  Matthew 19:12
Technical Details
Message-ID: <12089@exodus.Eng.Sun.COM>
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!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!samsung!olivea!sun-barr!newstop!exodus!warp.Eng.Sun.COM!rock

Show Full Headers
Complete Article Headers
Message-ID: <12089@exodus.Eng.Sun.COM>
Subject: save macro problem
Date: Tue, 23 Apr 1991 19:17:48 +0000
From: rock@warp.Eng.Sun.COM (Bill Petro)
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!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!samsung!olivea!sun-barr!newstop!exodus!warp.Eng.Sun.COM!rock
Newsgroups: news.software.nn
Sender: news@exodus.Eng.Sun.COM
Lines: 24