Patch Name: PHSS_29203 Patch Description: s700_800 10.20 XClients Patch Creation Date: 03/05/30 Post Date: 03/06/30 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: X11.X11-RUN-CTRB X11.X11-RUN-CL X11.X11-RUN X11.X11-RUN-MAN X11.X11-RUN-CL-MAN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_29203 Symptoms: PHSS_29203: 1. xterm, hpterm and dtterm were not updating the wtmp file, when invoked with -ls option. 2. Invoking terminal with -e option does not show correct IDLE time when viewed by 'w' command. PHSS_26496: 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. PHSS_23804: 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_21076: 1. Supported xterm has problem with User ID > 60,000. 2. mwm - Unexpected termination with error message "mwm: Couldn't find per display information". 3. "who -R" shows inproper hostname who logged from dtterm, hpterm, xterm when the hostname is greater than 16 chars. 4. hpterm(1) says /usr/etc/X11/Xconsoles, should be /etc/X11/Xconsoles. 5. Buffer overflows. PHSS_17830: Problem with hpterm library access. PHSS_17332: 1) Include iso_8859.15 related changes. PHSS_15431: Potential buffer overflow in xterm. PHSS_13560: xterm and hpterm behave incorrectly on 10.20 when a user with a large UID invokes them. PHSS_11309: This patch is a replacement for patch PHSS_9799. PHSS_9799 inadvertently reversed the fix made by PHSS_9343, so PHSS_9799 must be replaced by this patch. If PHSS_9799 has not been installed, this patch should be installed anyway, in order to get the fixes described below under PHSS_9799. PHSS_11275: xwd, when working with multiple visuals, created an output file which could not be handled by most other imaging tools. These tools usually are capable of handling xwd output. PHSS_9801: xwd is unable to dump the contents of an obscuring window that is double-buffered. xterm -t causes BadWindow error from Xlib. xterm is inconsistent in the way that it allows access from different user groups. PHSS_9799: hpterm aborts when receiving escape sequence to enable messageBox. hpterm does not correctly handle some application-generated escape sequences. PHSS_9343: A serious hpterm defect described in SR 4701341354. PHSS_7674: The following symptoms correspond to the descriptions in the defect descriptions field for PHSS_7674: 1. Hpterms from 10.10 to a 9.X system have the wrong value for $LINES and $COLUMNS. Defect Description: PHSS_29203: 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. 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. PHSS_26496: 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. PHSS_23804: 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 that it does not implement. PHSS_21076: 1. Supported xterm has problem with User ID > 60,000. Resolution: xterm supports user id > 60,000 after this fix. 2. The mwm has same problem as SR#5003306415. Resolution: mwm is fixed to ensure that it does not die on receiving empty event structure. 3. who -R shows inproper 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. 4. 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). 5. Buffer Overflows. Resolution: Buffer overflow problem fixed. PHSS_17830: Problem with hpterm library access. Resolution: Fixed the library access problem in hpterm. PHSS_17332: 1) Include iso_8859.15 related changes. Resolution: This is an enhancement with the introduction of a new codeset iso_8859.15 for euro related functionalities. PHSS_15431: Potential buffer overflow in xterm. PHSS_13560: Since xterm and hpterm were not built under 10.20 build environment, they could not handle large UID. In this patch both are built under 10.20 build environment. PHSS_11309: An error in the construction of PHSS_9799 reversed the fix made in PHSS_9343. PHSS_11275: xwd, when working with multiple visuals, created an output file which could not be handled by most other imaging tools. These tools usually are capable of handling xwd output. PHSS_9801: xwd is unable to dump the contents of an obscuring window that is double-buffered. xterm -t causes BadWindow error from Xlib. xterm is inconsistent in the way that it allows access from different user groups. PHSS_9799: hpterm does not correctly handle some application-generated escape sequences. PHSS_9343: A serious hpterm defect that manifests itself on 10.20 systems and is described in SR 4701341354 is fixed. PHSS_7674: The following defect descriptions are for PHSS_7674: 1. This was caused by a workaround for a libXm defect on 10.10. The defect has been fixed and the workaround has been removed. SR: 8606193796 8606235437 8606231863 8606226935 5003462663 8606127430 8606108880 8606109845 8606102998 8606113980 4701418806 4701395731 1653170654 1653188631 4701335463 4701341354 5003300996 5003339036 5003354027 5003361253 5003399667 Patch Files: /usr/lib/nls/msg/C/hpterm.cat /usr/bin/X11/mwm /usr/share/man/man1.Z/hpterm.1 /usr/bin/X11/xwd /usr/share/man/man1.Z/xwd.1 /usr/contrib/bin/X11/xterm /usr/bin/X11/xterm /usr/bin/X11/hpterm /usr/lib/X11/nls/XhpV3/iso885915 /usr/lib/X11/nls/XhpV3/iso885915@euro what(1) Output: /usr/bin/X11/hpterm: X Window System, Version 11 R5+ HP-UX B.10.20.030527 CDE Patch Release (build date: Tue May 27 13:36:23 IST 2003) hpterm: $Revision: 2.130 $ /usr/bin/X11/mwm: OSF/Motif mwm 1.2.4 Release /usr/bin/X11/xterm: X Window System, Version 11 R5+ HP-UX B.10.20.030527 CDE Patch Release (build date: Tue May 27 13:20:14 IST 2003) xterm: $Revision: 1.16 $ /usr/bin/X11/xwd: X Window System, Version 11 R6+ HP-UX B.10.20.00 Jul y 1997 Patch Release (build date: Fri May 23 13:50:07 PDT 1997) /usr/contrib/bin/X11/xterm: X Window System, Version 11 R6+ HP-UX B.10.20.00 Mar ch 2000 Patch Release (build date: Mon Feb 28 10:58:25 IST 2000) /usr/lib/X11/nls/XhpV3/iso885915: None /usr/lib/X11/nls/XhpV3/iso885915@euro: None /usr/lib/nls/msg/C/hpterm.cat: None /usr/share/man/man1.Z/hpterm.1: None /usr/share/man/man1.Z/xwd.1: None cksum(1) Output: 2503869938 303104 /usr/bin/X11/hpterm 3390260047 278528 /usr/bin/X11/mwm 1862970031 299008 /usr/bin/X11/xterm 3647585407 49152 /usr/bin/X11/xwd 2691488124 454656 /usr/contrib/bin/X11/xterm 2799337247 541 /usr/lib/X11/nls/XhpV3/iso885915 2799337247 541 /usr/lib/X11/nls/XhpV3/iso885915@euro 652614040 12546 /usr/lib/nls/msg/C/hpterm.cat 4203738372 17263 /usr/share/man/man1.Z/hpterm.1 2738382902 3443 /usr/share/man/man1.Z/xwd.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_7674 PHSS_9343 PHSS_9799 PHSS_9801 PHSS_11275 PHSS_11309 PHSS_13560 PHSS_15431 PHSS_17332 PHSS_17830 PHSS_21076 PHSS_23804 PHSS_26496 Equivalent Patches: None Patch Package Size: 690 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_29203 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_29203.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_29203. 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 PHSS_29203.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/PHSS_29203.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None