🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Bill Petro Tue, 23 Apr 1991 19:17
save macro problem
#1574
Author: 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
Re: save macro problem
#1582
Author: Steven M. List
Date: Wed, 24 Apr 1991 18:43
15 lines
1481 bytes
rock@warp.Eng.Sun.COM (Bill Petro) writes:

>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):

I'm not sure why Bill is going through all of this.  Maybe someone else
can see something I can't.  Isn't it just as easy to save all the
articles with a single save command to a single file?  Especially if
they're properly sorted.
-- 
 +----------------------------------------------------------------------------+
 :                Steven List @ Transact Software, Inc. :^>~                  :
 :           Chairman, Unify User Group of Northern California                :
 :                         itkin@Transact.COM                                 :
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads