Patch Name: PHNE_8959 Patch Description: s700_800 10.20 R5.1 SNAplus2 3270 cumulative patch Creation Date: 97/04/08 Post Date: 97/10/29 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: SNAplus2-3270 R5.1 Filesets: SNAplus2-3270.SNAP2-NLS SNAplus2-3270.SNAP2-3270 Automatic Reboot?: No Status: General Superseded Critical: Yes PHNE_8959: HANG Path Name: /hp-ux_patches/s700_800/10.X/PHNE_8959 Symptoms: PHNE_8959: (1) 1653060566 Symptoms of problem: Enhancement to use new style cut/paste buffers. (2) 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. (3) 1653186353 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. (4) 1653187948 Symptoms of problem: After receiving NULL RU, NLS printing outputs CR after each character. (5) 1653194779 3270 help screens display some of the help information, but most of it is corrupt or incorrectly positioned. (6) 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. (7) 4701313593 There was a limitation that COPYPROT was not available in HLLAPI. (8) 5000714089 Customer's printouts were not formatted correctly due to form feeds being added at the SNALU1MPP default values. (9) 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. (10) 5003271437 Symptoms of problem: Want to be able to move cursor with mouse in xsnap3270. (11) 5003291930 For R3 and R4, 3270 only has 10 characters allotted for the printer field on the status line. (12) 5003307512 R3 snaplus 3270 print filters put CR/LF sequence in output file when only single LF is received from the host. (13) 5003312686 When sending numeric data to a protected numeric field, snaplus hllapi failed with a sendkey error 9. (14) 5003316075 R3 snaplus 3270 print filters put CR/FF sequence in output file when only a single FF is received from the host. (15) 5003316471 SNAplus R4.1 - Unable to estalish greater than 15 snaplus3270 emulator sessions. (16) 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. (17) 5003327510 xsnap3270 ignores the keystrokes f21-24(shift f9-f12). Defect Description: PHNE_8959: (1) 1653060566 Enhancement to use new style cut/paste buffers. (2) 1653172486 Extra check improperly done in program. (3) 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). (4) 1653187948 Details of fix applied: Ensure that formatting output is sent to the filter appication immediately, rather than waiting for actual print data to be received otherwise it will be lost). (5) 1653194779 The problem is resolved by removing the ^M's from .htx' files as these cause the help code to go wrong. (6) 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. (7) 4701313593 There was a limitation that COPYPROT was not available in HLLAPI. (8) 5000714089 The printer filter files forced form feeds at the SNALU1MPP default value even if host application did not call for one. (9) 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. (10) 5003271437 Details of Fix: Enhanced product to be able to move cursor with mouse in xsnap3270. (11) 5003291930 Details of Fix applied: The printer name in 3270 must fit into 10 characters, Enhanced the product so that it picks out the last 10 characters of the executable name, rather than the first 10 (which could be just a path). (12) 5003307512 The NL code was converted to a CR/LF instead of just a LF in R3 and R4 versions of the filter programs. (13) 5003312686 There is a limitation in the R3 version of the hllapi function Send Key. (14) 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. (15) 5003316471 The semume and semnu parameters in the kernel were set to a low value. (16) 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. (17) 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). SR: 5003327510 5003325407 5003316471 5003316075 5003312686 5003307512 5003291930 5003271437 5000715680 5000714089 4701313593 1653206698 1653194779 1653187948 1653186353 1653172486 1653060566 Patch Files: /opt/sna/include/hapi_c.h /opt/sna/lib/nls/msg/C/sna3270.htx /opt/sna/lib/nls/msg/C/sna3270p.htx /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/snap3270dui /opt/sna/lib/libhapi.1 what(1) Output: /opt/sna/bin/snap3270d: ]B.10.20.007 SNAplus2 R5.1 3270 Emulator program - N LS ] (PHNE_8959 : 97/04/04 09:10:52) ] /opt/sna/bin/snap3270dui: ]B.10.20.004 SNAplus2 R5.1 3270 User Interface progr am - NLS ] (PHNE_8959 : 97/03/11 10:55:20) ] /opt/sna/bin/X11/snap3179g: ]B.10.20.008 SNAplus2 R5.1 3179G emulator - NLS ] (PHNE_8959 : 97/04/04 09:32:26) ] /opt/sna/bin/X11/snap3179gui: ]B.10.20.005 SNAplus2 R5.1 3179G User Inteface Progr am - NLS ] (PHNE_8959 : 97/03/13 11:31:33) ] /opt/sna/bin/X11/xsnap3270d: ]B.10.20.007 SNAplus2 R5.1 3270 Emulator program - M otif - NLS ] (PHNE_8959 : 97/04/04 09:25:02) ] /opt/sna/bin/X11/xsnap3270dui: ]B.10.20.004 SNAplus2 R5.1 3270 User Interface progr am - Motif - NLS ] (PHNE_8959 : 97/03/11 11:27:40) ] /opt/sna/bin/snap3270d_sjis: ]B.10.20.004 SNAplus2 R5.1 3270 Emulator program - N LS (Japanese SJIS) ] (PHNE_8959 : 97/04/04 09:16:48) ] /opt/sna/lib/nls/msg/C/sna3270p.htx: None /opt/sna/lib/nls/msg/C/sna3270.htx: None /opt/sna/lib/libhapi.1: ]B.10.20.002 SNAplus2 R5.1 HLLAPI Verb Library Routi nes ] (PHNE_8959 : 97/04/04 09:33:08) ] /opt/sna/include/hapi_c.h: None cksum(1) Output: 2102227853 643072 /opt/sna/bin/snap3270d 2890889762 368640 /opt/sna/bin/snap3270dui 445293936 1040384 /opt/sna/bin/X11/snap3179g 3255592554 516096 /opt/sna/bin/X11/snap3179gui 758185183 757760 /opt/sna/bin/X11/xsnap3270d 2281543532 516096 /opt/sna/bin/X11/xsnap3270dui 293006355 643072 /opt/sna/bin/snap3270d_sjis 3064062468 30074 /opt/sna/lib/nls/msg/C/sna3270p.htx 3868953024 73486 /opt/sna/lib/nls/msg/C/sna3270.htx 3920107190 86016 /opt/sna/lib/libhapi.1 3596308835 10713 /opt/sna/include/hapi_c.h Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 4640 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_8959 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_8959.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_8959.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_8959. 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_8959.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_8959.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: Stop SNA daemon before installing patch (snap stop). After installing the patch start the SNA daemon (snap start).