Patch-ID# 100241-02 Keywords: Keyboard type4 sna3270 te3278 Synopsis: SNA3270: Type 4 keyboard patch for SunLink SNA3270 product. BAKTAB mapping Date: 16-Oct-91 SunOS release: OS 4.0.x, 4.1, 4.1.1 Unbundled Product: SunLink SNA3270 Unbundled Release: 6.1 Topic: SunLink SNA3270 6.1 BugId's fixed with this patch: 1022168 Architectures for which this patch is available: sun3, sun4 Patches which may conflict with this patch: Obsoleted by: Problem Description: There is currently no KYI3278.XXX file for the te3278 product for type 4 keyboard. This patch also fix the BAKTAB key mapping. INSTALL: The file that is supplied with this patch is called KYI3278.type4. Copy this file to the proper directory: cp KYI3274.type4 /usr/sunlink/3270/KYI3278.type4 Then follow the directions on how to install this file to be used by the te3278 process. 1) Below's info on the latest KYI3278.type4 file for Type-4 Keyboard support. [This addresses Bug ID 1022168: There is no KYI file for type 4 keyboard.] Note: The arrow keys emit different sequences on a 386i than on a Sun-4 so mapping Sun arrow keys to the 3278 UP, DOWN, LEFT, RIGHT keys requires a different KYI file for the 386i than for the Sun-3/Sun-4 environment. 2) The KYI3278/KY3278 files serve a distinctly different purpose from the SCI3270/SC3278 files. The KY files map keyboard input from the actual terminal to IBM 3278 keys. The SC files describe certain features and capabilities of the actual terminal that enable the terminal emulation to accomplish a particular task, eg, display the status line, move from one line on the screen to the next, display individual characters, etc. For instance, if you enter keystroke(s) that according to the KY file map to the 3278 key for the letter "a" (KY_a) and according to the emulation state, etc, the letter "a" should now be displayed on the screen, te3278 uses the capabilities described in the SC file to display the letter "a" (SC_a) at the correct position and position the cursor. The utilities, kyinit and scinit, convert the input files to object files. The 6.1 scripts, run_ky and run_sc, make running these utilities easier. Chapters 4 and 5 of the 6.1 3270 User's Guide (800-3089-10) describe the Keyboard and Screen mapping utilities and scripts in some detail. ----------------------------------------------------------------------- Here is the latest KYI3278.type4 file for Type-4 Keyboard support. The only differences between it and the KYI3278.sun are: 1) mapping PF10-12,22-24 to the F10-12 keys (instead of R1-3) 2) mapping the "alternate" ENTER key (ENTER1) to the right-pad ENTER 3) mapping INS, HOME, DEL to the right-pad keys with those labels Note: The arrow keys must be mapped differently for a Sun-3,4 environment: :KY_UP_A=\E[A:\ :KY_LEFT_A=\E[D:\ :KY_RIGHT_A=\E[C:\ :KY_DOWN_A=\E[B:\ than for a Sun368i environment: :KY_UP_A=\E[215z:\ :KY_LEFT_A=\E[217z:\ :KY_RIGHT_A=\E[219z:\ :KY_DOWN_A=\E[221z:\ Here is the "description" file (KYD3278.type4): =============================================================================== (STOP) (AGAIN) (F1) (F2) ...(F12) (R1) (R2) (R3) (NumLk) clear pf1 pf2 ... pf12 ESC: pf13 pf14 ... pf24 (PROPS)(UNDO) (BackSpace) (=) (/) (*) (-) reset e_eof bs pa1 fm pa2 ESC: e_input pa3 dup (FRONT)(COPY) (Tab) (Return) (7) (8) (9) (+) tab enter home up (OPEN) (PASTE) (4) (5) (6) left right (FIND) (CUT) (LineFeed) (1) (2) (3) (ENTER) newline down enter (INS) (DEL) insert del Note: Hit ESC then the key indicated for: pf13-pf24, e_input, pa3, dup. Note: F1 cannot be used as the CAPS key if it is mapped to the IBM PF1 key; your .ttyswrc must contain the entry: mapi F1 \E[224z =============================================================================== allcap ESC m fork ESC f redraw ESC r attn ESC a ident ESC i right dub ^r can ^x left dub ^u shell ESC s cursr_sel ESC c nullend ^b stat mode ESC h dev_cncl ESC d num_ov ^n stat move ESC l exit ESC x x print ESC p sys_req ESC q user ESC u =============================================================================== Estimated Size of this patch: 8 KB