Skip to main content

Terminal emulator

19 commands. Toolkit id ooa.terminal.

CommandWhat it does
Clear screenErase all input fields locally, or send the Clear key to the host.
ConnectConnect to a TN3270 or TN5250 host, or sign in to a VT100/ANSI host over SSH, and wait for the first screen. 3270 needs the free wc3270 engine installed on the runner; 5250 and SSH need nothing.
DisconnectDisconnect and close the terminal.
Find text on screenFind where a piece of text appears on the screen.
Get all fieldsList every field on the screen with its position, length, protection and text.
Get cursor positionRead the row and column where the cursor is.
Get fieldRead one field, found by a screen position inside it or by the label just before it.
Get screen textRead the whole screen as text, one line per row.
Get text at positionRead text from a row and column for a given length, or the last line with text, a rectangle of the screen, or (VT hosts) everything that scrolled past.
Hide terminalClose the window Show terminal opened (G4); the session goes on.
Press keyPress Enter, Tab, Clear, a PF or PA key, and wait for the host to answer.
Set cursorMove the cursor to a row and column.
Set fieldReplace the contents of an input field, found by position, label or field number; Credentials are typed without being logged.
Set key mappingGive keys friendly names for this session, e.g. Submit for Enter or Exit for PF3, usable in Press key.
Show terminalOpen a window that follows the session's screen while the agent works, for a person watching (G4); on a runner without a screen it only notes that in the log.
Type textType text at a row and column, or at the cursor; Credentials are typed without being logged.
Wait for promptOn VT (SSH) hosts: wait until the host has finished writing and the cursor sits after a prompt such as $, # or >, e.g. after a command.
Wait for screenWait until the host unlocks the keyboard, shows an input field, changes the screen, or a number of seconds passes.
Wait for textWait until text appears (or disappears) on the screen or at a position.