c - ANSI Key Sequences -


  • platform: linux 3.2.0 x86 (debian wheezy)
  • compiler: gcc 4.7.2 (debian 4.7.2-5)

i writing function reads ansi escape sequences generated keys , returns macro corresponding key entered. have tested function , reads arrow keys properly. function can read arrow keys , want add control/alternate combinations, function keys, home, insert, etc. cannot seem find list of ansi escape sequences keys. in fact found copy of ecma-48 , confused when there no mention of escape sequences keys. know can list of ansi escape sequences correspond function keys, arrow keys, etc.?

i'm pretty sure arrow keys brought somewhere in ecma048, frankly found document pretty impenetrable. so, instead, i'll direct ctlseqs.txt document xterm source code:

http://invisible-island.net/xterm/ctlseqs/ctlseqs.txt

this document focuses more on control sequences used control output, describe input control sequences in detail well. search heading alt , meta keys start of relevant section.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -