


The following table lists all of the keys that can be referenced by a KEYSTROKE entry. The table lists the key's full name, its two-character code (called the "key code"), and the corresponding key used on the MS-DOS and the Windows keyboards.
| Key
| Key Code
(terminal db file) | MS-DOS
Keyboard | Windows
Keyboard |
| Host's Backspace
| ZB
| BkSp
| BkSp
|
| Host's Line-Kill
| ZK
| -
| -
|
| Cntrl-A - Cntrl-Z
| ^A - ^Z
| Ctl A-Z
| Ctl A-Z
|
| Escape
| ^[
| Esc
| Esc
|
| Control-\
| ^\
| Ctl-\
| Ctl-\
|
| Control-]
| ^]
| Ctl-]
| Ctl-]
|
| Control-^
| ^^
| Ctl-^
| Ctl-^
|
| Control-_
| ^_
| Ctl-_
| Ctl-_
|
| DEL
| 127
| Ctl-BkSp
| Ctl-BkSp
|
| F1 - F10
| k1 - k0
| F1 - F10
| F1 - F10
|
| F11 - F20
| K1 - K0
| Shft F1 - F10
| Shft F1 - F10
|
| Down Arrow
| kd
| Down
| Down
|
| Home
| kh
| Home
| Home
|
| Left Arrow
| kl
| Left
| Left
|
| Right Arrow
| kr
| Right
| Right
|
| Up Arrow
| ku
| Up
| Up
|
| Insert Line
| kA
| Alt-I
| Alt-I
Ctl-Ins |
| Tab Left
| kB
| Shft-Tab
| Shft-Tab
|
| Clear-to-End
| kE
| Ctl-End
| Ctl-End
|
| Delete Line
| kL
| Alt-K
| Alt-K
Ctl-Del |
| Page Down
| kN
| PgDn
| PgDn
|
| Page Up
| kP
| PgUp
| PgUp
|
| Cancel
| Kc
| Alt-X
| Alt-X
|
| Next Paragraph
| Kd
| Ctl-Down
| Ctl-Down
|
| Word Left
| Kl
| Ctl-Left
| Ctl-Left
|
| Word Right
| Kr
| Ctl-Right
| Ctl-Right
|
| Previous Paragraph
| Ku
| Ctl-Up
| Ctl-Up
|
| Exit
| Kx
| Alt-E
| Alt-E
|
| Attention
| KA
| Alt-A
| Alt-A
|
| Bottom
| KB
| Ctl-PgDn
| Ctl-PgDn
|
| Clear
| KC
| Ctl-Home
| Ctl-Home
|
| Command (Do)
| KD
| Alt-D
| Alt-D
|
| End
| KE
| End
| End
|
| Find
| KF
| Alt-F
| Alt-F
|
| Insert Character
| KI
| Ins
| Ins
|
| Page Left
| KL
| Alt-L
| Alt-L
|
| Mark (Select)
| KM
| Alt-M
| Alt-M
|
| Print
| KP
| Alt-P
| Alt-P
|
| Page Right
| KR
| Alt-R
| Alt-R
|
| Send
| KS
| Alt-S
| Alt-S
|
| Top
| KT
| Ctl-PgUp
| Ctl-PgUp
|
| Save
| KV
| Alt-V
| Alt-V
|
| Delete Character
| KX
| Del
| Del
|
| Help
| K?
| Alt-H
| Alt-H
|
| User-defined
key 1 - 10 (DOS) key 1-6 (Windows) |
U1 - U0 (DOS) U1-U6 (Windows) |
Alt F1 - F10 |
F11-F12 Shft-F11-F12 Ctl-F11-F12 |
| User-defined
key 11-20 (DOS and Windows) |
A1 - A0 (DOS and Windows) |
Alt-1 - Alt-0 |
Ctl-1 - Ctl-0 |
The following keys may be used only on MS-DOS systems:
| Key
| Key Code
(terminal db file) | MS-DOS
Keyboards |
| Control F1 - F10
| C1 - C0
| Ctl F1 - F10
|
| Alt-Hyphen
| A-
| Alt-
|
| Alt-Equal
| A=
| Alt-=
|
| Alt-B
| AB
| Alt-B
|
| Alt-C
| AC
| Alt-C
|
| Alt-G
| AG
| Alt-G
|
| Alt-J
| AJ
| Alt-J
|
| Alt-N
| AN
| Alt-N
|
| Alt-O
| AO
| Alt-O
|
| Alt-Q
| AQ
| Alt-Q
|
| Alt-T
| AT
| Alt-T
|
| Alt-U
| AU
| Alt-U
|
| Alt-W
| AW
| Alt-W
|
| Alt-Y
| AY
| Alt-Y
|
| Alt-Z
| AZ
| Alt-Z |
The table lists the mouse action, the corresponding key code, and the default exception value returned.
| Action
| Key Code
| Exception Value
|
| Mouse moved
| Mv
| 80
|
| Left button pushed
| Ml
| 81
|
| Left button released
| ML
| 82
|
| Left button double-clicked
| M1
| 83
|
| Middle button pushed
| Mm
| 84
|
| Middle button released
| MM
| 85
|
| Middle button double-clicked
| M2
| 86
|
| Right button pushed
| Mr
| 87
|
| Right button released
| MR
| 88
|
| Right button double-clicked
| M3
| 89 |