IBM AS/400e Computer Hardware User Manual


 
Appendix D. TELNET 3270 Keyboard Mappings
You can use the TELNET 3270 (TN3270) program to access the AS/400 system in
full-screen, block mode if you are on a host that supports the TN3270 client. This
includes DEC/VAX, RT-PC, RS/6000, HP/9000, Sun Work station, and a personal
computer or a PS/2 system running DOS or OS/2.
When accessing the AS/400 system from a TN3270 client, you may want to
customize the keyboard mapping to make the applications that you run easier to
use. To accomplish this, create a simple CL program that contains the Change
Keyboard Mapping (CHGKBDMAP) command with your preferred mapping
specified. This CL program can be specified as the initial program (INLPGM
parameter) in your user profile. The CHGKBDMAP command does not affect
sessions in which you are not using 3270 TELNET.
AS/400 CL Programs for the CHGKBDMAP Command
The following OS/400 CL program can be used when using a TN3270 client to
connect to an AS/400 system from a PS/2 system running DOS, OS/2, or AIX, and
from an RS/6000 running AIX. This CL program provides the mappings described in
Table 70 on page 532, Table 71 on page 532, and Table 72 on page 533.
PGM
MONMSG MSGID(CPF8701 CPF0000)
EXEC(GOTO CMDLBL(CALLCMD))
CHGKBDMAP PF1(*HELP) PF2(*HLP3270) PF3(*F3)
PF4(*F4) PF5(*F5) PF6(*F6) PF7(*DOWN)
PF8(*UP) PF9(*F9) PF10(*F10) PF11(*F11)
PF12(*F12) PF13(*F13) PF14(*F14)
PF15(*F15) PF16(*F16) PF17(*F17)
PF18(*F18) PF19(*F19) PF20(*F20)
PF21(*F21) PF22(*F22) PF23(*F23)
PF24(*F24) PA1PF1(*SYSREQ) PA1PF2(*ATTN)
PA1PF3(*CLEAR) PA1PF4(*PRINT) PA1PF5(*RESET)
CALLCMD: CALL PGM(QCMD)
ENDPGM
The following OS/400 CL program can be used when connecting to an AS/400
system from VTxxx terminals using the TN3270 program in WIN/TCP for VMS**.
There is one item on the VAX system that needs to be customized. To do this, edit
the WIN/TCP “MAP3270.;” file in the directory TWG$TCP: [NETDIST.ETC]. In the
VT100 section, change the program attention key definitions to read:
pa1 = "¬a"; (for example, Shift-6 followed by a)
pa2 = "¬p"; (for example, Shift-6 followed by p)
This customization needs to be done only once by the WIN/TCP administrator. The
following CL program provides the mapping described in Table 73 on page 533.
PGM
MONMSG MSGID(CPF8701 CPF0000)
EXEC(GOTO CMDLBL(CALLCMD))
CHGKBDMAP PF1(*HELP) PF2(*HLP3270) PF3(*F3)
PF4(*F4) PF5(*F5) PF6(*F6) PF7(*DOWN)
PF8(*UP) PF9(*F9) PF10(*F10)
PF11(*F11) PF12(*F12) PF13(*F13)
PF14(*F14) PF15(*F15) PF16(*F16)
PF17(*F17) PF18(*F18) PF19(*F19) +
PF20(*SAME) PF21(*SAME) PF22(*SAME)
PF23(*SAME) PF24(*SAME) PA1PF1(*SYSREQ)
PA1PF2(*ATTN) PA1PF3(*CLEAR) PA1PF4(*PRINT)
© Copyright IBM Corp. 1997, 1999 531