Patch Name: PHNE_7772 Patch Description: s700_800 10.10 SNAP3270/3179G/TN3270 R4.3 cumulative patch Creation Date: 96/07/17 Post Date: 96/09/03 Hardware Platforms - OS Releases: s700: 10.10 s800: 10.10 Products: SNAplus3270 R4.3 TN3270 R4.3 Filesets: TN3270.TN3270 SNAP-3X7X_NLS.SNAP-NLS SNAP-3X7X_NLS.SNAP-3X7X SNAP-3270.SNAP-3270 SNAP-3179G.SNAP-3179G Automatic Reboot?: No Status: General Superseded Critical: Yes PHNE_7772: ABORT CORRUPTION PHNE_7230: ABORT Path Name: /hp-ux_patches/s700_800/10.X/PHNE_7772 Symptoms: PHNE_7772: (1) 1653132407 TN3270 records a PROGRAM error 472 when receiving a write structured field (WSF) query request. When the failure occurs the following is logged in the client sna.aud file: 05/19 09:01:15 sna 3270 10 SNA0420: (30C) PROG check 472 reported (2) 1653166561 When using the tn3270 external table option '-t', previously saved keymappings are not used. (3) 1653166819 xtn3270 (motif tn3270) cannot map keys to keys that pertain to the numeric keypad. (4) 1653169169 HLLAPI applications using TN3270 running in background, lose communication with the emulator when the parent shell is exited. TN3270 is launched using the '-b' option. The HLLAPI applications receive the return code: HARC_STR_NOT_FOUND_UNFM_PS (5) 1653172395 A TN3270 process launched in the background ('-b' option) consumes 98% of CPU when the shell that launched the process dies. (6) 4701313593 There was a limitation that COPYPROT was not available in HLLAPI. (7) 5000714089 Customer's printouts were not formatted correctly due to form feeds being added at the SNALU1MPP default values. (8) 5000715680 Printing double byte datastream can result in print jobs appearing to hang. If printing is performed to a file, the formatted or unformatted output file grows indefinitely. Problem is very intermittent and dependent on the datastream from the host. (9) 5003312686 When sending numeric data to a protected numeric field, snaplus hllapi failed with a sendkey error 9. (10) 5003316075 R3 snaplus 3270 print filters put CR/FF sequence in output file when only a single FF is received from the host. (11) 5003324368 TN3270 core dump when F3 or Enter is pressed while entering formatted fields. (12) 1653153494 The keypad does not work with xtn3270. This patch fixes that problem. PHNE_7230: (1) 1653140194 snap3270 still is not able to print up to 250 characters like it is supposed to. the max is apparently 197 characters per line. (2) 1653147942 The HLLAPI WAIT function exhibits a delay (5, 10, 15 seconds) when it should return immediately. This delay only occurs when the PS goes from being locked to being unlocked. Also, the PAUSE timeout value is interpreted as seconds instead of half seconds as documented. (3) 1653152595 3270 core dumps when trying to open a style file after having opened the snap3270.stu style file. (4) 1653155689 Extended characters were not usable within Motif version of 3270. (5) 1653160846 The user runs xsnap3270. Then goes to Key definitions in the Customize menu to change the mapping of characters. Then selects one character to redefine the mapping. The window pops up where the user is asked to press the key which should correspond to the character. After he has pressed the key xsnap3270 dumps if the session is active. If the session is not active xsnap3270 first hangs and dumps after the user pressed a key several times. (6) 1653163006 The print functions of snap3270 do not work in the R4.2 release. (7) 4701307876 The command line programs, snapsend and snapreceive only allowed a total command line length of 129 characters which was not enough for some customers' needs. (8) 5003285031 The customer is distracted by the movement of the focus along the function keys. (9) 5003301358 3270 is not allowing spaces to be valid input in numeric fields. (10) 5003304451 The snap3270 program core dumps when trying to deal with READ BUFFER command from host. (11) 5003307512 R3 snaplus 3270 print filters put CR/LF sequence in output file when only single LF is received from the host. Defect Description: PHNE_7772: (1) 1653132407 Code change needed to resolvee RPQ (Read Partition Query) response. (2) 1653166561 tn3270 was coded so that previously saved keymappings were not read in from the style file when the '-t' option was used. (3) 1653166819 The xtn3270 code did not intercept key symbols generated by pressing keys on the numeric keypad. This happens only with xtn3270 (a Motif environment). (4) 1653169169 This fix required coding changes. (5) 1653172395 The tn3270 code handling input for the keyboard and TCP/IP sockets needed to be modified. (6) 4701313593 There was a limitation that COPYPROT was not available in HLLAPI. (7) 5000714089 The printer filter files forced form feeds at the SNALU1MPP default value even if host application did not call for one. (8) 5000715680 The problem here is a straightforward bug in 3270's handling of double byte LU1 datastream. If a double byte character is split across the segment or RU boundary, then the scheduler within 3270 does not correctly handle this - the code gets into the wrong state, and loops infinitely continually outputing incorrect characters. (9) 5003312686 There is a limitation in the R3 version of the hllapi function Send Key. (10) 5003316075 The Form Feed code was converted to a CR/FF instead of just a FF in R3 and R4 versions of the printer filter programs. (11) 5003324368 Field formatting done incorrectly. (12) 1653153494 The keypad does not work with xtn3270. However, the keypad works with tn3270. PHNE_7230: (1) 1653140194 3270 line buffer was not large enough to handle 250 characters. It has been enlarged to do so. (2) 1653147942 3270 was occasionally missing a signal so it waited until the 5 second ticker timed out. The problem has now been fix so that signals are not missed. And the Pause timeout value is now correctly interpreted as half-seconds. (3) 1653152595 Opening the snap3270.stu style file was causing some corruption that resulted in a core dump the next time a style file was opened. (4) 1653155689 Extended characters were not properly handled within the Motif version of 3270. (5) 1653160846 Motif version of 3270 was not doing key-mapping properly for extended characters. (6) 1653163006 This was due to a limitation in the R4.2 version of the program. (7) 4701307876 snapsend only had enough space to take in 129 characters off the command line. This has been increased to 250. (8) 5003285031 When the pointer is outside the emulator window, the UI also picks up and interprets when arrow keys are pressed. This causes the focus to change to the next (previous) button in the application. (9) 5003301358 This is due to a limitation in the 3270 versions R3 and R4. (10) 5003304451 The R4.1 version of snap3270 program has a limitation trying to deal with READ BUFFER command from host. (11) 5003307512 The NL code was converted to a CR/LF instead of just a LF in R3 and R4 versions of the filter programs. SR: 1653153494 5003324368 5003316075 5003312686 5003307512 5003304451 5003301358 5003285031 5000715680 5000714089 4701313593 4701307876 1653172395 1653169169 1653166819 1653166561 1653163006 1653160846 1653155689 1653152595 1653147942 1653140194 1653132407 Patch Files: /opt/sna/lib/X11/C/uid/Snap3270/mainnls.uid /opt/sna/lib/X11/C/uid/Snap3270/mainnls9.uid /opt/sna/lib/X11/C/uid/Snap3270/mainnlsf.uid /opt/sna/lib/X11/ja_JP.SJIS/uid/Snap3270/mainnls.uid /opt/sna/lib/X11/ja_JP.SJIS/uid/Snap3270/mainnls9.uid /opt/sna/lib/X11/ja_JP.SJIS/uid/Snap3270/mainnlsf.uid /opt/sna/lib/X11/ja_JP.eucJP/uid/Snap3270/mainnls.uid /opt/sna/lib/X11/ja_JP.eucJP/uid/Snap3270/mainnls9.uid /opt/sna/lib/X11/ja_JP.eucJP/uid/Snap3270/mainnlsf.uid /opt/tn3270/lib/X11/C/uid/XTn3270/main.uid /opt/tn3270/lib/X11/C/uid/XTn3270/mainf.uid /opt/sna/bin/X11/snap3179g /opt/sna/bin/X11/snap3179gui /opt/sna/bin/X11/xsnap3270d /opt/sna/bin/X11/xsnap3270dui /opt/sna/bin/snap3270d /opt/sna/bin/snap3270d.sjis /opt/sna/bin/snap3270d.sjisui /opt/sna/bin/snap3270dui /opt/sna/bin/snapreceive /opt/sna/bin/snaprtfi /opt/sna/bin/snaprtfl /opt/sna/bin/snaprtfn /opt/sna/bin/snapsend /opt/sna/lib/libhapi.1 /opt/tn3270/bin/X11/xtn3270 /opt/tn3270/bin/X11/xtn3270ui /opt/tn3270/bin/tn3270 /opt/tn3270/bin/tn3270ui /opt/tn3270/bin/tnreceive /opt/tn3270/bin/tnsend what(1) Output: /opt/sna/bin/snapsend: A.10.10.002 SNAplus R4.3 Command-line File Transfer SEND (PHNE_7772: 96/07/15 16:53:54) /opt/sna/bin/snapreceive: A.10.10.002 SNAplus R4.3 Command-line File Transfer RECEIVE (PHNE_7772: 96/07/15 16:54:33) /opt/sna/bin/snap3270d: A.10.10.002 SNAplus R4.3 3270 Emulator program (NLS) (PHNE_7772: 96/07/15 10:05:17) A.10.10.000 SNAplus R4.3 Utility Library (10.10AR: 96/04/24 02:46:07) /opt/sna/bin/snap3270dui: A.10.10.002 SNAplus R4.3 3270 User Interface program (NLS) (PHNE_7772: 96/07/15 15:40:05) A.10.10.000 SNAplus R4.3 Character Windows Library(N LS) (10.10AR: 96/04/11 09:32:59) A.10.10.000 SNAplus R4.3 Utility Library (10.10AR: 96/04/24 02:46:07) /opt/sna/bin/snap3270d.sjis: A.10.10.002 SNAplus R4.3 3270 Emulator program (NLS- Japanese SJIS) (PHNE_7772: 96/07/15 12:36:28) A.10.10.000 SNAplus R4.3 Utility Library (10.10AR: 96/04/24 02:46:07) /opt/sna/bin/snap3270d.sjisui: A.10.10.002 SNAplus R4.3 3270 User Interface program (NLS-Japanese SJIS) (PHNE_7772: 96/07/15 16:17:05) A.10.10.000 SNAplus R4.3 Character Windows Library(N LS) (10.10AR: 96/04/11 09:32:59) A.10.10.000 SNAplus R4.3 Utility Library (10.10AR: 96/04/24 02:46:07) /opt/sna/bin/X11/xsnap3270d: A.10.10.002 SNAplus R4.3 Motif 3270 Emulator program (NLS) (PHNE_7772: 96/07/16 15:52:24) A.10.10.000 SNAplus R4.3 Utility Library (10.10AR: 96/04/24 02:46:07) /opt/sna/bin/X11/xsnap3270dui: A.10.10.002 SNAplus R4.3 Motif 3270 User Interface p rogram (NLS) (PHNE_7772: 96/07/17 10:39:08) A.10.10.000 SNAplus R4.3 Utility Library (10.10AR: 96/04/24 02:46:07) A.10.10.000 SNAplus R4.3 Character Windows Library - Motif version (NLS) (10.10AR: 96/04/11 09:42:45) /opt/sna/bin/X11/snap3179g: A.10.10.002 SNAplus R4.3 3179G Emulator program (NLS ) (PHNE_7772: 96/07/17 07:53:09) A.10.10.000 SNAplus R4.3 Utility Library (10.10AR: 96/04/24 02:46:07) /opt/sna/bin/X11/snap3179gui: A.10.10.002 SNAplus R4.3 3179G User Interface progra m (NLS) (PHNE_7772: 96/07/16 16:22:13) A.10.10.000 SNAplus R4.3 Utility Library (10.10AR: 96/04/24 02:46:07) A.10.10.000 SNAplus R4.3 Character Windows Library - Motif version (NLS) (10.10AR: 96/04/11 09:42:45) /opt/tn3270/bin/tnsend: A.10.10.001 SNAplus R4.3 Command-line File Transfer SEND (TN) (PHNE_7772: 96/07/17 09:37:03) /opt/tn3270/bin/tnreceive: A.10.10.001 SNAplus R4.3 Command-line File Transfer RECEIVE (TN) (PHNE_7772: 96/07/17 09:36:28) /opt/tn3270/bin/tn3270: A.10.10.001 SNAplus R4.3 TN3270 Emulator program (PHNE_7772: 96/07/17 08:02:55) A.10.10.000 SNAplus R4.3 Utility Library (10.10AR: 96/07/17 11:19:57) /opt/tn3270/bin/tn3270ui: A.10.10.001 SNAplus R4.3 TN3270 User Interface progr am (PHNE_7772: 96/07/17 09:18:23) A.10.10.000 SNAplus R4.3 Character Windows Library (10.10AR: 96/04/24 01:47:49) A.10.10.000 SNAplus R4.3 Help Engine Library (10.10AR: 96/04/24 02:56:49) A.10.10.000 SNAplus R4.3 Utility Library (10.10AR: 96/07/17 11:19:57) /opt/tn3270/bin/X11/xtn3270: A.10.10.001 SNAplus R4.3 Motif TN3270 Emulator progr am (PHNE_7772: 96/07/17 09:48:36) A.10.10.000 SNAplus R4.3 Utility Library (10.10AR: 96/07/17 11:19:57) /opt/tn3270/bin/X11/xtn3270ui: A.10.10.001 SNAplus R4.3 Motif TN3270 User Interface program (PHNE_7772: 96/07/17 11:32:02) A.10.10.000 SNAplus R4.3 Help Engine Library (10.10AR: 96/04/24 02:56:49) A.10.10.000 SNAplus R4.3 Utility Library (10.10AR: 96/07/17 11:19:57) A.10.10.000 SNAplus R4.3 Character Windows Library - Motif version (10.10AR: 96/04/24 02:32:15) /opt/sna/bin/snaprtfl: None /opt/sna/bin/snaprtfi: None /opt/sna/bin/snaprtfn: None /opt/sna/lib/libhapi.1: A.10.10.002 SNAplus R4.3 HLLAPI Library (PHNE_7772: 96/07/15 16:51:10) /opt/sna/lib/X11/C/uid/Snap3270/mainnls.uid: None /opt/sna/lib/X11/C/uid/Snap3270/mainnls9.uid: None /opt/sna/lib/X11/C/uid/Snap3270/mainnlsf.uid: None /opt/sna/lib/X11/ja_JP.SJIS/uid/Snap3270/mainnls.uid: None /opt/sna/lib/X11/ja_JP.SJIS/uid/Snap3270/mainnls9.uid: None /opt/sna/lib/X11/ja_JP.SJIS/uid/Snap3270/mainnlsf.uid: None /opt/sna/lib/X11/ja_JP.eucJP/uid/Snap3270/mainnls.uid: None /opt/sna/lib/X11/ja_JP.eucJP/uid/Snap3270/mainnls9.uid: None /opt/sna/lib/X11/ja_JP.eucJP/uid/Snap3270/mainnlsf.uid: None /opt/tn3270/lib/X11/C/uid/XTn3270/main.uid: None /opt/tn3270/lib/X11/C/uid/XTn3270/mainf.uid: None cksum(1) Output: 3840349578 20480 /opt/sna/bin/snapsend 795717660 20480 /opt/sna/bin/snapreceive 1558251327 663552 /opt/sna/bin/snap3270d 4204514631 372736 /opt/sna/bin/snap3270dui 4232881434 663552 /opt/sna/bin/snap3270d.sjis 1139927655 372736 /opt/sna/bin/snap3270d.sjisui 1534686825 770048 /opt/sna/bin/X11/xsnap3270d 3365045851 524288 /opt/sna/bin/X11/xsnap3270dui 3280862699 1056768 /opt/sna/bin/X11/snap3179g 216113672 524288 /opt/sna/bin/X11/snap3179gui 2827021998 20480 /opt/tn3270/bin/tnsend 1283334198 20480 /opt/tn3270/bin/tnreceive 610873774 516096 /opt/tn3270/bin/tn3270 2309761949 364544 /opt/tn3270/bin/tn3270ui 5866691 606208 /opt/tn3270/bin/X11/xtn3270 1775329532 507904 /opt/tn3270/bin/X11/xtn3270ui 1654115965 86016 /opt/sna/bin/snaprtfl 2225943237 86016 /opt/sna/bin/snaprtfi 89960612 86016 /opt/sna/bin/snaprtfn 56888253 77824 /opt/sna/lib/libhapi.1 2070256701 49152 /opt/sna/lib/X11/C/uid/Snap3270/mainnls.uid 1135446608 49152 /opt/sna/lib/X11/C/uid/Snap3270/ mainnls9.uid 3658242568 49152 /opt/sna/lib/X11/C/uid/Snap3270/ mainnlsf.uid 1755893070 49152 /opt/sna/lib/X11/ja_JP.SJIS/uid/Snap3270/ mainnls.uid 207845565 49152 /opt/sna/lib/X11/ja_JP.SJIS/uid/Snap3270/ mainnls9.uid 116307031 49152 /opt/sna/lib/X11/ja_JP.SJIS/uid/Snap3270/ mainnlsf.uid 4148589533 49152 /opt/sna/lib/X11/ja_JP.eucJP/uid/Snap3270/ mainnls.uid 1317997925 49152 /opt/sna/lib/X11/ja_JP.eucJP/uid/Snap3270/ mainnls9.uid 161398018 49152 /opt/sna/lib/X11/ja_JP.eucJP/uid/Snap3270/ mainnlsf.uid 4120135279 49152 /opt/tn3270/lib/X11/C/uid/XTn3270/main.uid 3278171012 49152 /opt/tn3270/lib/X11/C/uid/XTn3270/mainf.uid Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_7230 Equivalent Patches: None Patch Package Size: 7800 Kbytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHNE_7772 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_7772.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHNE_7772.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_7772. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHNE_7772.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_7772.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None