🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Harry Henderson Sun, 15 Jul 1990 20:12
How to invoke Nn macro?
#721
Author: 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
Re: How to invoke Nn macro?
#728
Author: Jaap Vermeulen
Date: Mon, 16 Jul 1990 06:39
17 lines
1189 bytes
hrh@well.sf.ca.us (Harry Henderson) writes:

[Stuff deleted...]

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

[Stuff deleted...]

What about:
map menu ^U macro 1	# works for me

	-Jaap-
-- 
Jaap Vermeulen					+--------------------------+
						| Sequent Computer Systems |
	Internet : jaap@sqnt.com		| Beaverton, Oregon	   |
	Uucp	 : ...uunet!sequent!jaap	+--------------------------+
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