🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #358

Trying to write a macro

#358
From: Chet Murthy
Date: Thu, 10 May 1990 22:24
38 lines
1735 bytes
I'm trying to write a macro that will do what the command sequence

'A' 'N' ' ' 'j'

will do.

To quote the manual,

N       {next-group}
     When used within an A or B command, it skips forward to the next group in
     the sequence with unread articles or which has previously been visited.

So the command 'A' 'N' will skip forward to the next group in the
sequence with unread articles.  Then, by hitting ' ', I select the
group proffered, and by hitting 'j' I "jump" to that group, which
means that when I'm finished with that group, I don't return to where
I'm at currently, but just go on to the next group in the presentation
sequence.

Now, my problem is that I can't define a macro to do all this.

I've tried lots of combinations, and the one that comes closest is:

define 1
advance-group 'N' ' ' 'j'
end
map menu I macro 1

with macro-debug set to true, this macro gets all the way thru what
it's supposed to, but at then end, it just dies.

Anybody got any ideas?

--chet--

	--chet--
	murthy@cs.cornell.edu
Technical Details
Message-ID: <40853@cornell.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.nn.mbox.zip!gmdzi!unido!mcsun!sunic!uupsi!rpi!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!rochester!cornell!murthy

Show Full Headers
Complete Article Headers
Message-ID: <40853@cornell.UUCP>
Subject: Trying to write a macro
Date: Thu, 10 May 1990 22:24:03 +0000
From: murthy@algron.cs.cornell.edu (Chet Murthy)
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!mcsun!sunic!uupsi!rpi!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!rochester!cornell!murthy
Newsgroups: news.software.nn
Sender: nobody@cornell.UUCP
Distribution: news
Organization: Cornell Univ. CS Dept. Ithaca NY
Lines: 38
Posted: Thu May 10 23:24:03 1990