Intel AEDIT-86 Life Jacket User Manual


 
Macro Commands AEDIT -86 User's
Guide
5-2
Press C; AEDIT-86
prompts-
----
<HOME)
to
re-edit
Macro
name:
The name
of
the last macro specified for
MACRO
Create,
MACRO
Save
or
EXECUTE
(if any)
is
displayed to the right
of
the colon. Type
in
the macro name
followed by <
ESC)
or
<
RETURN).
A macro name can consists
of
either a single character or a character string
of
up to
60
characters.
The
macro name may contain any characters, e.g.,
+,
6,
a.
After you type the macro name, the word
"Macro"
is
displayed
on
the message line
and remains there until the macro definition
is
complete. Then AEDIT-86 returns to
main command level, and the entire set
of
AEDIT-86 commands
is
now
available for
MACRO
Create.
All subsequent keystrokes are executed
in
the
regular manner, but they are also
""remembered" or htrapped"
by
the editor. These keystrokes constitute the macro
definition, including special keys like <
ESC)
and <
HEX)
, which behave as usual
for the current activation; however, they are also inserted into the macro definition.
The macro is terminated by typing one
of
the following characters:
<CTRL-C)
M (main level only)
Terminates
MACRO
mode without defining the macro;
the macro
is
deleted.
Successful termination
of
macro definition.
By
defining a single-character macro,
you
are able to configure keys (see the
EXECUTE
command later
in
this chapter).
Following
is
an
example
that
interactively creates the macro dot
(.)
that finds the
next occurrence of the last target string:
II<ACRO)
Ireate)
Macro
name:
"
.....
i·~~~ib·
Mi'iU;'
Following
is
an example that interactively creates a macro to configure <
CTRL-L
)
to
mean
"jump
to start
of
line."
Error.
"no
more room for macros"
is
displayed
on
the message line, if macros exceed
the amount of memory allocated to macros. In effect, the definition
is
terminated,
and the current incomplete macro definition
is
deleted.
Get
The
Get subcommand gets a macro file. This means
that-
The
macro definitions
in
the file are available for execution.
The
configuration commands
in
the file are executed.
The
SET
commands
in
the file are executed.
The
macro comments in the file are ignored.