PS TEXT EDIT Reference Manual

PROMPT
TEDIT and TACL Interface
E–8 058059 Tandem Computers Incorporated
For example, the second time you give the prompt command, you just
enter:
PROMPT
After you respond to the prompt, TEDIT sends the TACL code the
following information in line 5 of the protocol:
5 0 text on the key named Fx
5 1 answer from prompt #1
5 2 answer from prompt #2
.
.
.
5 n answer from prompt #n
Fx refers to any named function key within TEDIT. The text assigned to the
key is sent to the TACL code. Line 5 followed by a 0 is always sent to the
TACL code to inform the TACL process that a response to the prompt was
made.
The rest of the information in line 5 contains the answers to the prompts.
The answers appear in the order in which you responded to the prompts.
The number of prompts sent determines how many answer fields are sent
to the TACL code; the limit is 99 prompts. If an answer field is empty, then
TEDIT does not send it to the TACL code.
When you use PROMPT in this form:
PROMPT TEXT, text, rlen, rdef
the text, the rlen (reply length), and the rdef (reply default) are added to
the prompt. If there is room on the current line, these fields are added;
otherwise, it will begin on a new line.