Patch Name: PHNE_14650 Patch Description: s700_800 10.20 R4.4 SNAplus 3270/3179G cumulative patch Creation Date: 98/06/19 Post Date: 98/07/16 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: SNAP-3270 SNAP-3179G R4.4 Filesets: SNAP-COMMON.SNAP-COMMON 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_14650: HANG CORRUPTION PHNE_7875: ABORT CORRUPTION Path Name: /hp-ux_patches/s700_800/10.X/PHNE_14650 Symptoms: PHNE_14650: (1) 5003399337 Pressing the DUP key causes space to be displayed, rather than '*'. DUP function does not work correctly. (2) 5003393827 If you issue an HLLAPI COPY_PS_TO_STRING verb and specify a length of 7 bytes, the return code of the verb will be 7. (3) 5003371435 Style file print utility doesn't work with back level style files. (4) 5003361170 snap3270 66 line printout does not fit onto quarto paper. (5) 1653243311 3270 print jobs hang under load conditions. Also Zombie processes appear in process list. Printouts appear when 3270 exits. (6) 1653237636 In snap3270, if you print transparent data from the host, the filter application adds NL and FF characters in the middle of the output . (7) 1653237602 Print output is compressed because NULLs are not put into output at all (they should be mapped to spaces). (8) 1653236182 If host sends transparent data (255 bytes) then 3270 printing fails. (9) 1653231068 LU1 print of transparent data has been translated from EBCDIC to ASCII. (10) 1653220590 If you perform a copy_string_to_ps where the final character ends up in the final position on the screen, HARC_TRUNCATION is returned - even although all characters were copied. (11) 1653208215 If there are not enough semaphore UNDO structures available, 3270 can hang when the user tries to activate a session. (12) 1653206698 When an application has issued START_HOST_NOTIFY and then issues a PAUSE verb, the PAUSE verb only polls for status changes once every second. Delays can be seen between something happening and the PAUSE completing. (13) 1653195859 The Motif emulator pull down menus (and the menubar itself) refer to function keys - however these do not work when a session is active, because the keys are remapped to be host PF keys. 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_14650: (1) 5003399337 Code change made to resolve problem - ensure DUP function works as in R2. (2) 5003393827 Code changed to return the correct status. (3) 5003371435 Remove Error messages and print helpful message telling user how to update the style file. (4) 5003361170 Add -m option to filter (snaprtfl and snaprtfi only) which causes us to program the laser printer with a top margin of 1 and to surpress the skip of the perforations. We can then print 66 lines on quarto (although the last 2 are lost). (5) 1653243311 Code change to increase number of printer control blocks. Don't wait for child process death in mainline - wait for death of child signal. Replace use of 'system' call with explicit fork/exec code, as this is more reliable. (6) 1653237636 Code changed to suppress all formatting for transparent data. (7) 1653237602 Code changed to intercept NULLs in s3pr1dat in NLS case. (8) 1653236182 Code change made to ensure we do not allow number of bytes sent to print filter application to wrap beyond 1 byte. (9) 1653231068 Code changed to not translate transparent LU1 data if Env variable CONVERTTRANS=1. Fix back applied from V5. (10) 1653220590 Code changed to not return an error in this case (11) 1653208215 The code has been changed to log an error when this problem occurs, and return control to the User Interface. (12) 1653206698 Modify the emulator so that it signals the HLLAPI application using SIGUSR1 every time the PS or OIA is updated if the HLLAPI application has issued a start_host_notify verb on the session which was updated. Note that this means that a signal will be issued whether or not the application is actually sitting in a PAUSE verb (13) 1653195859 Remove references to the function keys from the menu bar. 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: 5003399337 5003393827 5003371435 5003361170 5003348599 5003339895 5003327510 5003325407 5003316471 5003307512 5003285031 5000715680 4701313593 1653243311 1653237636 1653237602 1653236182 1653231068 1653220590 1653208215 1653206698 1653195859 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/snapprtsty /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: A.10.20.301 SNAplus R4.4 3270 Print Filter Utility s naprtfi (PHNE_14650 : 97/11/07 15:54:57) /opt/sna/bin/snaprtfn: A.10.20.301 SNAplus R4.4 3270 Print Filter Utility s naprtfn (PHNE_14650 : 97/11/07 15:55:08) /opt/sna/bin/snaprtfl: A.10.20.301 SNAplus R4.4 3270 Print Filter Utility s naprtfl (PHNE_14650 : 97/11/07 15:54:44) /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/snap3270d: A.10.20.306 SNAplus R4.4 3270 Emulator program (NLS) (PHNE_14650 : 98/03/26 15:49:32) A.10.20.300 SNAplus R4.4 Utility Library (PHNE_14650 : 97/06/16 17:58:50) /opt/sna/bin/snap3270dui: A.10.20.301 SNAplus R4.4 3270 User Interface program (NLS) (PHNE_14650 : 98/02/03 18:17:39) A.10.20.300 SNAplus R4.4 Character Windows Library(N LS) (PHNE_14650 : 97/06/03 17:17:15) A.10.20.300 SNAplus R4.4 Utility Library (PHNE_14650 : 97/06/16 17:58:50) /opt/sna/bin/X11/xsnap3270d: A.10.20.306 SNAplus R4.4 Motif 3270 Emulator program (NLS) (PHNE_14650 : 98/03/26 15:50:23) A.10.20.300 SNAplus R4.4 Utility Library (PHNE_14650 : 97/06/16 17:58:50) /opt/sna/bin/X11/xsnap3270dui: A.10.20.301 SNAplus R4.4 Motif 3270 User Interface p rogram (NLS) (PHNE_14650 : 98/02/03 18:38:05) A.10.20.300 SNAplus R4.4 Utility Library (PHNE_14650 : 97/06/16 17:58:50) A.10.20.300 SNAplus R4.4 Character Windows Library - Motif version (NLS) (PHNE_14650 : 97/06/03 19:20:21) /opt/sna/bin/snap3270d.sjis: A.10.20.306 SNAplus R4.4 3270 Emulator program (NLS- Japanese SJIS) (PHNE_14650 : 98/03/26 15:49:58) A.10.20.300 SNAplus R4.4 Utility Library (PHNE_14650 : 97/06/16 17:58:50) /opt/sna/bin/snap3270d.sjisui: A.10.20.301 SNAplus R4.4 3270 User Interface program (NLS-Japanese SJIS) (PHNE_14650 : 98/02/03 19:26:33) A.10.20.300 SNAplus R4.4 Character Windows Library(N LS) (PHNE_14650 : 97/06/03 17:17:15) A.10.20.300 SNAplus R4.4 Utility Library (PHNE_14650 : 97/06/16 17:58:50) /opt/sna/bin/X11/snap3179g: A.10.20.306 SNAplus R4.4 3179G Emulator program (NLS ) (PHNE_14650 : 98/03/26 15:29:48) A.10.20.300 SNAplus R4.4 Utility Library (PHNE_14650 : 97/06/16 17:58:50) /opt/sna/bin/X11/snap3179gui: A.10.20.301 SNAplus R4.4 3179G User Interface progra m (NLS) (PHNE_14650 : 98/02/03 19:08:30) A.10.20.300 SNAplus R4.4 Utility Library (PHNE_14650 : 97/06/16 17:58:50) A.10.20.300 SNAplus R4.4 Character Windows Library - Motif version (NLS) (PHNE_14650 : 97/06/03 19:20:21) /opt/sna/bin/snapprtsty: A.10.20.300 SNAplus R4.4 3270 Style File Text Output Dbl Byte (PHNE_14650 : 97/06/09 16:58:23) /opt/sna/lib/libhapi.1: A.10.20.201 SNAplus R4.4 HLLAPI Library (PHNE_14650: 97/04/03 17:26:16) /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: 2408382044 86016 /opt/sna/bin/snaprtfi 1150568448 86016 /opt/sna/bin/snaprtfn 275742712 86016 /opt/sna/bin/snaprtfl 3197850849 20480 /opt/sna/bin/snapsend 1221556413 20480 /opt/sna/bin/snapreceive 832951545 651264 /opt/sna/bin/snap3270d 3574244654 368640 /opt/sna/bin/snap3270dui 2042964565 753664 /opt/sna/bin/X11/xsnap3270d 1507165374 516096 /opt/sna/bin/X11/xsnap3270dui 1076059937 651264 /opt/sna/bin/snap3270d.sjis 2372406046 368640 /opt/sna/bin/snap3270d.sjisui 1726253123 1032192 /opt/sna/bin/X11/snap3179g 1399926297 516096 /opt/sna/bin/X11/snap3179gui 3708875947 94347 /opt/sna/bin/snapprtsty 1134873704 77824 /opt/sna/lib/libhapi.1 3081927813 49152 /opt/sna/lib/X11/C/uid/Snap3270/mainnls.uid 1903092562 49152 /opt/sna/lib/X11/C/uid/Snap3270/ mainnls9.uid 4149025382 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: PHNE_7875 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_14650 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_14650.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_14650.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_14650. 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_14650.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_14650.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None