How send key works in Send Text command
- Última actualización2020/10/06
How send key works in Send Text command
Learn how keys work in the Send Text command in the Terminal Emulator. Review changes in the behavior of some keys in advanced technology and legacy technology.
Note: Behavior of the keys that are marked with the asterisk (*) sign in the following
tables is defined by the terminal host. The behavior might vary on different
terminals.
The following table shows the behavior of the keys in the terminal types TN3270 and TN5250:
Keys | Behavior |
---|---|
KEY-ATTN * | Attention key: Logs off for an in-house terminal environment. |
KEY_BACKSPACE | Same behavior as the Backspace key on the keyboard. |
KEY_BACKTAB | If the cursor is on the first position of a field, it moves to the previous field. Otherwise, it moves to the start of the current field. |
KEY_CLEAR | Clears the entire text on the terminal screen. |
KEY_ERASEINPUT | Deletes all the text in the field. |
KEY_NEXTFIELD | Moves the cursor to the next field on the terminal screen. |
KEY_ENTER | Sends Enter key to the terminal host. |
KEY_HOME | Moves the cursor to the first editable field on the screen. |
KEY_RESET | The reset key only clears the Keyboard lock, such as releasing the terminal if the terminal screen is not working. The screen text and input field values remain the same. |
KEY_LEFT | Moves the cursor to the left by one position. |
KEY_RIGHT | Moves the cursor to the right by one position. |
KEY_UP | Moves the cursor up by one position. |
KEY_DOWN | Moves the cursor down by one position. |
KEY_PGLEFT | Nothing happens. |
KEY_PGRIGHT | Nothing happens. |
KEY_PGUP | Page Up key |
KEY_PGDOWN | Page Down key |
KEY_PA1 * | Attention 1 key: Logs off for an in-house terminal environment. |
KEY_PA2 * | Attention 2 key : It resets all input field values to default values for the in-house terminal environment. |
KEY_PA3 * | Attention 3 key. |
KEY_SYSREQ * | System Request key. |
KEY_TABFORWARD | Performs a Tab key action on the terminal screen to move the cursor to the next field. |
KEY_PF1 * | Same behavior as F1 key on the keyboard. |
KEY_PF2 * | Same behavior as F2 key on the keyboard. |
KEY_PF3 * | Same behavior as F3 key on the keyboard. |
KEY_PF4 * | Same behavior as F4 key on the keyboard. |
KEY_PF5 * | Same behavior as F5 key on the keyboard. |
KEY_PF6 * | Same behavior as F6 key on the keyboard. |
KEY_PF7 * | Same behavior as F7 key on the keyboard. |
KEY_PF8 * | Same behavior as F8 key on the keyboard. |
KEY_PF9 * | Same behavior as F9 key on the keyboard. |
KEY_PF10 * | Same behavior as F10 key on the keyboard. |
KEY_PF11 * | Same behavior as F11 key on the keyboard. |
KEY_PF12 * | Same behavior as F12 key on the keyboard |
KEY_PF13 * | Same behavior as Shift + F1 keys on the keyboard. |
KEY_PF14 * | Same behavior as Shift + F2 keys on the keyboard. |
KEY_PF15 * | Same behavior as Shift + F3 keys on the keyboard. |
KEY_PF16 * | Same behavior as Shift + F4 keys on the keyboard. |
KEY_PF17 * | Same behavior as Shift + F5 keys on the keyboard. |
KEY_PF18 * | Same behavior as Shift + F6 keys on the keyboard. |
KEY_PF19 * | Same behavior as Shift + F7 keys on the keyboard. |
KEY_PF20 * | Same behavior as Shift + F8 keys on the keyboard. |
KEY_PF21 * | Same behavior as Shift + F9 keys on the keyboard. |
KEY_PF22 * | Same behavior as Shift + F10 keys on the keyboard. |
KEY_PF23 * | Same behavior as Shift + F11 keys on the keyboard. |
KEY_PF24 * | Same behavior as Shift + F12 keys on the keyboard. |
The following table compares the behavior of advanced technology with that of legacy
technology in TN3270:
Keys | Legacy technology | Advanced technology |
---|---|---|
KEY_DELETE | Deletes all the text in the field. | Deletes a single character at the cursor position. This behavior matches that of manually pressing the Delete key on the keyboard or sending the Insert Keystrokes - Delete key. |
KEY_PGUP | Nothing happens. | Updates the screen text with contents of the previous page on screens with multi-page text. |
KEY_PGDOWN | Nothing happens. | Updates the screen text with contents of the next page on screens with multi-page text. |
KEY_SYSREQ * | Logs off the user session. | Resets the input fields data on the screen. |
The following table compares the behavior of advanced technology with that of legacy
technology in TN5250:
Keys | Legacy technology | Advanced technology |
---|---|---|
KEY_DELETE | Deletes all the text in the field. | Deletes a single character at the cursor position. This behavior matches that of manually pressing the Delete key on the keyboard or sending the Insert Keystrokes - Delete key. |
KEY_SYSREQ * | System Request screen is displayed. | Moves the cursor to the beginning of the last row. |