Keyboard Mapping:

The default keyboard map can be changed by creating a file
named TN5250.KEY by using a text editor.For example, the following would map
the PS/2 Enter key (Enter key on numeric keypad) to the AS/400 Enter key
function:
enter enter
TN5250.KEY is searched for (and used if found) when TN5250 is called. OS/2 looks
for this file first in the current directory and then in the ETC directory.There is a list
of valid PS/2 keys and AS/400 functions plus a listing of the default keyboard map
in the

IBM TCP/IP Version 2.0 for OS/2 User’s Guide

.

Character Mapping:

The PS/2 is an ASCII-based device. 5250 Telnetdata
streams are in EBCDIC format. The PS/2 must, therefore, translate all incoming
data from EBCDIC to ASCII and all outgoing data fromASCII to EBCDIC. A default
mapping table is provided to do this. User-defined mapping tables can also be
created. Asample table (5250XLT.SAM) is provided in the ETC directory. The table
includes both ASCII-to-EBCDIC and EBCDIC-to-ASCII translation.A user-defined
mapping table is selected using the

-tx

option when starting a session, for example:
[C:\]tn5250 sysnam123 -tx 5250xlt.sam
Apple Macintosh 5250 Full-Screen Telnet Client
Apple SNAvps 5250 provides 5250 connectivity for Apple Macintosh computers.
Version 1.2 adds support forAppleTalk and TCP/IP. The TCP/IPsupport is used in
conjunction with TCP/IP Connection for Macintosh (M8113Z).This support provides
a TN5250 client that allows Apple Macintosh computers to connect directly (the
gateway support is SNA/APPC only) to an AS/400. Token-ringand Ethernet are
supported. LocalTalk/Ethernetgateways are available from third parties.
Once installed, the Macintosh TCP/IP support is configured using three displays in
two steps:
1. The first two displays are selected with the MacTCP control panel icon. Having
selected the type of network adapter to be used (token-ring or Ethernet) from
the first display, click on

more

for the second display.The following is configured
with the second display:
vThe gateway internet address
vYourdomain name
vThe name server internet address
vYourinternet address
The internet address of the gateway in our network example was 9.4.73.193.
This was entered in the

Gateway Address

field under

Routing Information

. Our
domain name of RCHLAND.IBM.COM was entered in the

Domain

field under

Domain Name Server Information

. The name server internet address
(9.4.191.76 in our network example) was entered in the

IP Address

field, also
under

Domain Name Server Information

.
The

IP Address

section is used to enter your own internet address. Enter your
network class (A in our network example). The slider will now move to show the
bits allocated to the network ID (Net), 8-bits in our class Anetwork example
(see Figure 119on page 185). The slider bar must now be moved to correctly
divide the remaining section into Subnetwork ID (Subnet) and Host ID (Node).
The subnet mask in our network example was 255.255.255.192. As you move
the slider bar, the subnet mask ID is dynamically updated. Youshould now
move the bar until the subnet mask ID matches yours. At this point, the number
184 OS/400 TCP/IPConfiguration and Reference V4R4