UTS Keystrokes

The sendKeys method (of the ScreenUts object) sends characters and function keys to a UTS 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 UTS function key.

You can send keys using either the brace style or the @ sign style.

Note The @ style mnemonics are case-sensitive. For example, @D represents Delete from line, whereas @d represents F13.
UTS Terminal Keystroke Function Mnemonic
(brace style)
Mnemonic
(@ style)
@ sign Enters the @ sign. n/a @@
Backspace Moves the cursor one column to the left deleting the character or space.

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} @<
Carriage return Moves the cursor to the first column of the next row. {NewLine} @N
Clear change Resets the changed-field indicator to zero on all field control character (FCC) fields, thereby indicating that all the fields are unchanged and should not be transmitted. {ClearChange} @A@C
Clear page cursor home Deletes all text and FCC fields in the current page and moves the cursor home. {Clear} @C
Clear to end of field Deletes all unprotected characters in an FCC field from the cursor to the end of the FCC field. {ClearToEndOfField} @F
Clear to end of line Deletes all text from the cursor to the end of the row or the end of an FCC field, whichever comes first. {ClearToEndOfLine} @A@1
Clear to end of page Deletes all text from the cursor to the end of the page (except protected fields). {ClearToEndOfPage} @A@p
Cursor down Moves the cursor down one row in the same column.

If the cursor is in the bottom row of a page, it moves to the top row.

If there is a protected character below, the cursor moves to the next unprotected character to the right of the protected character.

{CursorDown} @V
Cursor left Moves the cursor one column to the left.

If the cursor is in the first column of a row, it moves to the last column of the preceding row. If it is in the first column of the first row of the page, it moves to the last column of the last row of the page.

If there is a protected character to the left, the cursor moves to the next unprotected character to the right of the protected character.

{CursorLeft} @L
Cursor right Moves the cursor one column to the right.

If the cursor is in the last column of a row, it moves to the first column of the next row. If it is in the last column of the last row of the page, it moves to the first column of the first row of the page.

If there is a protected character to the right, the cursor moves to the next unprotected character to the left of the protected character.

{CursorRight} @Z
Cursor up Moves the cursor up one row in the same column.

If the cursor is in the top row of a page, it moves to the bottom row.

If there is a protected character above, the cursor moves to the next unprotected character to the right of the protected character.

{CursorUp} @U
Cursor to end of field Moves the cursor to the end of the FCC field.

If the last position is the trail byte of a double-byte character set (DBCS) character, the cursor moves to the lead byte.

If the last position is protected, the cursor moves to the next unprotected character.

{EndOfField} @A@)
Cursor to end of page Moves the cursor to the last position on the current page.

If the last position is the trail byte of a DBCS character, the cursor moves to the lead byte.

If the last position is protected, the cursor moves to the next unprotected character.

{End} @q
Cursor to EOP and transmit Moves the cursor to the end of the page and transmits the screen. {EODTransmit} @A@T
Cursor to start of line Moves the cursor to the first position on the same row.

If the first position is the trail byte of a DBCS character, the cursor moves back to the lead byte.

If the first position is protected, the cursor moves to the next unprotected character.

{StartOfLine} @A@[
Delete from line Deletes the character that the cursor is on, shifts the remaining characters in the row to the left, and inserts a space in the last column of the row.

In an FCC field, this keystroke deletes the character, shifts the remaining characters in that field to the left, and inserts a space in the last column of the field. Emphasis is unchanged, and the characters in the rest of the row aren't shifted.

{Delete} @D
Delete from page Deletes the character that the cursor is on and shifts all the remaining characters one position to the left.

If the cursor is in an FCC field, the characters in that field are shifted to the left, but the characters beyond the current field aren't shifted. A space is inserted in the last position of the page or field.

{DeleteFromPage} @A@%
Delete line Deletes the row containing the cursor.

Subsequent rows move up one row. The bottom row is filled with spaces.

{DeleteLine} @A@D
Duplicate line Copies the row containing the cursor to the row below, overwriting whatever was on that row.

The cursor moves to the same column on the duplicated row.

{DuplicateLine} @A@$
F1-F9 Perform host-defined functions. {F1}-{F9} @1-@9
F10 Performs a host-defined function. {F10} @a
F11 Performs a host-defined function. {F11} @b
F12 Performs a host-defined function. {F12} @c
F13 Performs a host-defined function. {F13} @d
F14 Performs a host-defined function. {F14} @e
F15 Performs a host-defined function. {F15} @f
F16 Performs a host-defined function. {F16} @g
F17 Performs a host-defined function. {F17} @h
F18 Performs a host-defined function. {F18} @i
F19 Performs a host-defined function. {F19} @j
F20 Performs a host-defined function. {F20} @k
F21 Performs a host-defined function. {F21} @l
F22 Performs a host-defined function. {F22} @m
FCC clear Deletes all text in the FCC field at the cursor location.

If there isn't an FCC at the cursor location, this keystroke clears the closest FCC to the left of the cursor.

{FCCClear} @A@\\
FCC enable Re-enables FCCs so that you can enter data in them. {FCCEnable} @A@e
FCC generate Initiates the FCC definition process using keystroke input. {FCCGenerate} @A@g
FCC locate Moves the cursor to the first character of the next FCC, whether it is protected or not.

If this character is protected, protection is cleared.

{FCCLocate} @A@/
Home Moves the cursor home.

If the home position is protected, this keystroke moves the cursor to the first unprotected field on the page.

{Home} @0 (zero)
Insert in page Inserts a space at the cursor location, moving subsequent characters on the page one column to the right.

Any character in the rightmost column moves to the first position on the next row.

If the cursor is in an FCC field, the subsequent characters in that field are shifted to the right, but the characters in the rest of the page aren't shifted.

If there is a character in the last column in the page or field, it is lost.

{InsertInPage} @A@*
Insert line Inserts a row at the cursor location and shifts subsequent rows down one.

The last row on the page is lost.

{InsertLine} @A@L
Message wait Displays the waiting host message. {MessageWait} @A@M
Page down Displays the next page.

If the last page is already displayed, this keystroke displays the first page.

{PageDown} @v
Page up Displays the previous page.

If the first page is already displayed, this keystroke displays the last page.

{PageUp} @u
Set start of entry Inserts a start-of-entry (SOE) character at the cursor position.

In insert mode, characters after the SOE character shift to the right. In overwrite mode, the SOE character replaces any character at the cursor position.

{SetSOE} @A@S
System mode Puts the session in system mode so that you can send and receive certain commands to and from a System 80 host. {ATTN} @A@Q
Tab Moves the cursor to the next tab stop (either an FCC tab or a tab on the screen).

If tabs were not set, this keystroke moves the cursor home.

{Tab} @T
Tab back Moves the cursor to the previous tab stop (either an FCC tab or a tab on the screen).

If tabs were not set, this keystroke moves the cursor home.

{Backtab} @B
Tab set Places a tab on the screen at the cursor location and moves the cursor one column to the right. {TabSet} @A@=
Transmit Sends data to the host.

Depending on the session configuration, this keystroke sends either all data, only unprotected data, or only changed data.

{Enter} or {Transmit} @E
Unlock keyboard Restores keyboard functionality when it is locked due to a communication error. {Reset} @R
Workstation mode Exits system mode and restores the session page. {WorkStationMode} @A@W
Related Topics
Troubleshooting
Keystroke Reference
Legacy API Support
  Footer