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.
Command in the Terminal emulator toolkit · id ooa.terminal/connect · 22 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Host | String | Yes | Host name or address; it may come from the vault (G4). | |
| Port | Number | No | Port; 23 for 3270 and 5250 (992 is common with TLS) and 22 for SSH when empty. | |
| Encrypted connection (TLS) | Boolean | No | false | Use a TLS-encrypted connection. |
| Model | String | No | 3279-2 | Screen model. 3270: 2 = 24x80, 3 = 32x80, 4 = 43x80, 5 = 27x132; 3278 is monochrome; -E adds the extended attributes (colour, highlighting). 5250: 3477-FC and 3477-FG are 27x132, the others 24x80 (a 3270 model 5 also means 27x132). |
| Session | String | No | terminal | Session name. |
| Terminal type | String | No | tn3270e | tn3270e (extended 3270, the usual mainframe choice), plain tn3270 for hosts that refuse the extensions, tn5250 for IBM i (AS/400) hosts, vt-ssh for a VT100/ANSI host reached over SSH, or vt-telnet for one reached over Telnet (unencrypted) (G4). |
| Connect timeout (seconds) | Number | No | 30 | Seconds to wait for the connection and the first screen. |
| Lu name | String | No | Device name to request from the host (3270 logical unit, or 5250 display device); any free one when empty. | |
| Code page | String | No | Host code page, e.g. cp037 (US), cp273 (German), cp500; the engine default (5250: cp037) when empty. | |
| Wait for input field | Boolean | No | true | Wait until the first screen has a field to type into (on SSH: until the host stops sending); turn off for hosts that show a read-only banner first. |
| Wait for text | String | No | Text the first screen must show (e.g. a logon prompt) before the agent continues; no check when empty. | |
| User | String | No | SSH user name; over Telnet, typed at the login prompt (empty: sign in with Type text steps). It may come from the vault. | |
| Password | Credential | No | Password from the vault; over SSH leave it empty when signing in with a key file. | |
| Key file | File | No | Private key file for SSH sign-in (instead of, or as well as, a password). | |
| Key passphrase | Credential | No | Passphrase of the key file, when it has one. | |
| Host key fingerprint | String | No | Expected SSH host fingerprint; the connection stops when the host shows a different one. Strongly recommended. | |
| Emulation | String | No | vt100 | Terminal kind reported to the SSH host; it decides which control codes the host sends. |
| Screen rows | Number | No | 24 | Screen height in rows for SSH hosts. |
| Screen columns | Number | No | 80 | Screen width in columns for SSH hosts. |
| Encoding | String | No | utf-8 | VT hosts: how characters are sent: utf-8, ansi (windows-1252), or a double-byte set such as Shift_JIS, GBK or EUC-KR (G4). |
| Auto wrap | Boolean | No | true | VT hosts: text reaching the right edge goes on at the next line; off keeps writing in the last column (G4). |
| Device attributes | String | No | VT hosts: the answer to the host's 'what terminal are you' question, after ESC [ (e.g. ?62;1;6c for a VT220); the VT100 answer when empty (G4). |