Terminal emulator
19 commands. Toolkit id ooa.terminal.
| Command | What it does |
|---|---|
| Clear screen | Erase all input fields locally, or send the Clear key to the host. |
| Connect | Connect 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. |
| Disconnect | Disconnect and close the terminal. |
| Find text on screen | Find where a piece of text appears on the screen. |
| Get all fields | List every field on the screen with its position, length, protection and text. |
| Get cursor position | Read the row and column where the cursor is. |
| Get field | Read one field, found by a screen position inside it or by the label just before it. |
| Get screen text | Read the whole screen as text, one line per row. |
| Get text at position | Read 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 terminal | Close the window Show terminal opened (G4); the session goes on. |
| Press key | Press Enter, Tab, Clear, a PF or PA key, and wait for the host to answer. |
| Set cursor | Move the cursor to a row and column. |
| Set field | Replace the contents of an input field, found by position, label or field number; Credentials are typed without being logged. |
| Set key mapping | Give keys friendly names for this session, e.g. Submit for Enter or Exit for PF3, usable in Press key. |
| Show terminal | Open 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 text | Type text at a row and column, or at the cursor; Credentials are typed without being logged. |
| Wait for prompt | On 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 screen | Wait until the host unlocks the keyboard, shows an input field, changes the screen, or a number of seconds passes. |
| Wait for text | Wait until text appears (or disappears) on the screen or at a position. |