Patch Name: PHSS_28680 Patch Description: s700_800 11.00 XClients Periodic Patch Creation Date: 03/03/12 Post Date: 03/05/13 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: X11.X11-JPN-S-MSG,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP X11.X11-RUN-CTRB,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP X11.X11-RUN-CL,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP X11.X11-RUN-CL-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHSS_28680 Symptoms: PHSS_28680: 1. xterm, hpterm and dtterm were not updating the wtmp file, when invoked with -ls option. PHSS_27871: 1. Window manager doesn't shift focus to next window/icon when capslock is set and alt-tab is pressed. 2. Invoking terminal with -e option does not show correct IDLE time when viewed by 'w' command. 3. The window manager menu items other than the default are not visible for a 10.20 application when displayed on 11.x machines. PHSS_26497: 1. Changing certain CDE applications so that they always use the message catalogs in "/usr/dt/lib/nls/msg/%L". 2. tn3270 keys are not enabled in hpterm directly without modifying key mapping. 3. xpr.cat in ja_JP.SJIS is not updated. PHSS_25200: 1. When toplevel windows are opened and closed, 11.* mwm consumes significantly more memory than 10.20. 2. support for new codeset gb18030 is required in CDE. PHSS_23904: 1. -tm option in dtterm, hpterm and xterm to change a tty setting, does not give proper result for invalid entries. 2. hpterm in patch PHCO_18332 gives 'unknown' for 'ttytype -a'. PHSS_20866: 1. Mwm dumps core at 11.0 when empty menu is defined. 2. 11.0 mwm needs the resource windowMenu to be declared to read mwmrc file. 3. Supported xterm has problem with User ID > 60,000. 4. "who -R" shows improper hostname who logged from dtterm, hpterm, xterm when the hostname is greater than 16 chars. 5. hpterm(1) says /usr/etc/X11/Xconsoles, should be /etc/X11/Xconsoles. 6. Buffer overflows. PHSS_17421: 1) Include iso_8859.15 related changes. PHSS_15433: 1. Potential buffer overflow in xterm. Defect Description: PHSS_28680: 1. dtterm, hpterm, and xterm do not create entries in wtmp. Resolution: The xterm, hpterm and dtterm were modified to update the /etc/wtmp file when invoked with -ls option. PHSS_27871: 1. dtwm: alt-tab fails if capslock set and Alt and Mode_switch on Mod1. Resolution: Window manager has been modified such that it shifts focus between windows when capslock is set and alt-tab is pressed. 2. xterm -e program fails to report correct idle time when viewed by 'w' command. Resolution: The solution updates the access time of the tty file whenever -e option of terminal is used. 3. dtwm still has problems with Motif 1.2 menus under some multi byte locales. Resolution: Window manager is fixed to display the MWM menu items that were invisible for a 10.20 application when displayed on a 11.x machine. PHSS_26497: 1. Changing certain CDE applications so that they always use the message catalogs in "/usr/dt/lib/nls/msg/%L". Resolution: dtsession, dtmail, dtaction, dtprintinfo and dtterm are changed so that they always use the message catalogs in "/usr/dt/lib/nls/msg/%L" and hpterm uses those in "/usr/lib/nls/msg/%L". 2. Changes needed in hpterm to work better with tn3270 keys. Resolution: tn3270 keys are enabled in hpterm using an environment variable HPTERM_3270_KEYS. 3. xpr.cat in ja_JP.SJIS is not updated. Resolution: The xpr.cat message catalog file has been updated for the ja_JP.SJIS locale. PHSS_25200: 1. mwm consumes significantly more memory on 11.* than on 10.20. Resolution: 11.* mwm won't grow memory when toplevel windows are opened and closed. 2. support for new codeset gb18030 is required in CDE. Resolution: The new codeset gb18030 is supported in CDE. PHSS_23904: 1. -tm option in dtterm, hpterm and xterm, to disable a tty setting does not work. Resolution: Proper validation has been added so that the -tm option in dtterm, hpterm and xterm gives proper results for invalid entries. 2. hpterm fails with the ttytype of PHCO_18332. Resolution: hpterm is modified so that it returns -1 for all ioctls, it doesn't implement. PHSS_20866: 1. Mwm dumps core at 11.0 when empty menu is defined. Resolution: Fix is made in mwm to handle empty menu definitions. 2. 11.0 mwm needs the resource windowMenu to be declared to read mwmrc file. Resolution: The variable, defaultSystemMenuName was properly assigned with "DefaultWindowMenu" in mwm so that resource windowMenu need not be declared to read mwmrc file. 3. Supported xterm has problem with User ID > 60,000. Resolution: xterm supports user id > 60,000 after this fix. 4. who -R shows improper hostname who logged from hpterm, xterm, dtterm. Resolution: Fix was made so that "who -R" shows proper hostname for users using dtterm,hpterm,xterm when the hostname is greater than 16 chars. 5. hpterm(1) says /usr/etc/X11/Xconsoles, should be /etc/X11/Xconsoles. Resolution: The fix has been made to give the correct path for Xconsoles in man hpterm(1). 6. Buffer Overflows. Resolution: Buffer overflow problem fixed. PHSS_17421: 1) Include iso_8859.15 related changes. Resolution: Introducing new files for euro related functionality. PHSS_15433: 1. Potential buffer overflow in xterm. Enhancement: No (superseded patches contained enhancements) PHSS_26497: Enhancements were delivered in this patch or one it has replaced. Please review the Defect Description text for more information. SR: 8606193796 8606260665 8606235437 8606249788 8606231863 8606226935 8606238425 8606186593 8606217546 5003462663 8606127430 5003466227 8606102771 8606108880 8606102998 8606113980 4701395731 Patch Files: X11.X11-JPN-S-MSG,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/lib/nls/msg/ja_JP.SJIS/xpr.cat X11.X11-RUN-CTRB,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/contrib/bin/X11/xterm X11.X11-RUN-CL,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/lib/nls/msg/C/hpterm.cat /usr/lib/X11/nls/XhpV3/gb18030 /usr/lib/X11/nls/XhpV3/iso885915 /usr/lib/X11/nls/XhpV3/iso885915@euro /usr/bin/X11/mwm /usr/bin/X11/xterm /usr/bin/X11/hpterm X11.X11-RUN-CL-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/man1.Z/hpterm.1 what(1) Output: X11.X11-JPN-S-MSG,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/lib/nls/msg/ja_JP.SJIS/xpr.cat: Message catalog source $Revision: 1.5 $ X11.X11-RUN-CTRB,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/contrib/bin/X11/xterm: X Window System, Version 11 R6+ HP-UX B.11.00.00 Mar ch 2000 patch release (build date: Mon Feb 28 10:44:19 IST 2000) X11.X11-RUN-CL,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/lib/nls/msg/C/hpterm.cat: None /usr/lib/X11/nls/XhpV3/gb18030: None /usr/lib/X11/nls/XhpV3/iso885915: None /usr/lib/X11/nls/XhpV3/iso885915@euro: None /usr/bin/X11/mwm: OSF/Motif mwm 2.0 Release /usr/bin/X11/xterm: X Window System, Version 11 R5+ HP-UX B.10.20.030306 CDE Patch Release (build date: Thu Mar 6 09:35:14 IST 2003) xterm: $Revision: 1.16 $ /usr/bin/X11/hpterm: X Window System, Version 11 R5+ HP-UX B.10.20.030306 CDE Patch Release (build date: Thu Mar 6 11:11:22 IST 2003) hpterm: $Revision: 2.130 $ X11.X11-RUN-CL-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/man1.Z/hpterm.1: None cksum(1) Output: X11.X11-JPN-S-MSG,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 3092020565 3519 /usr/lib/nls/msg/ja_JP.SJIS/xpr.cat X11.X11-RUN-CTRB,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 917197983 462848 /usr/contrib/bin/X11/xterm X11.X11-RUN-CL,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 652614040 12546 /usr/lib/nls/msg/C/hpterm.cat 535873823 752 /usr/lib/X11/nls/XhpV3/gb18030 2799337247 541 /usr/lib/X11/nls/XhpV3/iso885915 2799337247 541 /usr/lib/X11/nls/XhpV3/iso885915@euro 2601046219 364544 /usr/bin/X11/mwm 1503526662 299008 /usr/bin/X11/xterm 1584792453 303104 /usr/bin/X11/hpterm X11.X11-RUN-CL-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 4203738372 17263 /usr/share/man/man1.Z/hpterm.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: For gb18030 character set support, please install both these patches on your system: 1) PHSS_25194 2) PHSS_25199 Supersedes: PHSS_15433 PHSS_17421 PHSS_20866 PHSS_23904 PHSS_25200 PHSS_26497 PHSS_27871 Equivalent Patches: PHSS_28681: s700: 11.11 s800: 11.11 Patch Package Size: 1470 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 PHSS_28680 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_28680.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_28680. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHSS_28680.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_28680.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_28680.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None