B. Defining Function and Control Keys : Key Mapping Overview (Windows Environment) : Termcap File (Windows)
 
Share this page                  
Termcap File (Windows)
The Ingres termcap file for the PC environment contains:
Statements that define the basic capabilities of your PC to the FRS. For more information, see the appendix "Writing Termcap Descriptions."
Escape sequences that associate keys on your keyboard with internal program function, arrow, and control keys
Ingres defines physical keys and key combinations in the termcap file by associating their escape sequences with a set of 40 internal program function keys (pf1 through pf40), the arrow keys (up, down, right, and left), and some ASCII control keys. For example, F1 on an IBM PC AT keyboard is assigned to the internal function key, pf1, the Shift+F1 key combination is assigned to internal function key, pf11, and the Insert key is assigned to the ASCII control key, controlE. The internal function and control keys are then mapped to Ingres operations in a mapping file. This makes it possible to map predefined Ingres operations to many more physical keys than the standard set of function keys on your PC keyboard.
ASCII control keys that have been mapped to operations but have not been defined in the termcap file can be invoked by pressing the appropriate Ctrl+key combination. However, the following control keys are reserved by the operating system for its own use and must not be mapped to any operations in any key mapping file:
Ctrl+C
Ctrl+P
Ctrl+S
The termcap file supports the enhanced keyboard function keys, F11, F12, Shift+F11, Shift+F12, Ctrl+F11, and Ctrl+F12. Depending on the key-mapping file you use, these keys can or cannot be assigned to Ingres functions.
The following table shows the key assignments for your PC in the termcap file:
Internal Ingres Key Name
PC Key
controlE
Insert
controlH
Backspace
controlY
Home
controlZ
End
Up arrow
Up arrow
Down arrow
Down arrow
Right arrow
Right arrow
Left arrow
Left arrow
pf1
F1
pf2
F2
pf3
F3
pf4
F4
pf5
F5
pf6
F6
pf7
F7
pf8
F8
pf9
F9
pf10
F10
pf11
Shift+F1
pf12
Shift+F2
pf13
Shift+F3
pf14
Shift+F4
pf15
Shift+F5
pf16
Shift+F6
pf17
Shift+F7
pf18
Shift+F8
pf19
Shift+F9
pf20
Shift+F10
pf21
Alt+F1
pf22
Alt+F2
pf23
Alt+F3
pf24
Alt+F4
pf25
Alt+F5
pf26
Alt+F6
pf27
Alt+F7
pf28
Alt+F8
pf29
Alt+F9
pf30
Alt+F10
pf31
F11 and Ctrl+F1
pf32
F12 and Ctrl+F2
pf33
Shift+F11 and Ctrl+F3
pf34
Shift+F12 and Ctrl+F4
pf35
Alt+F11, Ctrl+F5, and Ctrl+F11
pf36
Alt+F12, Ctrl+F6, and Ctrl+F12
pf37
PgUp
pf38
PgDn
pf39
Delete
pf40
Escape