MAN page from Old RedHat 5.X x3270-3.1.1.6-2.i386.rpm
IBM_HOSTS
Section: File Formats (5)
Updated: 10 July 1995
Index NAME
ibm_hosts -host database for
x3270 SYNOPSIS
/usr/lib/X11/x3270/ibm_hosts
DESCRIPTION
The
ibm_hostsfile contains information regarding IBM hosts on the network.An
IBM hostis a host which can communicate with a 3270 terminal emulator such as
x3270or
tn3270.Each line defines a name in the following format(optional fields are shown in brackets):
name type hostname[/port] [actions]
Items are separated by any number of blanks and/or TAB characters.A line beginning with `#' is taken as a comment (note that `#' anywhereelse on a line does
notindicate a comment).
Thenamefield is a mnemonic used to identify the host.
Thetypefield is a keyword that indicates the type of entry.The valueprimarymeans that thenamewill be included in host-selection menus that may be displayed by a3270 emulator.The valuealiasmeans that thenamewill not be included in menus, but will still be accepted as valid inputwhen a host name is required.
Thehostnamefield is the Internet hostname or dot-notation Internet address of the host.
Thehostnamecan also optionally include a non-defaultportnumber, appended to thehostnamewitha slash ``/'' character,e.g.,bluehost/97.
The optionalactionsfield specifies actions to be taken once the connection is made and adata-entry field is defined.If the text looks like an action,e.g.,PF(1),it is unmodified; otherwise it is taken as the parameter to theString()action.Theactionsare not intended for entering usernames and passwords; rather they provide anautomated way of specifying a front-end menu option.
EXAMPLE
Given the following
ibm_hostsfile:
mvs primary mvs-host tso alias mvs-host mvs2 primary mvs-host/4012 vm primary vtam Tab() String(3) Enter()
An 3270 emulator will display four names(
mvs,
mvs2,
afhostand
vm)on its hosts menu.The names
mvsand
tsowill cause connections to the host
mvs-host.The name
mvs2will also cause a connection to
mvs-host,but to port 4012 rather than the emulator's default port (usually 23).The name
vmwill cause the 3270 emulator to connect to the host
vtam(presumably some sort of host-selection front-end),enter the string ``3'' on the second data-entry field on the screen, andsend the ENTER AID sequence.
FILES
/usr/lib/X11/x3270/ibm_hosts
SEE ALSO
x3270(1)
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- EXAMPLE
- FILES
- SEE ALSO
This document was created byman2html,using the manual pages.