★ wanayoo — archive 1999 http://icewalkers.com/doclib/howtos/Keyboard-and-Console-HOWTO-21.htmlNouvelle recherche | Portail wanayoo
Name:   Pass:    
Subscribe to IceWalkers Free NewsLetter




















IceWalk.com Partner Sites Program
see all



Year 2000 most disappointing thing was:

Y2K Bug
NASDAQ
Delayed Linux Kernel 2.4
Butterfly ballots
Pentium IV
Nothing. That was a great year!

  View results
  Previous polls
 
 Search Howtos: Match: Sort by:



Linux HOWTOs  |  HOWTOs Index



The Linux keyboard and console HOWTO: Some properties of the VT100 - application key mode Next Previous Contents

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 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.


Next Previous Contents


HOWTOs Index

 
  
 
 
 


Linux Kernel 2.4.2
ALSA driver 0.9.0beta1
Linux Kernel 2.2 pre-patch 2.2.19-14
mnoGoSearch 3.1.11
sawfish 0.37.3



Linuxconf 1.24r6
MiniGUI 1.0.00Beta5
ASPSeek 1.0.3
The Floppy Commander 20010221
tin 1.5.8
grepmail 4.46
FilterProxy 0.28
Gtk-Perl 0.7005
MysqlTool 0.92
LilyPond 1.3.130
CUPS (Common UNIX Printing System) 1.1.6-3
ImageMagick 5.3.0
tomsrtbt 1.7.212
eXtrans 1.1.1
txt2pdf 4.4
UPX 1.0.7
Glade-- 0.5.11e
Dante 1.1.7
Seahorse 0.5.0
XBoard 4.2.3