Patch Name: PHNE_7875 Patch Description: s700_800 10.20 SNAplus 3270/3179G R4.4 cumulative patch Creation Date: 97/02/21 Post Date: 97/04/25 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: SNAplus 3270/3179G R4.4 Filesets: 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_7875: ABORT CORRUPTION Path Name: /hp-ux_patches/s700_800/10.X/PHNE_7875 Symptoms: PHNE_7875: (1) 1653186353 Symptoms of problem: A line feed is inserted in LU3 unformatted print after 132 characters (as per the 3270 CUD). Since other implementations permit longer lines there is a requirement to enhance the product. (2) 5003348599 snap3270 printer inserts extra LF in output if EM received when cursor at start of a line (column 0). (3) 1653185579 SNA0420: PROG check 442 occurs when receiving certain print from the host. The RU was rejected with a sense code of 081C. In addition the following was logged in sna.err SNA0405: Error writing to lp, rc (4) 4701313593 There was a limitation that COPYPROT was not available in HLLAPI. (5) 5003325407 NLS Printer gives prog check 442 when running with 'formatted print' selected. If 'unformatted print' is selected, then the SPOF output is corrupt - and the snaprtf[ln] program complains when the user attempts to format the output. The problem only occurs when data > 250 characters/line received with no new lines and the SNALU1MPP environment variable is set. (6) 5003327510 xsnap3270 ignores the keystrokes f21-24(shift f9-f12). (7) 1653172486 When in hostapplication 'MEMO' while editing a mail message the ATTN function (which is mapped to the ESC key) won't work properly: When pressing ESC nothing happens on the screen. Their expectation is to jump to the 'Netmaster Menu' which is an umbrella application to provide access to several host applications without logging off each time. This works fine on an original IBM terminal. With xsnap3270 instead when finally doing another function (pressing or another function key) the expected jump to the umbrella application 'Netmaster' at that moment will be performed. At other screens of MEMO or within other applications ATTN will work fine like expected. (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) 5003307512 R3 snaplus 3270 print filters put CR/LF sequence in output file when only single LF is received from the host. (10) 5003339895 Intermittent SNAplus3270 printers hang.The error log reports :-SNA0425: write failed with errno 4 . (11) 5003316471 SNAplus R4.1 - Unable to estalish greater than 15 snaplus3270 emulator sessions. (12) 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. (13) 1653160846 The user runs xsnap3270. Then goes to Key definitions in the Customize menu to change the mapping of characters. He 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. (14) 5003285031 The customer is distracted by the movement of the focus along the function keys. Defect Description: PHNE_7875: (1) 1653186353 Details of fix applied: Use the existing environment variable SNALU1MPP to control this. It can take any value from 1-250 default 132. Note that only unformatted LU3 print affected by this enhancement (WCC bits 2 and 3 zero). (2) 5003348599 This problem was originally resolved with an R3 patch for SR1653101220 . The fix was accidentally omitted from the R4 release due to not being correctly merged forwards . The source code change has now been reapplied. (3) 1653185579 This problem is actually the same cause as SR5003325407,which was a problem found on SNAPlus R3 . (4) 4701313593 There was a limitation that COPYPROT was not available in HLLAPI. (5) 5003325407 Problem only shows with large value of SNALU1MPP, and was because there is a 1 byte variable trying to hold a 2 byte quantity in the NLS printer code. (6) 5003327510 HP Keyboards return different control codes for shift F9-F12 than other keyboards (they do not return F21-24, instead they returned Keypad F1-F4). (7) 1653172486 Extra check improperly done in program. (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) 5003307512 The NL code was converted to a CR/LF instead of just a LF in R3 and R4 versions of the filter programs. (10) 5003339895 The problem was occurring because of a bug in the 3270 printer code. When operating under stress conditions, it is possible for the pipe between the 3270 emulator and the filter application to fill up - which results in a signal being sent to the emulator. The signal causes a 'write' to the pipe to fail with EINTR. 3270 was attempting to check for this case, but unfortunately made an error log before checking 'errno' - the error log was successful written to file, and the file IO call reset errno before we tested it for the failure on the pipe. (11) 5003316471 The semume and semnu parameters in the kernel were set to a low value. (12) 1653140194 3270 line buffer was not large enough to handle 250 characters. It has been enlarged to do so. (13) 1653160846 Motif version of 3270 was not doing key-mapping properly for extended characters. (14) 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. SR: 5003348599 5003339895 5003327510 5003325407 5003316471 5003307512 5003285031 5000715680 4701313593 1653186353 1653185579 1653172486 1653160846 1653140194 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/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 what(1) Output: /opt/sna/bin/snaprtfi: None /opt/sna/bin/snaprtfl: None /opt/sna/bin/snaprtfn: None /opt/sna/bin/snapsend: A.10.20.200 SNAplus R4.4 Command-line File Transfer SEND (PHNE_7875 : 97/01/21 16:53:25) /opt/sna/bin/snapreceive: A.10.20.200 SNAplus R4.4 Command-line File Transfer RECEIVE (PHNE_7875 : 97/01/21 16:21:47) /opt/sna/bin/snap3270dui: A.10.20.200 SNAplus R4.4 3270 User Interface program (NLS) (PHNE_7875 : 97/01/21 14:30:13) A.10.20.200 SNAplus R4.4 Character Windows Library(N LS) (PHNE_7875 : 97/01/21 13:58:07) A.10.20.200 SNAplus R4.4 Utility Library (PHNE_7875 : 97/01/21 14:10:40) /opt/sna/bin/X11/xsnap3270dui: A.10.20.200 SNAplus R4.4 Motif 3270 User Interface p rogram (NLS) (PHNE_7875 : 97/01/21 17:58:44) A.10.20.200 SNAplus R4.4 Utility Library (PHNE_7875 : 97/01/21 14:10:40) A.10.20.200 SNAplus R4.4 Character Windows Library - Motif version (NLS) (PHNE_7875 : 97/01/21 16:54:07) /opt/sna/bin/snap3270d: A.10.20.202 SNAplus R4.4 3270 Emulator program (NLS) (PHNE_7875 : 97/01/07 18:15:52) A.10.20.200 SNAplus R4.4 Utility Library (PHNE_7875 : 96/12/12 17:18:12) /opt/sna/bin/X11/xsnap3270d: A.10.20.202 SNAplus R4.4 Motif 3270 Emulator program (NLS) (PHNE_7875 : 97/01/07 18:17:33) A.10.20.200 SNAplus R4.4 Utility Library (PHNE_7875 : 96/12/12 17:18:12) /opt/sna/bin/snap3270d.sjis: A.10.20.202 SNAplus R4.4 3270 Emulator program (NLS- Japanese SJIS) (PHNE_7875 : 97/01/07 18:19:56) A.10.20.200 SNAplus R4.4 Utility Library (PHNE_7875 : 96/12/12 17:18:12) /opt/sna/bin/snap3270d.sjisui: A.10.20.200 SNAplus R4.4 3270 User Interface program (NLS-Japanese SJIS) (PHNE_7875 : 97/01/21 20:15:40) A.10.20.200 SNAplus R4.4 Character Windows Library(N LS) (PHNE_7875 : 97/01/21 13:58:07) A.10.20.200 SNAplus R4.4 Utility Library (PHNE_7875 : 97/01/21 14:10:40) /opt/sna/bin/X11/snap3179g: A.10.20.202 SNAplus R4.4 3179G Emulator program (NLS ) (PHNE_7875 : 97/01/07 18:19:02) A.10.20.200 SNAplus R4.4 Utility Library (PHNE_7875 : 96/12/12 17:18:12) /opt/sna/bin/X11/snap3179gui: A.10.20.200 SNAplus R4.4 3179G User Interface progra m (NLS) (PHNE_7875 : 97/01/21 18:59:43) A.10.20.200 SNAplus R4.4 Utility Library (PHNE_7875 : 97/01/21 14:10:40) A.10.20.200 SNAplus R4.4 Character Windows Library - Motif version (NLS) (PHNE_7875 : 97/01/21 16:54:07) /opt/sna/lib/libhapi.1: A.10.20.200 SNAplus R4.4 HLLAPI Library (PHNE_7875 : 97/01/21 14:07:34) /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 cksum(1) Output: 3671533290 86016 /opt/sna/bin/snaprtfi 1651871767 86016 /opt/sna/bin/snaprtfl 2038501352 86016 /opt/sna/bin/snaprtfn 3197850849 20480 /opt/sna/bin/snapsend 1221556413 20480 /opt/sna/bin/snapreceive 3498339091 376832 /opt/sna/bin/snap3270dui 3973206438 528384 /opt/sna/bin/X11/xsnap3270dui 3755489227 663552 /opt/sna/bin/snap3270d 572105758 770048 /opt/sna/bin/X11/xsnap3270d 1796694440 663552 /opt/sna/bin/snap3270d.sjis 3436886800 376832 /opt/sna/bin/snap3270d.sjisui 2445348337 1056768 /opt/sna/bin/X11/snap3179g 3629761155 528384 /opt/sna/bin/X11/snap3179gui 3366849373 77824 /opt/sna/lib/libhapi.1 396086448 49152 /opt/sna/lib/X11/C/uid/Snap3270/mainnls.uid 1093451220 49152 /opt/sna/lib/X11/C/uid/Snap3270/ mainnls9.uid 3055720680 49152 /opt/sna/lib/X11/C/uid/Snap3270/ mainnlsf.uid 1242836945 49152 /opt/sna/lib/X11/ja_JP.SJIS/uid/Snap3270/ mainnls.uid 2320259924 49152 /opt/sna/lib/X11/ja_JP.SJIS/uid/Snap3270/ mainnls9.uid 3318764497 49152 /opt/sna/lib/X11/ja_JP.SJIS/uid/Snap3270/ mainnlsf.uid 1298539982 49152 /opt/sna/lib/X11/ja_JP.eucJP/uid/Snap3270/ mainnls.uid 975957814 49152 /opt/sna/lib/X11/ja_JP.eucJP/uid/Snap3270/ mainnls9.uid 3122355821 49152 /opt/sna/lib/X11/ja_JP.eucJP/uid/Snap3270/ mainnlsf.uid Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 5720 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_7875 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_7875.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_7875.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_7875. 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_7875.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_7875.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None