Contents / Chapter 7 / Appendix B

APPENDIX A TERMINAL FUNCTIONS

The keyboard scan-codes are assigned to the terminal keyboard functions by the configuration file (see _WTn52.cfg, Chapter 5 section [CONTROL_KEYS]).

BackSpace Back Space.
Valid in 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.
Else, moves the cursor to the next field.
Scan-code assignment.
CursorLeft Cursor Left.
Moves the cursor one column left.
If already at beginning of field, moves the cursor to the previous field.
Scan-code assignment.
CursorRight Cursor Right.
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.
Else, moves the cursor to the previous field.
Scan-code assignment.
Data Data entry
Valid in an unprotected field.
When a data character is keyed, the character is checked to be valid for the field type and to fit in it (following replace / insert mode).
If the field is full, performs the pad and adjust functions following the field type.
If the field has the "FER" (Field Exit Required) attribute set, waits for the Field Exit key or other editing keys (Back Space, Delete, Cursor Left, etc.).
If the field has the Auto-Enter attribute set, performs an Enter AID function.
Else, moves the cursor to the next non bypass field.
Delete Delete.
Valid in an unprotected field.
Deletes one character under the cursor.
Scrolls the rest of the filed one position to the right.
Puts a null in the rightmost position.
Scan-code assignment.
Dup Duplicate.
Valid in an unprotected field.
Valid if field allows Dup or Mark characters.
Fills the remaining of the 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.
Erases (null) all the characters in the field at the right hand side of the cursor.
Scan-code assignment.
EraseInput Erase Input.
Clears (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 non-error state.
Resets the insert toggle (puts in replace mode).
Scan-code assignment.
FieldExit Field Exit.
Valid in 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 Auto-Enter attribute set, 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 in an unprotected field.
Valid if field allows Dup or Mark characters.
Fills the remaining of the field with "Mark" characters.
Scan-code assignment.
FieldMinus Field Minus.
Valid in 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 acts as FieldMinus in numeric and signed numeric fields.
Scan-code assignment.
FieldPlus Field Plus.
Valid in 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 acts 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 inputting data, moves the right hand side characters of the cursor to the right (if possible) and inserts the keyed character. Moves the cursor one character to the right.
Replace. When inputting data, puts the keyed character at cursor position (replacing the previous character). Moves the cursor one character to the right.
Scan-code assignment.
 
Contents / Chapter 7 / Appendix B