HP-UX TN3270 Users Guide, March 1998

Table Of Contents
Chapter 3 91
Getting Started with 3270 Emulation
Keystroke Recording and Replay
If you selected a PF key for which no sequence was recorded or a non-PF
key, a warning beep sounds to indicate that the keystroke was rejected
(unless you turned off the “Enable emulator beep” option in the
Customize Miscellaneous Options dialog box), and the REPLAY PF KEY
message remains displayed. Either select a valid PF key, or press QUIT
(default keystroke Ctrl + T) to abandon replay.
Step 3. To stop the replay at any time before it has finished, press QUIT (default
keystroke Ctrl + T); the remaining keystrokes are not replayed, and you
return to normal 3270 emulation.
If you enter a keystroke that takes you out of the current 3270 session,
such as ACTIONS or FILE XFR (which move to the 3270 control
interface), NEXTSESS or SESS n (which move to another 3270 session),
or TEMPEXIT (which moves to a new HP-UX shell), the replay is
suspended while you are not in the 3270 session in which you started
replay. When you return to the session, the replay resumes.
Other keystrokes typed during a replay sequence, such as edit keys or
character keys, are queued up in the TN3270 emulation program's
type-ahead buffer and will take effect after the replay has finished.
Pausing within a Keystroke Sequence
Sometimes you may need to record a keystroke sequence that enables
you to enter a combination of fixed and variable keystrokes. For example,
you may want to record a host command in such a way that you can
supply different parameters to the same command each time you use it,
or you may want to force a recorded logon sequence to stop to enable you
to type the password (instead of recording the password).
You can use the PAUSE key (default keystroke Esc W) while recording a
keystroke sequence, to indicate where the sequence should stop for
additional input data. When you replay the same keystroke sequence,
replay stops at this point to enable you to type the new data before
continuing.
Use the following steps to include a pause in a recorded key sequence:
Step 1. While recording the sequence, press the PAUSE key (default keystroke
Esc W).
The message RECORD PAUSED replaces RECORD nn on the status line.
Any keystrokes that you type at this point are not recorded; however, the
keystrokes you have already recorded are retained.