Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) Safe-mode: OFF (not secure) /usr/share/doc/kbd-1.15.5/ drwxr-xr-x |
Viewing file: Select action/file-type: 21. Some properties of the VT100 - application key mode
: Sometimes my cursor keys or keypad keys produce strange codes? When the terminal is in application cursor key mode the cursor keys
produce Esc O x and otherwise Esc [ x where x is one of A,B,C,D.
Certain programs put the terminal in application cursor key mode;
if you kill them with % echo -e '\033c'resets all properties of the current VC. Just changing the cursor application key mode is done by % echo -e '\033[?1h'(set) and % echo -e '\033[?1l'(clear). When the terminal is in application keypad key mode the keypad keys produce Esc O y and otherwise Esc [ z ~ for certain y and z. Setting application keypad key mode is done by % echo -e '\033='and % echo -e '\033>'clears it again.
Next Previous Contents |
:: Command execute :: | |
--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0048 ]-- |