🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #393

Re: Trying to write a macro

#393
From: Chet Murthy
Date: Tue, 15 May 1990 17:02
28 lines
1445 bytes
storm@texas.dk (Kim F. Storm) writes:

>murthy@algron.cs.cornell.edu (Chet Murthy) writes:

>A "classic" problem with nn's macro language.  What you enter from
>the keyboard is A N space j, but what nn is reading is:
>	A command key: A
>	A command key: N
>	A command key: space
>	A *string*: j

>So the proper definition of the macro is:

>	map menu I (
>		advance-group 'N' ' ' "j"
>	)

>I general, even when a single keystroke *can* be used as the answer to a 
>prompt, you must specify it as a string in a macro if the answer to the
>prompt is a string.

Ah.  I see.  It worked as I needed it to work.  One problem, though.
I cannot rebind the "N" key to this function.  Is there a way around
this?

--chet--
	--chet--
	murthy@cs.cornell.edu
Technical Details
Message-ID: <41000@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!uunet!cs.utexas.edu!rice!uw-beaver!cornell!murthy
References: <40853@cornell.UUCP> <535@texas.dk>

Show Full Headers
Complete Article Headers
Message-ID: <41000@cornell.UUCP>
Subject: Re: Trying to write a macro
Date: Tue, 15 May 1990 17:02:22 +0000
From: murthy@algron.cs.cornell.edu (Chet Murthy)
References: <40853@cornell.UUCP> <535@texas.dk>
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!cs.utexas.edu!rice!uw-beaver!cornell!murthy
Newsgroups: news.software.nn
Sender: nobody@cornell.UUCP
Distribution: news
Organization: Cornell Univ. CS Dept. Ithaca NY
Lines: 28
Posted: Tue May 15 18:02:22 1990