BSD 4_3_Net_1 release
[unix-history] / tn3270 / tn3270 / tn3270.1
CommitLineData
e3419641
C
1.\" Copyright (c) 1986 The Regents of the University of California.
2.\" All rights reserved.
b5bef96d 3.\"
e3419641
C
4.\" Redistribution and use in source and binary forms are permitted
5.\" provided that the above copyright notice and this paragraph are
6.\" duplicated in all such forms and that any documentation,
7.\" advertising materials, and other materials related to such
8.\" distribution and use acknowledge that the software was developed
9.\" by the University of California, Berkeley. The name of the
10.\" University may not be used to endorse or promote products derived
11.\" from this software without specific prior written permission.
12.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
b5bef96d 15.\"
e3419641
C
16.\" @(#)tn3270.1 4.1 (Berkeley) 12/4/88
17.\"
18.TH TN3270 1 "December 4, 1988"
b5bef96d 19.UC 6
362e1db6
GM
20.SH NAME
21tn3270 \- full-screen remote login to IBM VM/CMS
22.SH SYNOPSIS
23.B tn3270
24sysname
25.SH DESCRIPTION
26.I Tn3270
27permits a full-screen, full-duplex connection
28from a VAX UNIX machine
29to an IBM machine running VM/CMS
30giving the appearance of being logged in
31directly to the remote machine
32on an IBM 3270 terminal.
33Of course you must have an account on the machine
34to which you wish to connect in order to log in.
35.I Tn3270
36looks to the user in many respects
37like the Yale ASCII Terminal Communication System II.
38.I Tn3270
39is actually a modification of the Arpanet TELNET user interface (see
40.IR telnet (1))
41that interprets and generates raw 3270 control streams.
42.PP
43Emulation of the 3270 terminal is done in the Unix process.
44This emulation involves mapping
453270-style commands from the host
46into appropriate sequences to control the user's terminal screen.
47.I Tn3270
48uses
49.IR curses (3x)
50and the
51.I /etc/termcap
52file to do this.
53The emulation also involves simulating the special 3270 keyboard keys
54(program function keys, etc.)
55by mapping sequences of keystrokes
56from the ASCII keyboard into appropriate 3270 control strings.
57This mapping is terminal dependent and is specified
58in a description file,
59.IR /etc/map3270 ,
60(see
61.IR map3270 (5))
62or in an environment variable
63.I MAP3270
64(see
65.IR mset (1)).
66Any special function keys on the ASCII keyboard are used whenever possible.
67If an entry for the user's terminal
68is not found,
69.I tn3270
70looks for an entry for the terminal type
71.B unknown.
72If this is not found,
73.I tn3270
74uses a default keyboard mapping
75(see
76.IR map3270 (5)).
77.PP
78The first character of each special keyboard mapping sequence
79is either an ASCII escape (ESC),
80a control character, or an ASCII delete (DEL).
81If the user types an unrecognized function key sequence,
82.I tn3270
83sends an ASCII bell (BEL), or a visual bell if
84defined in the user's termcap entry, to the user's terminal
85and nothing is sent to the IBM host.
86.PP
87If
88.I tn3270
89is invoked without specifying a remote host system name,
90it enters local command mode,
91indicated by the prompt ``tn3270>''.
92In this mode,
93.I tn3270
94accepts and executes
95the following
96commands:
97.sp
98.nf
99.ta 0.5i 1.5i
100 open connect to a remote host
101 close close the current connection
102 quit exit tn3270
103 z suspend tn3270
104 status print connection status
105 ? print help information
106.fi
107.sp
108Other common
109.I telnet
110commands are not available in
111.I tn3270.
112.I Tn3270
113command mode may also be entered, after connecting to a host, by typing
114a special escape character
115(typically control-C).
116.PP
117While in command mode, any host login session is still alive
118but temporarily suspended.
119The host login session may be resumed by entering an empty line
120(press the RETURN key)
121in response to the command prompt.
122A session may be terminated by logging off the foreign host,
123or by typing ``quit'' or ``close'' while in local command mode.
124.SH FILES
125/etc/termcap
126.br
127/etc/map3270
128.SH AUTHOR
129Greg Minshall
130.SH SEE ALSO
131mset(1), telnet(1), termcap(3x), termcap(5), map3270(5),
132\fIYale ASCII Terminal Communication
133System II Program Description/Operator's Manual\fR
134(IBM SB30-1911)
135.SH BUGS
136Performance is slow and uses system resources prodigiously.
137.PP
138Not all 3270 functions are supported,
139nor all Yale enhancements.