Table 3-6 Cursor Control Key Codes
Cursor Key (Arrow) VT52 Mode* ANSI Mode and Cursor Key Mode Reset* ANSI Mode and Cursor Key Mode Set
Up ESC A ESC [ A ESC O A
Down ESC B ESC [ B ESC O B
Right ESC C ESC [ C ESC O C
Left ESC D ESC [ D ESC O D
* See the control sequences section of this chapter for a complete discussion of these modes.