HP-UX TN3270 Users Guide, March 1998

Table Of Contents
88 Chapter 3
Getting Started with 3270 Emulation
Keystroke Recording and Replay
Keystroke Recording and Replay
The TN3270 emulation program provides facilities for recording
sequences of keystrokes used during 3270 emulation and for replaying
these sequences. These facilities enable you to save sequences of
keystrokes that you use regularly (for example, to start up a host
application and log on or to enter a complex host command) and to use
the recorded sequences instead of having to type all the keystrokes
again.
Recorded sequences are identified by one of the PF keys PF1 to PF24. To
identify a sequence to be recorded or replayed, press the RECORD or
REPLAY key followed by the appropriate PF key. You can have up to 24
recorded sequences at a time. The PF keys retain their standard
functions for all other uses; they are interpreted as identifiers for
keystroke sequences only when they follow the RECORD or REPLAY
keys.
Valid Keystrokes for Recorded Sequences
Any of the keys in the Program Function, Program Access, 3270 System,
Edit, and Characters key groups can be included in a recorded key
sequence. For more information about the key groups, see Appendix A,
“Default Keyboard Mappings,” or the Customize Key Definitions dialog
in the TN3270 emulation program's menu interface. It is the host 3270
keys that are recorded, not the local mappings of them on your terminal.
Your recorded key sequences are not affected if you remap your
keyboard.
Other keys, which perform local functions such as TEMPEXIT or
REDRAW rather than host functions, are not recorded. In particular, if
you switch to another 3270 session, to a TEMPEXIT shell, or to the 3270
control interface, recording is suspended and any subsequent keys are
not recorded. Recording resumes when you switch back to the session on
which you started it.
You can include a key that requests action from the host, such as ENTER
or PA1, but it must be the last key in the sequence, because these keys
transfer control to the host application. The TN3270 emulation program
cannot accept further input until the host has responded; any keys
following an action-request key in the sequence will be rejected.