BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / tn3270.0
TN3270(1) UNIX Programmer's Manual TN3270(1)
N\bNA\bAM\bME\bE
tn3270 - full-screen remote login to IBM VM/CMS
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
t\btn\bn3\b32\b27\b70\b0 sysname
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bT_\bn_\b3_\b2_\b7_\b0 permits a full-screen, full-duplex connection from a
VAX UNIX machine to an IBM machine running VM/CMS giving the
appearance of being logged in directly to the remote machine
on an IBM 3270 terminal. Of course you must have an account
on the machine to which you wish to connect in order to log
in. _\bT_\bn_\b3_\b2_\b7_\b0 looks to the user in many respects like the Yale
ASCII Terminal Communication System II. _\bT_\bn_\b3_\b2_\b7_\b0 is actually
a modification of the Arpanet TELNET user interface (see
_\bt_\be_\bl_\bn_\be_\bt(1)) that interprets and generates raw 3270 control
streams.
Emulation of the 3270 terminal is done in the Unix process.
This emulation involves mapping 3270-style commands from the
host into appropriate sequences to control the user's termi-
nal screen. _\bT_\bn_\b3_\b2_\b7_\b0 uses _\bc_\bu_\br_\bs_\be_\bs(3x) and the /_\be_\bt_\bc/_\bt_\be_\br_\bm_\bc_\ba_\bp
file to do this. The emulation also involves simulating the
special 3270 keyboard keys (program function keys, etc.) by
mapping sequences of keystrokes from the ASCII keyboard into
appropriate 3270 control strings. This mapping is terminal
dependent and is specified in a description file,
/_\be_\bt_\bc/_\bm_\ba_\bp_\b3_\b2_\b7_\b0, (see _\bm_\ba_\bp_\b3_\b2_\b7_\b0(5)) or in an environment variable
_\bM_\bA_\bP_\b3_\b2_\b7_\b0 (see _\bm_\bs_\be_\bt(1)). Any special function keys on the
ASCII keyboard are used whenever possible. If an entry for
the user's terminal is not found, _\bt_\bn_\b3_\b2_\b7_\b0 looks for an entry
for the terminal type u\bun\bnk\bkn\bno\bow\bwn\bn.\b. If this is not found, _\bt_\bn_\b3_\b2_\b7_\b0
uses a default keyboard mapping (see _\bm_\ba_\bp_\b3_\b2_\b7_\b0(5)).
The first character of each special keyboard mapping
sequence is either an ASCII escape (ESC), a control charac-
ter, or an ASCII delete (DEL). If the user types an
unrecognized function key sequence, _\bt_\bn_\b3_\b2_\b7_\b0 sends an ASCII
bell (BEL), or a visual bell if defined in the user's
termcap entry, to the user's terminal and nothing is sent to
the IBM host.
If _\bt_\bn_\b3_\b2_\b7_\b0 is invoked without specifying a remote host system
name, it enters local command mode, indicated by the prompt
``tn3270>''. In this mode, _\bt_\bn_\b3_\b2_\b7_\b0 accepts and executes the
following commands:
open connect to a remote host
close close the current connection
quit exit tn3270
z suspend tn3270
status print connection status
Printed 7/9/88 January 11, 1986 1
TN3270(1) UNIX Programmer's Manual TN3270(1)
? print help information
Other common _\bt_\be_\bl_\bn_\be_\bt commands are not available in _\bt_\bn_\b3_\b2_\b7_\b0.
_\bT_\bn_\b3_\b2_\b7_\b0 command mode may also be entered, after connecting to
a host, by typing a special escape character (typically
control-C).
While in command mode, any host login session is still alive
but temporarily suspended. The host login session may be
resumed by entering an empty line (press the RETURN key) in
response to the command prompt. A session may be terminated
by logging off the foreign host, or by typing ``quit'' or
``close'' while in local command mode.
F\bFI\bIL\bLE\bES\bS
/etc/termcap
/etc/map3270
A\bAU\bUT\bTH\bHO\bOR\bR
Greg Minshall
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
mset(1), telnet(1), termcap(3x), termcap(5), map3270(5),
_\bY_\ba_\bl_\be _\bA_\bS_\bC_\bI_\bI _\bT_\be_\br_\bm_\bi_\bn_\ba_\bl _\bC_\bo_\bm_\bm_\bu_\bn_\bi_\bc_\ba_\bt_\bi_\bo_\bn _\bS_\by_\bs_\bt_\be_\bm _\bI_\bI _\bP_\br_\bo_\bg_\br_\ba_\bm
_\bD_\be_\bs_\bc_\br_\bi_\bp_\bt_\bi_\bo_\bn/_\bO_\bp_\be_\br_\ba_\bt_\bo_\br'_\bs _\bM_\ba_\bn_\bu_\ba_\bl (IBM SB30-1911)
B\bBU\bUG\bGS\bS
Performance is slow and uses system resources prodigiously.
Not all 3270 functions are supported, nor all Yale enhance-
ments.
Printed 7/9/88 January 11, 1986 2