IBM_HOSTS(5)

NAME
ibm_hosts - host database for x3270

SYNOPSIS
/usr/local/pub/ibm_hosts

DESCRIPTION
The ibm_hosts file contains information regarding IBM hosts on the network. An IBM host is a host which can communcate with a 3270 terminal emulator such as x3270 or tn3270. For each host a single line is present with the following information:
	name	type	hostname	loginstring
Items are separated by any number of blanks and/or TAB characters. A line beginning with `#' is taken as a comment (note that `#' anywhere else on a line does not indicate a comment).

The name field is a mnemonic used to identify the host.

The type field is a keyword that indicates the type of entry. The value primary means that the name will be included in host-selection menus that may be displayed by a 3270 emulator. The value alias means that the name will not be included in menus, but will still be accepted as valid input when a host name is required.

The hostname field is the Internet hostname or dot-notation Internet address of the host.

The optional loginstring field specifies data to be sent to the host when the connection is made. It may include embedded tabs, and embedded newline characters indicating the 3270 ENTER key. The loginstring is not intended for entering usernames and passwords; rather it provides an automated way of specifying a front-end menu option.

EXAMPLE
Given the following ibm_hosts file:
	mvs	primary	mvs-host
	tso	alias	mvs-host
	vm	primary	vtam\t3\n
An 3270 emulator will display two names (mvs and vm) on its hosts menu. It will also accept the name tso as an alias for the same host as mvs. The name vm will cause the 3270 emulator to connect to the host vtam (presumably some sort of host-selection front-end), then enter the string ``3'' on the first data-entry field on the screen, and send the ENTER AID sequence.

FILES
/usr/local/pub/ibm_hosts

SEE ALSO
x3270(1)