ZOC Online Help Topic:

Keyboard, Character Translation, etc. → Redefining Single Keys

After you selected a key to be redefined in the keyboard redefinition window, a window will appear, which lets you define a user defined action that is performed, when you press that key together with the selected combination of key qualifiers (e.g. Alt+Ctrl+Z).

For details about the available types of actions and their specific function and parameters, see User Defined Actions.

 

Getting Key Mappings from other sources: If you found mappings key on the internet or in a program which you previously used, or if you extracted such mappings via the infocmp command from a Linux system, the following table shows some common ways in which these are expressed in other sources and how to convert these into a format for use ZOC' 'Send Text' action (see below for a few examples).:

Other Software ZOC Equivalents
^M
\r
CR
Return
^M
^(0D)
Esc
\E
\e
\033
\x1B
^[
^(1B)
^[[ ^[[
^(1B)[
CSI ^[[
^(1B)[
^(9B)
SS3 ^[O
^(1B)O
^(8F)

For example if you issue the infocmp command on a Linux system using the Xterm emulation, you will for example see an entry kf12=\e[24~, which defines the mapping for the F12 key (type man terminfo on a Unix shell for a list of all the cryptic key and sequence tags like kf12).

According the table above, the ZOC equivalent for \e[24~ will be ^[[24~ or ^(1B)[24~

 

Note: The full list of supported control codes by ZOC can be found here: Control Codes and Action Codes

 
← Back to Keyboard, Character Translation, etc.