Contents / CHAPTER 6 / APPENDIX B /
The keyboard scan codes are assigned to the terminal keyboard functions by
the configuration file (see _WTn52.cfg, CHAPTER
V section [CONTROL_KEYS]).
You can see the scan code for each key in the terminal
by "[F4] See Options / [F1] FN KEYS / [F1] SCAN CODES.
See also APPENDIX F, Control Keys assignment,
for default scan codes assignment.
| BackSpace | Back Space. Valid into an unprotected field. If at first position of the field, moves the cursor to the last position of the previous field. Else, moves cursor one column left. Scan-code assignment. |
| BackTab | Backward tabulation. Moves the cursor to the start of the field. If already at start position, moves the cursor to the previous filed. Scan-code assignment. |
| CursorDown | Cursor Down. In Free Cursor mode, moves the cursor one line Down. In no Free Cursor mode, moves the cursor to the next field. Scan-code assignment. |
| CursorLeft | Cursor Left. In Free Cursor mode, moves the cursor one column left. In no Free Cursor mode, moves the cursor one column left, if already at begin of field, moves the cursor to the previous field. Scan-code assignment. |
| CursorRight | Cursor Right. In Free Cursor mode, moves the cursor one column right. In no Free Cursor mode, moves the cursor one column right, if already at end of field, moves the cursor cursor to the next field. Scan-code assignment. |
| CursorSelect | 3270, Not implemented. |
| CursorUp | Cursor Up. In Free Cursor mode, moves the cursor one line Up. In no Free Cursor mode, moves the cursor to the previous field. Scan-code assignment. |
| Data | Data entry Valid into an unprotected field. When a data character is keyed, the character is checked if is valid for the field type, and if fits in the field (following replace / insert mode). If the field is filled, performs the pad and adjust functions following the field type. If the field has set the "FER" attribute (Field Exit Required), waits for the Field Exit key, or other editing keys (Back Space, Delete, Cursor Left, etc.). If the field has the set the Auto-Enter attrubute, performs an Enter AID function. Else, moves the cursor to the next non bypass field. |
| Delete | Delete. Valid into an unprotected field. Deletes one character under the cursor. Scroll one position the right rest of the filed. Puts a null in the rightmost position. Scan-code assignment. |
| Dup | Duplicate. Valid into an unprotected field. Valid if field allows Dup or Mark characters. Fills the remain of field with "dup" characters. Scan-code assignment. |
| End | End of data Moves the cursor to the last data position in the field. Scan-code assignment. |
| EraseEof | Erase End Of Field Erase (null) all the characters in the field at right of cursor position. Scan-code assignment. |
| EraseInput | Erase Input. Clear (sets to null) all modified fields. Set the cursor to the first non bypass field. Scan-code assignment. |
| ErrorReset | Error Reset. Resets the" X Input Inhibit" (X II) indicator. Puts the terminal in not-error state. Reset the insert toggle (puts in replace mode). Scan-code assignment. |
| FieldExit | Field Exit. Valid into an unprotected field. Checks the Mandatory fill and mandatory enter conditions. Performs the pad and adjust functions following the field type. If the field has the set the Auto-Enter attribute, performs an Enter AID function. Else, moves the cursor to the next non bypass field. Scan-code assignment. |
| FieldMark | Field Mark 3270, Same as Dup. Valid into an unprotected field. Valid if field allows Dup or Mark characters. Fills the remain of field with "Mark" characters. Scan-code assignment. |
| FieldMinus | Field Minus. Valid into an unprotected field. In numeric fields, puts a negative sign (the last numeric char carries the sign), and performs a field exit function. In signed numeric fields, puts a negative sign ("-" dash), and performs a FieldExit function. Not allowed In other fields. The "-" key act as FieldMinus in numeric and signed numeric fields. Scan-code assignment. |
| FieldPlus | Field Plus. Valid into an unprotected field. In signed numeric fields, puts a positive sign, and performs a field exit function. In other fields, performs a field exit function. The "+" key act as FieldPlus in numeric and signed numeric fields. Scan-code assignment. |
| ForwTab | Forward tabulation. Moves the cursor to the next field. Scan-code assignment. |
| Home | Home. Moves the cursor to the home position (normally the first field). If already in home position, sends an AID "record-backspace" code. Scan-code assignment. |
| Insert | Toggles the insert/replace mode. Insert, when data input, moves the cursor right characters of the field (if possible) and insert the keyed character. Moves the cursor one character to the right. Replace, when data input, puts the keyed character at cursor position (replacing the previous character). Moves the cursor one character to the right. Scan-code assignment. |