Appendices 357
Table D.14 lists the decoding for VT320 terminal emulation.
Table D.14: VT320 Decoding
VT320 Keyboard Function VT320 Keyboard Byte Sequence
Index Esc D
New Line Esc E
Reverse Index Esc M
Escape O Esc O
Save cursor and attributes Esc 7
Restore cursor and attributes Esc 8
Up Arrow Esc [ A
Down Arrow Esc [ B
Right Arrow Esc [ C
Left Arrow Esc [ D
Set cursor to home position Esc [ H
Set cursor to home position Esc [ f
Character Attributes Esc [ m
Erase from cursor to end of line Esc [ K
Erase from cursor to end of screen Esc [ J
Programmable LEDs Esc [ q
What are You? Esc [ c
Set Mode Esc [ ?
Delete 1 Character Esc [ P
Insert 1 Line Esc [ L
Delete 1 Line Esc [ M
Up Arrow Esc O A
Down Arrow Esc O B
Right Arrow Esc O C
Left Arrow Esc O D
Fill Screen with Es Esc # 8