telnet.cfg
上传用户:tigerk9
上传日期:2020-03-10
资源大小:237k
文件大小:96k
- ; Console Telnet 2.0 keys.cfg
- ;
- [comment]
- This is a completely rewritten configuration file for Console Telnet 2.0.
- Now you can define multiple keymaps, character maps, and combine them in your
- own ways.
- Possible definition:
- [COMMENT]
- ...
- [END COMMENT]
- This is for commenting a big part of text. can be nested.
- In text these also work:
- ; - First printable character in line, which is completely
- ignored.
- // - Like C++ comment
- [GLOBAL]
- ...
- [END GLOBAL]
- This part is required. For an explanation look at the body.
- [KEYMAP name]
- ...
- [END KEYMAP]
- 'name' - is a keymap name for reference. In 'name' you can use
- any char exept spaces, '+', ':' and ']'. '+' and ':' reserved for
- CONFIG section.
- Body is a sequence of key definitions:
- <vk_name> [keymodifier[+keymodifier[+...]]] <keytranslation>
- example:
- VK_F1 RIGHT_ALT+RIGHT_CTRL this_would_print
- vk_name is an ASCII string equivalent to an entry in [GLOBAL].
- Valid keymodifiers are:
- RIGHT_ALT
- LEFT_ALT
- RIGHT_CTRL
- LEFT_CTRL
- SHIFT
- ENHANCED
- NUMLOCK
- CAPSLOCK
- SCROLLLOCK
- APP_KEY
- APP2_KEY
- APP3_KEY
- APP4_KEY
- Undefined enhanced keys will use the non-enhanced definition.
- APP_KEY, APP2_KEY, and APP3_KEY are application-specific key modes.
- Other terminal emulations (which have not yet been implemented) may
- use other definitions for these keys, but for the standard ANSI
- emulation, these mean:
- APP_KEY - VT100 application cursor keys
- APP2_KEY - VT52 cursor keys
- APP3_KEY - VT102 alternate keypad mode
- APP4_KEY - VT100 newline mode set
- keytranslation is the string you want printed for the key.
- The notation ^[ can be used to denote an escape character.
- Any ASCII value can be represented by
- nnn where nnn is a 3 digit decimal ASCII value or
- xhh where hh is a 2 digit hexadecimal ASCII value.
- Leading zeros may not be omitted.
- A value of