PS TEXT EDIT Reference Manual
PARAM TACLNAME
TEDIT and TACL Interface
E–2 058059 Tandem Computers Incorporated
Starts a TEDIT NOWAITed with a STATUS variable
Loops, handling the #SERVER’s variables, until the STATUS variable
indicates that TEDIT has terminated.
The code (a macro or routine) then cleans up its variables and exits.
Commands sent from TEDIT to TACL are #EXTRACT(V)ed from the
#SERVER’s OUT variable. Commands sent from TACL to TEDIT are
#APPEND(V)ed to the #SERVER’s IN variable. For each command sent to
TACL, TEDIT waits. The TACL code can issue one or more TACL to TEDIT
commands. The TACL code uses #EOF in the #SERVER’s IN variable to tell
TEDIT to stop waiting and to process all the TACL to TEDIT commands.
Unless otherwise specified, particularly for TEDIT to TACL commands, the
TACL code must not write to the terminal that TEDIT is using. The TACL
code must be written so it can detect and handle all errors itself. It must also
detect and handle all errors in the TEDIT to TACL commands. The
detection and handling of errors is usually done by using TACL’s exception
handling facility. For information about this facility, refer to the TACL
Programmer’s Guide.
PARAM TACLNAME The user-written TACL code sends a PARAM TACLNAME to TEDIT. This
TACLNAME contains the name of the TACL that is starting TEDIT. You
enter in your TACL code the following command:
PARAM TACLNAME { "$name.#subname,ALL" }
{ $name.#subname }
$name.subname is the name of the TACL that starts TEDIT.
ALL tells TEDIT to send any unrecognized commands to TACL for
interpretation.
If ALL is omitted, then unrecognized commands are handled by TEDIT,
which displays a message on the status line telling you that it does not
recognize the command.