![]() |
![]() |
The sendKeys method (of the ScreenVt object) sends characters and function keys to a VT terminal session. Function keys, such as the Transmit key, are represented with codes called mnemonics. Use the table below to identify the mnemonic that represents a particular VT function key.
You can send keys using either the brace style or the @ sign style.
![]() |
The @ style mnemonics are case-sensitive. |
VT Terminal Keystroke | Function | Mnemonic (brace style) |
Mnemonic (@ style) |
---|---|---|---|
@ sign | Enters the @ sign. | n/a | @@ |
Backspace | Moves the cursor one column to the left without deleting any characters. If the cursor is in the first column of a line, it moves to the last column of the preceding line. If it is home, it moves to the last column of the last line of the page. |
{Backspace} | @< |
Cursor down | Moves the cursor down one line. If the cursor is in the bottom line of a page, it moves to the top line. |
{CursorDown} | @V |
Cursor left | Moves the cursor one column to the left. If the cursor is in the first column of a line, it moves to the last column of the preceding line. If it is in the first column of the first line of the page, it moves to the last column of the last line of the page. |
{CursorLeft} | @L |
Cursor right | Moves the cursor one column to the right. If the cursor is in the last column of a line, it moves to the first column of the next line. If it is in the last column of the last line of the page, it moves to the first column of the first line of the page. |
{CursorRight} | @Z |
Cursor up | Moves the cursor up one line in the same column. If the cursor is in the top line of a page, it moves to the bottom line. |
{CursorUp} | @U |
Enter | Sends data to the host. | {Enter} or {Transmit} | @E |
F1-F4 | Perform host-defined functions. | {F1}-{F4} | @1-@4 |
Home | Moves the cursor home. | {Home} | @0 (zero) |
![]() |
|
![]() |
Troubleshooting |
![]() |
Keystroke Reference |
![]() |
Legacy API Support |
![]() |