Keystroke Mnemonics—VT SendKey Functions

HostExplorer

Keystroke Mnemonics—VT SendKey Functions

VT

You can use the following Special Key to create key strings using the ESC character.

These mnemonics are used by EHLLAPI/WinHLLAPI SendKey (3), DDE Poke Keystroke item, and Host Keys method to press special 3270 functions keys. All special keys are available by using the command delimiter @ (the ESC character). For example, you can send an Enter command to the host by sending the @E string and you can send a normal @ symbol by sending two @@ symbols.

The EHLLAPI and WinHLLAPI Interfaces provide increased support for certain sequences using the SendKey (3) Function. The following sequences are now supported when the session (PS) is in VT Mode. Certain keys, such as F16 through F20, are only valid in VT220 mode or higher.

Mnemonic

Description

HexByte

Pseudo Code

@B

Backtab

1B 5B 5A

(Esc [ Z)

@C

Clear Display

@D

Delete

7F

@E

Enter

1B 4F 4D

(Esc O M)

@L

Cursor Left

1B 5B 44 or 1B 4F 44

(Esc [ D or Esc O A)

@N

Newline

0A

@R

Return

@T

Tab

09

(HT)

@U

Cursor Up

1B 5B 41 or 1B 4F 41

(Esc [ A or Esc O A)

@V

Cursor Down

1B 5B 42 or 1B 4F 42

(Esc [ B or Esc O B)

@Z

Cursor Right

1B 5B 43 or 1B 4F 43

(Esc [ C or Esc O C)

@1

PF1

1B 4F 50

(Esc 0 P)

@2

PF2

1B 4F 51

(Esc 0 Q)

@3

PF3

1B 4F 52

(Esc 0 R)

@4

PF4

1B 4F 53

(Esc 0 S)

@6

F6

1B 5B 31 37 7E

(Esc [ 1 7 ~ )

@7

F7

1B 5B 31 38 7E

(Esc [ 1 8 ~ )

@8

F8

1B 5B 31 39 7E

(Esc [ 1 9 ~ )

@9

F9

1B 5B 31 30 7E

(Esc [ 2 0 ~ )

@a

F10

1B 5B 31 31 7E

(Esc [ 2 1 ~ )

@b

F11

1B 5B 31 33 7E

(Esc [ 2 3 ~ )

@c

F12

1B 5B 32 34 7E

(Esc [ 2 4 ~ )

@d

F13

1B 5B 32 35 7E

(Esc [ 2 5 ~ )

@e

F14

1B 5B 32 36 7E

(Esc [ 2 6 ~ )

@f

F15

1B 5B 32 38 7E

(Esc [ 2 8 ~ )

@g

F16

1B 5B 32 39 7E

(Esc [ 2 9 ~ )

@h

F17

1B 5B 32 31 7E

(Esc [ 3 1 ~ )

@i

F18

1B 5B 32 32 7E

(Esc [ 3 2 ~ )

@j

F19

1B 5B 32 33 7E

(Esc [ 3 3 ~ )

@k

F20

1B 5B 32 34 7E

(Esc [ 3 4 ~ )

@A@<

Backspace

08

(BS)


Related Topics

Keystroke Mnemonics—3270 and 5250 SendKey Functions