EM3270 Manual

Alternate Function-Key Mapping
E-8 110332Tandem EM3270 Manual
Color-Mapping and Function-Key Mapping
To specify different mappings of the function keys, reorder the numbers in the INT
declaration that initializes array f^to^aid. The values placed in the array correspond to
3270 functions. The sequence of these values corresponds to the sequence of the
function keys. When you rearrange the numbers in the array, you map the function keys
to different 3270 functions. To disable a function key, replace the value shown with a -1.
Figure E-5. Procedure for Terminal Function-Key Mapping (page 1 of 2)
PROC user^function^key^mapping (key^value, key^index);
INT key^value, ! Contains the Tandem terminal
! function-key value upon entry.
.key^index; ! Contains the EM3270 emulator-key index
! on the return.
!
! EM3270 emulator function key to internal index mapping.
!
! 3270 Tandem Terminal EM3270 Key
! Function Key Function Key Value Index
! ENTER F16 O(%117) 0
! PA1 F13 L(%114) 1
! PA2 F14 M(%115) 2
! PA3 F15 N(%116) 3
! CLEAR SF14 m(%155) 4
! PF1 F1 @(%100) 5
! PF2 F2 A(%101) 6
! PF3 F3 B(%102) 7
! PF4 F4 C(%103) 8
! PF5 F5 D(%104) 9
! PF6 F6 E(%105) 10
! PF7 F7 F(%106) 11
! PF8 F8 G(%107) 12
! PF9 F9 H(%110) 13
! PF10 F10 (%111) 14
! PF11 F11 J(%112) 15
! PF12 F12 K(%113) 16
! PF13 SF1 '(%140) 17
! PF14 SF2 a(%141) 18
! PF15 SF3 b(%142) 19
! PF16 SF4 c(%143) 20
! PF17 SF5 d(%144) 21
! PF18 SF6 e(%145) 22
! PF19 SF7 f(%146) 23
! PF20 SF8 g(%147) 24
! PF21 SF9 h(%150) 25
! PF22 SF10 i(%151) 26