fix up Nm usage
This commit is contained in:
parent
914f235803
commit
48f0a88e92
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: tn3270.1,v 1.6 1998/04/28 06:00:57 fair Exp $
|
||||
.\" $NetBSD: tn3270.1,v 1.7 1998/06/08 12:34:15 lukem Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1986, 1990 The Regents of the University of California.
|
||||
.\" All rights reserved.
|
||||
@ -32,7 +32,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)tn3270.1 4.6 (Berkeley) 7/27/91
|
||||
.\" $NetBSD: tn3270.1,v 1.6 1998/04/28 06:00:57 fair Exp $
|
||||
.\" $NetBSD: tn3270.1,v 1.7 1998/06/08 12:34:15 lukem Exp $
|
||||
.\"
|
||||
.Dd July 27, 1991
|
||||
.Dt TN3270 1
|
||||
@ -42,13 +42,13 @@
|
||||
.Nd full-screen remote login to
|
||||
.Tn IBM VM/CMS
|
||||
.Sh SYNOPSIS
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
.Op Fl d
|
||||
.Op Fl n Ar filename
|
||||
.Op Fl t Ar commandname
|
||||
.Op Ar sysname Op port
|
||||
.Sh DESCRIPTION
|
||||
.Nm Tn3270
|
||||
.Nm
|
||||
permits a full-screen, full-duplex connection
|
||||
from a
|
||||
.Ux
|
||||
@ -56,7 +56,7 @@ machine
|
||||
to an
|
||||
.Tn IBM
|
||||
(or compatible) machine.
|
||||
.Nm Tn3270
|
||||
.Nm
|
||||
gives the appearance of being logged in
|
||||
to the remote machine
|
||||
from an
|
||||
@ -64,12 +64,12 @@ from an
|
||||
3270 terminal.
|
||||
Of course, you must have an account on the machine
|
||||
to which you connect in order to log in.
|
||||
.Nm Tn3270
|
||||
.Nm
|
||||
looks to the user in many respects
|
||||
like the Yale
|
||||
.Tn ASCII
|
||||
Terminal Communication System II.
|
||||
.Nm Tn3270
|
||||
.Nm
|
||||
is actually a modification of the Arpanet
|
||||
.Tn TELNET
|
||||
user interface (see
|
||||
@ -78,7 +78,7 @@ which will, in certain circumstances, interpret and generate
|
||||
raw 3270 control streams.
|
||||
.Pp
|
||||
The flags to
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
are as follows:
|
||||
.Bl -tag -width indent
|
||||
.It Fl d
|
||||
@ -106,7 +106,7 @@ command (see below).
|
||||
.It Ar port
|
||||
The port to connect to on the remote system.
|
||||
Normally,
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
attempts to connect to the
|
||||
standard
|
||||
.Tn TELNET
|
||||
@ -115,26 +115,26 @@ port (port
|
||||
.El
|
||||
.Pp
|
||||
When
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
first connects to the remote system, it will negotiate to go into
|
||||
3270 mode.
|
||||
Part of this negotiation involves telling the remote system what model
|
||||
3270 it is emulating.
|
||||
In all cases,
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
emulates a 3278 terminal.
|
||||
To decide which specific model,
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
looks at the number of lines and columns on the actual terminal (as
|
||||
defined in the
|
||||
.Ev TERM
|
||||
environment variable; see
|
||||
.Xr termcap 5 ) .
|
||||
The terminal (or window in which
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
is running, on multiple
|
||||
window systems) must have at least 80 columns and 24 lines, or
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
will not go into emulation mode.
|
||||
If the terminal does have at least 80 columns and at least 24 lines,
|
||||
the following table describes the emulation:
|
||||
@ -158,7 +158,7 @@ process.
|
||||
This emulation involves mapping
|
||||
3270-style commands from the host
|
||||
into appropriate sequences to control the user's terminal screen.
|
||||
.Nm Tn3270
|
||||
.Nm
|
||||
uses
|
||||
.Xr curses 3
|
||||
and the
|
||||
@ -187,11 +187,11 @@ Any special function keys on the
|
||||
keyboard are used whenever possible.
|
||||
If an entry for the user's terminal
|
||||
is not found,
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
looks for an entry for the terminal type
|
||||
.Em unknown .
|
||||
If this is not found,
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
uses a default keyboard mapping
|
||||
(see
|
||||
.Xr map3270 5 ) .
|
||||
@ -206,7 +206,7 @@ a control character, or an
|
||||
delete
|
||||
.Pq Tn DEL .
|
||||
If the user types an unrecognized function key sequence,
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
sends an
|
||||
.Tn ASCII
|
||||
bell
|
||||
@ -218,13 +218,13 @@ and nothing is sent to the
|
||||
host.
|
||||
.Pp
|
||||
If
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
is invoked without specifying a remote host system name,
|
||||
it enters local command mode,
|
||||
indicated by the prompt
|
||||
.Dq Li tn3270>\ .
|
||||
In this mode,
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
accepts and executes
|
||||
all the commands of
|
||||
.Xr telnet 1 ,
|
||||
@ -239,11 +239,11 @@ command for
|
||||
4994 style transparent mode processing.
|
||||
.El
|
||||
.Pp
|
||||
.Nm Tn3270
|
||||
.Nm
|
||||
command mode may also be entered, after connecting to a host, by typing
|
||||
a special escape sequence.
|
||||
If
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
has succeeded in negotiating 3270 mode with the remote host, the
|
||||
escape sequence will be as defined by the map3270 (see
|
||||
.Xr map3270 5 )
|
||||
@ -274,7 +274,7 @@ or by typing ``quit'' or ``close'' while in local command mode.
|
||||
The
|
||||
.Tn IBM
|
||||
4994 style transparent mode command is invoked when
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
receives
|
||||
.Tn IBM
|
||||
4994 style transparent output from the remote host.
|
||||
@ -301,14 +301,14 @@ and
|
||||
.Dv CRMOD
|
||||
turned off.
|
||||
.Sh ENVIRONMENT
|
||||
.Nm Tn3270
|
||||
.Nm
|
||||
checks the following environment variables:
|
||||
.Ev TERM ,
|
||||
.Ev MAP3270 ,
|
||||
.Ev MAP3270[A...] .
|
||||
Information on these can be found in
|
||||
.Xr mset 1 .
|
||||
.Nm Tn3270
|
||||
.Nm
|
||||
also checks
|
||||
.Ev SHELL ,
|
||||
.Ev KEYBD
|
||||
@ -328,11 +328,11 @@ and
|
||||
.Re
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm tn3270
|
||||
.Nm
|
||||
command appeared in
|
||||
.Bx 4.3 .
|
||||
.Sh BUGS
|
||||
.Nm Tn3270
|
||||
.Nm
|
||||
is slow and uses system resources prodigiously.
|
||||
.Pp
|
||||
Not all 3270 functions are supported,
|
||||
|
Loading…
Reference in New Issue
Block a user