🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #721

How to invoke Nn macro?

#721
From: Harry Henderson
Date: Sun, 15 Jul 1990 20:12
24 lines
1298 bytes
I'm having trouble getting macros to work in nn. I tried a little
one like this:

define 1
	# an example macro, invoked as number 1?
	?menu '=' # select all articles on UNIX by subject
end

#bind the macro to a key

map menu ^U 1 # gets error messages when init file is processed

It's the second part that doesnt' seem to work. How exactly is
a macro invoked -- by number, or only through being bound to a
key. If the latter, how is a macro bound to a key?

Any help would be appreciated.

-- 
   "Life, liberty, and the pursuit of happiness"
The opinions expressed are my own, but you're welcome to share them.
Harry Henderson (freelance technical editor/writer).
{hplabs,pacbell,ucbvax,apple}!well!hrh
Technical Details
Message-ID: <19049@well.sf.ca.us>
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!uunet!wuarchive!zaphod.mps.ohio-state.edu!usc!apple!well!hrh

Show Full Headers
Complete Article Headers
Message-ID: <19049@well.sf.ca.us>
Subject: How to invoke Nn macro?
Date: Sun, 15 Jul 1990 20:12:24 +0000
From: hrh@well.sf.ca.us (Harry Henderson)
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!uunet!wuarchive!zaphod.mps.ohio-state.edu!usc!apple!well!hrh
Newsgroups: news.software.nn
Keywords: nn macros
Distribution: news
Lines: 24
Posted: Sun Jul 15 21:12:24 1990