Patch Name: PHSS_5031 Patch Description: s300_400 9.X R5 xterm, xhost and xrdb Dec Periodic Patch Creation Date: 94/12/19 Post Date: 94/12/21 Hardware Platforms - OS Releases: s300_400: 9.00 9.03 Products: N/A Filesets: X11-RUN X11-SERV Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s300_400/9.X/PHSS_5031 Symptoms: PHSS_5031: The following symptoms correspond to the descriptions in the defect descriptions field for PHSS_5031: 1. Pasting a large cut buffer to xterm will overrun xterm, causing loss of data. Defect Description: PHSS_5031: The following defect descriptions are for PHSS_5031: 1. Due to a change in how the xterm client was built, it no longer was built as a shared-library client, but was instead built using archived libraries. To verify that you need to load the new version of xterm, type the command "size /usr/bin/X11/xterm"; the size information returned should be in the area of 990k bytes. 2. Unlike hpterm, xterm did not force the 'ixoff' tty control mode to the 'enabled' state; this mode controls handshaking used to prevent input queue overflow. Because the 'ixoff' mode was not forced to be enabled by xterm, it was possible that the handshaking would be left disabled, thus allowing the input queue to overflow during a large paste operation. To verify that you need to install the updated version of xterm, do the following: a) Go to a terminal window, and disable 'ixoff' mode, by typing: stty -ixoff. b) Run xterm, by typing the following into the terminal window used to perform step (a): /usr/bin/X11/xterm c) In the new xterm window, verify that 'ixoff' is still disabled, by typing: stty -a (You should see '-ixoff' in the output). PHSS_4219: The following defect descriptions are for PHSS_4219: 1. Added xhost and xrdb clients to this patch. (SR# 5003117150) 2. Incorporated new customize script. PHSS_3594: The following defect descriptions are for PHSS_3594: 1. SIGTERM is ignored when issued from a Bourne shell (SR# 1653074914) PHSS_3410: The following defect descriptions are for PHSS_3410: 1. Logging is now disabled. 2. LINES and COLUMNS not set properly under csh(1) PHSS_2807: The following defect descriptions are for PHSS_2807: 1. xterm used to ignore SIGHUP but was change for R5 on SYSV systems. This means that in R5, xterm died when its' parent was killed. This patch changes its behavior back to that of R4. 2. The 9.0 version of xterm is based on R5. The R5 xterm does not export the LINES and COLUMNS evironment variables by default, but instead depends on programs reading this information from the pty. This patched xterm has been changed so that it again exports LINES and COLUMNS into the environment. SR: 1653072959 1653074914 1653102129 5003111575 5003117150 5003126144 5003165571 5003171017 5003195511 Patch Files: /usr/bin/X11/xterm /usr/bin/X11/xhost /usr/bin/X11/xrdb what(1) Output: /usr/bin/X11/xterm: (build date: Tue Nov 22 21:49:31 MST 1994) X Window System, Version 11 HP-UX Nov 94 Periodic Pa tch R5+ xterm: $Revision: 1.12 $ /usr/bin/X11/xhost: (build date: Tue Nov 22 21:45:39 MST 1994) X Window System, Version 11 HP-UX Nov 94 Periodic Pa tch R5+ R5+ rev 1.1 /usr/bin/X11/xrdb: (build date: Tue Nov 22 21:44:59 MST 1994) X Window System, Version 11 HP-UX Nov 94 Periodic Pa tch R5+ $Revision: 1.6 $ sum(1) Output: 16731 1690 /usr/bin/X11/xterm 4037 22 /usr/bin/X11/xhost 41614 44 /usr/bin/X11/xrdb Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_2263 PHSS_2807 PHSS_3410 PHSS_3594 PHSS_4219 Equivalent Patches: None Patch Package Size: 940 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. Copy the patch to your /tmp directory and unshar it: cd /tmp cp patch_source/PHSS_5031 . sh PHSS_5031 3. Become root and run update: /etc/update 4. Use the cursor keys to select "Change Source or Destination ->" and press [Return]. 5. Select "From Tape Device to Local System ..." in the Change window and 6. Change "Source: /dev/rmt/0m" to "Source: /tmp/PHSS_5031.updt" 7. Press "Done" (f4). 8. Follow the standard directions for update. Update moves the original software to /system/PHSS_5031/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHSS_5031 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHSS_5031.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: None