Command | Description |
ke | Takes the terminal out of keypad transmit mode. |
ks | Puts the terminal in keypad transmit mode. |
kn | The number of function keys available; for example, this is specified as kn#18 on the VT100. You can have a maximum value of 40 for the number of function keys. |
ky | This terminal has cursor and function keys. This is a Boolean command. It must be present if you want to use function keys. Using it disables the ESC key and sets the first function key, PF1, to the Menu function. |
k0 through KD | Strings sent by function keys; see the next table for the specifics on each command. |
Command | Function Key Number | VT100 Example |
k0 | function key 1 | k0=\EOP |
k1 | function key 2 | k1=\EOQ |
k2 | function key 3 | k2=\EOR |
k3 | function key 4 | k3=\EOS |
k4 | function key 5 | k4=\EOw |
k5 | function key 6 | k5=\EOx |
k6 | function key 7 | k6=\EOy |
k7 | function key 8 | k7=\EOm |
k8 | function key 9 | k8=\EOt |
k9 | function key 10 | k9=\EOu |
kA | function key 11 | kA=\EOv |
kB | function key 12 | kB=\EOl |
kC | function key 13 | kC=\EOq |
kD | function key 14 | kD=\EOr |
kE | function key 15 | kE=\EOs |
kF | function key 16 | kF=\EOp |
kG | function key 17 | kG=\EOn |
kH | function key 18 | kH=\EOM |
kI | function key 19 | none |
kJ | function key 20 | none |
kK | function key 21 | none |
kL | function key 22 | none |
kM | function key 23 | none |
kN | function key 24 | none |
kO | function key 25 | none |
kP | function key 26 | none |
kQ | function key 27 | none |
kR | function key 28 | none |
kS | function key 29 | none |
kT | function key 30 | none |
kU | function key 31 | none |
kV | function key 32 | none |
kW | function key 33 | none |
kX | function key 34 | none |
kY | function key 35 | none |
kZ | function key 36 | none |
KA | function key 37 | none |
KB | function key 38 | none |
KC | function key 39 | none |
KD | function key 40 | none |