When the keyboard is set to terminal mode the following sequences are returned
when non-character keys are pressed. These codes are based on the AIX values.
Note: The Esc[q values are returned with leading zeros for AIX compatibility.
Note that ANSI parsing states that Esc[1q and Esc[001q are equivalent.
Function Keys:
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
Shift-F1
Shift-F2
Shift-F3
Shift-F4
Shift-F5
Shift-F6
Shift-F7
Shift-F8
Shift-F9
Shift-F10
Shift-F11
Shift-F12
Ctrl-F1
Ctrl-F2
Ctrl-F3
Ctrl-F4
Ctrl-F5
Ctrl-F6
Ctrl-F7
Ctrl-F8
Ctrl-F9
Ctrl-F10
Ctrl-F11
Ctrl-F12
Alt-F1
Alt-F2
Alt-F3
Alt-F4
Alt-F5
Alt-F6
Alt-F7
Alt-F8
Alt-F9
Alt-F10
Alt-F11
Alt-F12
Action Keys:
Backtab
Del
Down
End
Home
Ins
Left
Pad5
PgDn
PgUp
Right
Up
Alternate Keys:
Alt-0
Alt-1
Alt-2
Alt-3
Alt-4
Alt-5
Alt-6
Alt-7
Alt-8
Alt-9
Alt-A
Alt-B
Alt-C
Alt-D
Alt-E
Alt-F
Alt-G
Alt-H
Alt-I
Alt-J
Alt-K
Alt-L
Alt-M
Alt-N
Alt-O
Alt-P
Alt-Q
Alt-R
Alt-S
Alt-T
Alt-U
Alt-V
Alt-W
Alt-X
Alt-Y
Alt-Z
Alt-quotesingle
Alt-comma
Alt-hyphen
Alt-period
Alt-slash
Alt-grave
Alt-semicolon
Alt-equals
Alt-bracketleft
Alt-backslash
Alt-bracketright
Alt-Backspace
Alt-Del
Alt-Down
Alt-End
Alt-Enter
Alt-Enter
Alt-ErEof
Alt-Esc
Alt-Home
Alt-Ins
Alt-Left
Alt-Padstar
Alt-Padplus
Alt-Padminus
Alt-Padslash
Alt-PgDn
Alt-PgUp
Alt-Right
Alt-Tab
Alt-Up
Control Keys:
Ctrl-0
Ctrl-1
Ctrl-2
Ctrl-3
Ctrl-4
Ctrl-5
Ctrl-6
Ctrl-7
Ctrl-8
Ctrl-9
Ctrl-hyphen
Ctrl-equals
Ctrl-Del
Ctrl-Down
Ctrl-End
Ctrl-Home
Ctrl-Ins
Ctrl-Left
Ctrl-Padstar
Ctrl-Padplus
Ctrl-Padminus
Ctrl-Padslash
Ctrl-Pad5
Ctrl-PgDn
Ctrl-PgUp
Ctrl-PrtSc
Ctrl-Right
Ctrl-Tab
Ctrl-Up
[Back: ANSI controls]
[Next: Generic IOCtl Commands]