PNG IHDR ; IDATxܻn0K )(pA7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5 bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô!x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%tMז -lG6mrz2s%9s@-k9=)kB5\+͂ZsٲRn~GRCwIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL /F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ R IENDB`
: 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 kill -9
, or if they crash, then the mode will
not be reset.
% 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.