Patch Name: PHNE_9662 Patch Description: s700_800 10.0X SNAplus 3270/3179G R4.1/R4.2 patch Creation Date: 98/04/15 Post Date: 98/04/18 Hardware Platforms - OS Releases: s700: 10.00 10.01 s800: 10.00 10.01 Products: SNAplus3270 SNAplus3179g R4.2 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 Release Critical: Yes PHNE_9662: HANG PHNE_9661: HANG CORRUPTION PHNE_7011: ABORT Path Name: /hp-ux_patches/s700_800/10.X/PHNE_9662 Symptoms: PHNE_9662: (1) 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. (2) 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. (3) 1653208215 If there are not enough semaphore UNDO structures available, 3270 can hang when the user tries to activate a session. (4) 5003371435 Style file print utility doesn't work with back level style files. (5) 5003361170 snap3270 66 line printout does not fit onto quarto paper. PHNE_9661: (1) 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. (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) 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) 5003307512 R3 snaplus 3270 print filters put CR/LF sequence in output file when only single LF is received from the host. (11) 5003312686 When sending numeric data to a protected numeric field, snaplus hllapi failed with a sendkey error 9. (12) 5003316075 R3 snaplus 3270 print filters put CR/FF sequence in output file when only a single FF is received from the host. (13) 5003339895 Intermittent SNAplus3270 printers hang.The error log reports :-SNA0425: write failed with errno 4 . (14) 5003316471 SNAplus R4.1 - Unable to estalish greater than 15 snaplus3270 emulator sessions. PHNE_7011: (1) 1653133371 Currently, 3270 just aborts if the Code Page # is left at 0. The lack of any error messages makes this problem difficult to track down. A message logged on the 3270 screen as well as the audit or error files would facilitate the trouble shooting when this problem occurs. (2) 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. (3) 1653140400 After the presentation space is modified (using HLLAPI or the keyboard) not all of the data is sent to the host. Apparently, the data is just truncated. (4) 1653142679 The British pound character (ASCII 0xBB), along with other ASCII characters in the range 0xA0 - OxFF, does not display correctly in the 3270 UI. The attributes for these characters are different and on some terminals they only display as blank spaces. (5) 1653144204 SNAplus 3270 does not properly set the model screen size when it is done from within the Customize/Session window. Even if the session is deactivated and reactivated. (6) 1653144667 SNAplus 3270 core dumps while trying to receive a file from the host. This only happens when the customer uses snapreceive and not when a file transfer is initiated from within the 3270 screens. (7) 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. (8) 1653152595 3270 core dumps when trying to open a style file after having opened the snap3270.stu style file. (9) 1653155689 Extended characters were not usable within Motif version of 3270. (10) 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. (11) 1653163006 The print functions of snap3270 do not work in the R4.2 release. (12) 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. (13) 5000712778 It appeared that 3270 printing was not adhering to the SNALU1MPP and SNAPRMPL environment variables. (14) 5003285031 The customer is distracted by the movement of the focus along the function keys. (15) 5003301358 3270 is not allowing spaces to be valid input in numeric fields. (16) 5003304451 The snap3270 program core dumps when trying to deal with READ BUFFER command from host. Defect Description: PHNE_9662: (1) 1653195859 Remove references to the function keys from the menu bar. (2) 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 (3) 1653208215 The code has been changed to log an error when this problem occurs, and return control to the User Interface. (4) 5003371435 Remove Error messages and print helpful message telling user how to update the style file. (5) 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). PHNE_9661: (1) 1653186353 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) 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) 5003307512 The NL code was converted to a CR/LF instead of just a LF in R3 and R4 versions of the filter programs. (11) 5003312686 There is a limitation in the R3 version of the hllapi function Send Key. (12) 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. (13) 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. (14) 5003316471 The semume and semnu parameters in the kernel were set to a low value. PHNE_7011: (1) 1653133371 In this case, the problem is that the user was trying to use a user defined translation table, but had not included the proper code page number in the text3270 file. In this case, 3270 now prints an error message and then aborts. (2) 1653140194 3270 line buffer was not large enough to handle 250 characters. It has been enlarged to do so. (3) 1653140400 There was a problem in 3270 where it only sent one RU size worth of data to the host. If the presentation space had major modifications, 3270 would just truncate the data to fit into one RU. (4) 1653142679 There was special processing performed for these characters to correctly print double byte chars. Now, we only do that special processing if the LANG is set to a double byte language (5) 1653144204 The information about the model change was not being handled properly by the UI, so it did not resize the screen. (6) 1653144667 The problem is caused by the long path names involved. 3270 buffers were getting overwritten. (7) 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. (8) 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. (9) 1653155689 Extended characters were not properly handled within the Motif version of 3270. (10) 1653160846 Motif version of 3270 was not doing key-mapping properly for extended characters. (11) 1653163006 This was due to a limitation in the R4.2 version of the program. (12) 4701307876 snapsend only had enough space to take in 129 characters off the command line. This has been increased to 250. (13) 5000712778 In some cases, 3270 would fail to advance the printer to the next line if it printed a full line of blanks. This caused the printer to get out of sync with the line count, and page breaks occurred at the wrong time. (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. (15) 5003301358 This is due to a limitation in the 3270 versions R3 and R4. (16) 5003304451 The R4.1 version of snap3270 program has a limitation trying to deal with READ BUFFER command from host. SR: 5003371435 5003361170 5003348599 5003339895 5003327510 5003325407 5003316471 5003316075 5003312686 5003307512 5003304451 5003301358 5003285031 5000715680 5000714089 5000712778 4701313593 4701307876 1653208215 1653206698 1653195859 1653186353 1653185579 1653172486 1653163006 1653160846 1653155689 1653152595 1653147942 1653144667 1653144204 1653142679 1653140400 1653140194 1653133371 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/lib/libhapi.o /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: None /opt/sna/bin/snaprtfn: None /opt/sna/bin/snaprtfl: None /opt/sna/bin/snapsend: A.10.01.101 SNAplus R4.2 Command-line File Transfer SEND (PHNE_7011: 96/04/03 10:11:28) /opt/sna/bin/snapreceive: A.10.01.101 SNAplus R4.2 Command-line File Transfer RECEIVE (PHNE_7011: 96/04/03 10:10:54) /opt/sna/bin/snap3270d: A.10.01.212 SNAplus R4.2 3270 Emulator program (NLS) (PHNE_9662 : 97/04/29 15:36:18) A.10.01.200 SNAplus R4.2 Utility Library (PHNE_9662 : 96/11/15 17:39:49) /opt/sna/bin/snap3270dui: A.10.01.206 SNAplus R4.2 3270 User Interface program (NLS) (PHNE_9662 : 97/04/29 15:33:35) A.10.01.200 SNAplus R4.2 Character Windows Library(N LS) (PHNE_9662 : 96/11/15 17:25:01) A.10.01.200 SNAplus R4.2 Utility Library (PHNE_9662 : 96/11/15 17:39:49) /opt/sna/bin/snap3270d.sjis: A.10.01.212 SNAplus R4.2 3270 Emulator program (NLS- Japanese SJIS) (PHNE_9662 : 97/04/29 15:45:09) A.10.01.200 SNAplus R4.2 Utility Library (PHNE_9662 : 96/11/15 17:39:49) /opt/sna/bin/snap3270d.sjisui: A.10.01.205 SNAplus R4.2 3270 User Interface program (NLS-Japanese SJIS) (PHNE_9662 : 97/04/29 15:30:15) A.10.01.200 SNAplus R4.2 Character Windows Library(N LS) (PHNE_9662 : 96/11/15 17:25:01) A.10.01.200 SNAplus R4.2 Utility Library (PHNE_9662 : 96/11/15 17:39:49) /opt/sna/bin/X11/xsnap3270d: A.10.01.212 SNAplus R4.2 Motif 3270 Emulator program (NLS) (PHNE_9662 : 97/04/29 15:55:44) A.10.01.200 SNAplus R4.2 Utility Library (PHNE_9662 : 96/11/15 17:39:49) /opt/sna/bin/X11/xsnap3270dui: A.10.01.205 SNAplus R4.2 Motif 3270 User Interface p rogram (NLS) (PHNE_9662 : 97/04/29 16:08:40) A.10.01.200 SNAplus R4.2 Utility Library (PHNE_9662 : 96/11/15 17:39:49) A.10.01.200 SNAplus R4.2 Character Windows Library - Motif version (NLS) (PHNE_9662 : 96/11/15 19:13:25) /opt/sna/bin/X11/snap3179g: A.10.01.212 SNAplus R4.2 3179G Emulator program (NLS ) (PHNE_9662 : 97/04/29 16:13:38) A.10.01.200 SNAplus R4.2 Utility Library (PHNE_9662 : 96/11/15 17:39:49) /opt/sna/bin/X11/snap3179gui: A.10.01.205 SNAplus R4.2 3179G User Interface progra m (NLS) (PHNE_9662 : 97/04/29 16:30:54) A.10.01.200 SNAplus R4.2 Utility Library (PHNE_9662 : 96/11/15 17:39:49) A.10.01.200 SNAplus R4.2 Character Windows Library - Motif version (NLS) (PHNE_9662 : 96/11/15 19:13:25) /opt/sna/lib/libhapi.1: A.10.01.204 SNAplus R4.2 HLLAPI Library (PHNE_9662 : 97/04/03 14:18:41) /opt/sna/lib/libhapi.o: A.10.01.204 SNAplus R4.2 HLLAPI Library (PHNE_9662 : 97/04/03 14:19:18) /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/sna/bin/snapprtsty: A.10.01.300 SNAplus R4.2 3270 Style File Text Output Dbl Byte (PHNE_9662 : 97/06/09 16:58:23) cksum(1) Output: 3696569179 86016 /opt/sna/bin/snaprtfi 1814900689 86016 /opt/sna/bin/snaprtfn 2164961356 86016 /opt/sna/bin/snaprtfl 3617636706 24576 /opt/sna/bin/snapsend 1397811334 24576 /opt/sna/bin/snapreceive 309641196 647168 /opt/sna/bin/snap3270d 1847109770 368640 /opt/sna/bin/snap3270dui 1715860102 647168 /opt/sna/bin/snap3270d.sjis 2437615469 368640 /opt/sna/bin/snap3270d.sjisui 4187857105 749568 /opt/sna/bin/X11/xsnap3270d 3842817356 516096 /opt/sna/bin/X11/xsnap3270dui 1707357890 1028096 /opt/sna/bin/X11/snap3179g 4029603661 516096 /opt/sna/bin/X11/snap3179gui 2857106343 73728 /opt/sna/lib/libhapi.1 382446815 37092 /opt/sna/lib/libhapi.o 3449968805 49152 /opt/sna/lib/X11/C/uid/Snap3270/mainnls.uid 1178927582 49152 /opt/sna/lib/X11/C/uid/Snap3270/ mainnls9.uid 2070840608 49152 /opt/sna/lib/X11/C/uid/Snap3270/ mainnlsf.uid 1276113490 49152 /opt/sna/lib/X11/ja_JP.SJIS/uid/Snap3270/ mainnls.uid 1913640846 49152 /opt/sna/lib/X11/ja_JP.SJIS/uid/Snap3270/ mainnls9.uid 1768928872 49152 /opt/sna/lib/X11/ja_JP.SJIS/uid/Snap3270/ mainnlsf.uid 1890155477 49152 /opt/sna/lib/X11/ja_JP.eucJP/uid/Snap3270/ mainnls.uid 2642688939 49152 /opt/sna/lib/X11/ja_JP.eucJP/uid/Snap3270/ mainnls9.uid 2097426995 49152 /opt/sna/lib/X11/ja_JP.eucJP/uid/Snap3270/ mainnlsf.uid 4024158673 94347 /opt/sna/bin/snapprtsty Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_7011 PHNE_9661 Equivalent Patches: None Patch Package Size: 5740 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_9662 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_9662.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_9662.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_9662. 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_9662.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_9662.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None