Skip to main content

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​

InputTypeRequiredDefaultWhat it is
HostStringYesHost name or address; it may come from the vault (G4).
PortNumberNoPort; 23 for 3270 and 5250 (992 is common with TLS) and 22 for SSH when empty.
Encrypted connection (TLS)BooleanNofalseUse a TLS-encrypted connection.
ModelStringNo3279-2Screen 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).
SessionStringNoterminalSession name.
Terminal typeStringNotn3270etn3270e (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)NumberNo30Seconds to wait for the connection and the first screen.
Lu nameStringNoDevice name to request from the host (3270 logical unit, or 5250 display device); any free one when empty.
Code pageStringNoHost code page, e.g. cp037 (US), cp273 (German), cp500; the engine default (5250: cp037) when empty.
Wait for input fieldBooleanNotrueWait 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 textStringNoText the first screen must show (e.g. a logon prompt) before the agent continues; no check when empty.
UserStringNoSSH user name; over Telnet, typed at the login prompt (empty: sign in with Type text steps). It may come from the vault.
PasswordCredentialNoPassword from the vault; over SSH leave it empty when signing in with a key file.
Key fileFileNoPrivate key file for SSH sign-in (instead of, or as well as, a password).
Key passphraseCredentialNoPassphrase of the key file, when it has one.
Host key fingerprintStringNoExpected SSH host fingerprint; the connection stops when the host shows a different one. Strongly recommended.
EmulationStringNovt100Terminal kind reported to the SSH host; it decides which control codes the host sends.
Screen rowsNumberNo24Screen height in rows for SSH hosts.
Screen columnsNumberNo80Screen width in columns for SSH hosts.
EncodingStringNoutf-8VT 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 wrapBooleanNotrueVT hosts: text reaching the right edge goes on at the next line; off keeps writing in the last column (G4).
Device attributesStringNoVT 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).