| 1 |
# Sample x3270 ibm_hosts file. |
| 2 |
# |
| 3 |
# The format of each entry is: |
| 4 |
# |
| 5 |
# name type [prefix]hostname[:port] [actions] |
| 6 |
# |
| 7 |
# where |
| 8 |
# |
| 9 |
# name is a name you wish to give to the host. This name |
| 10 |
# can be used on the x3270 command line, and is the |
| 11 |
# name that will appear on the x3270 "Connect" menu. |
| 12 |
# |
| 13 |
# type is one of two keywords. The value "primary" means |
| 14 |
# the entry will appear on the "Connect" menu. The |
| 15 |
# value "alias" means it will not. |
| 16 |
# |
| 17 |
# hostname is the hostname or Internet address of the host to |
| 18 |
# to connect to. It can be preceded by a prefix such |
| 19 |
# as "s:" or "p:" or an LU name (see the x3270 man |
| 20 |
# page), and it can be followed by a "/" or ":" and a |
| 21 |
# port number to indicate a TCP port other than the |
| 22 |
# x3270 default (usually "telnet"). |
| 23 |
# |
| 24 |
# actions is an x3270 action or actions to execute once the |
| 25 |
# connection is made and a data-entry field is defined. |
| 26 |
# If the text looks like x3270 actions, e.g., PF(1), |
| 27 |
# it is unmodified; otherwise the text is used as a |
| 28 |
# parameter to the String() action. |
| 29 |
# |
| 30 |
#localhost primary 127.0.0.1 |