You are here: Development Standards > OSAS Standards > Environment > Text Function Keys

# Text Function Keys

Application programs use the function and edit keys that the setup program defines when you invoke OSAS. The keys are defined using the ‘FL’ and ‘EL’ mnemonics. The keys available are F1–F10, the four cursor control keys, Insert, Delete, PgUp, PgDn, Home, and End. If a termcap file is used, the system assumes that the settings in the termcap file are correct. If the user's keyboard has no function keys and/or edit keys, you can use the defaults control and escape sequences. Depending on the terminal, the user may be able to remap the keys in Resource Manager.

Function key usage in GUI mode is determined by the shortcuts assigned to commands when the pull-down menus are defined. Function keys in GUI mode have no default keystroke equivalents.

Following is the default standard:

Key | Default | Description
F1 | Esc H | Help Functions
F2 | Esc W | Inquiry Window
F3 | Esc D | Delete Record
F4 | Esc O | Other Commands (callable programs and routines, etc.)
F5 | Esc X | Abandon Data (was Restart)
F6 | Esc F | File Maintenance (add/change data in another function)
F7 | Esc M | Exit (was Menu)
F8 | Esc L | List/Print screen
F9 | Esc U | Undo (Edit command)
F10 | Ctrl Z | Delete to End of Line (Edit command)
Shift+F1 | Esc A | Online Documentation
Shift+F2 | Esc I | Information Windows
Shift+F3 | Esc B | Used in some programs for program-specific tasks
Shift+F4 | Esc C | Customer/Vendor part no. lookup (in Item ID fields)
Shift+F5 | Esc G | Item detail lookup (in Item ID fields)
Shift+F6 | Esc K | Lot lookup (in Item ID fields)
Shift+F7 | Esc N | Serial number item lookup (in Item ID fields)
Shift+F8 | Esc Q | Item Description lookup (in Item ID fields)
Shift+F9 | Esc R | Copy field contents
Shift+F10 | Esc T | Paste field contents
Down | Ctrl J | Down a field, line, or menu selection
Left | Ctrl L | Left in a field
Right | Ctrl R | Right in a field
Delete | Ctrl X | Delete the character at the cursor
Insert | Ctrl T | Toggle Insert ON/OFF (or lookup in an inquiry window)
Home | Ctrl B | Beginning of field, filelist, page group, or menu page
End | Ctrl E | End of field, filelist, page group, or menu page
PgUp | Esc S | Start Over or Up one page of information
PgDn | Esc P | Proceed or Down one page of information

The user can assign a label or descriptor for each key—the system stores the function key labels in the global variable "FLABEL" and the edit key labels in the global variable "ELABEL". The user can select which keys perform which functions. This should have no effect on the functioning of a program. The appropriate key sequences will be passed on to the application program.

The Tab (Ctrl+I) key acts as the Jump command in text mode (Ctrl+J performs the Jump command in GUI mode), the Backspace (Ctrl+H) key erases the previous character, and the Enter (Ctrl+M) key selects or ends an entry. These keys are not user-definable.