All emulations within ZOC have default key mappings built in, where they automatically map emulation specific keys (e.g. the VT220 'Next' key) to an equivalent (or suitable) PC or Mac Key. See Keyboard Default Mappings.
All keys of these emulations can also be used in a different context, e.g., for user defined key mappings in Options→Keyboard Profiles, for the REXX function ZocSendEmulationKey, or for Options→Session Profile→User Buttons. This is done via predefined key designations (names) that are available while the corresponding emulation is activated.
|
Example: when the VT220 emulation is active, you can remap Ctrl+I as the Insert key by going to Options→Keyboard Profiles. Then select Ctrl+I, click the Mapping Assistant button, select Send a single emulation specific key and enter the text Insert in the Send key field.
You can also invoke these keys through Options→Session Profile→User Buttons and the REXX command ZocSendEmulationKey, e.g. in a REXX scripts you can use the command Call ZocSendEmulationKey "Insert" command to simulate the Insert key during script processing.
If you have trouble with the built in key codes or names, you can alternately create a keyboard profile (Options menu) and map specific byte sequences to the keys, e.g. if the predefined keys from the table below do not suit you, you could remap F-keys for a VT220 or Xterm application with values from the following internet page: Common F-Key Mappings.
← Back to APPENDIX