Patch Name: PHCO_23891 Patch Description: s700_800 10.20 ed(1) cumulative patch Creation Date: 01/04/26 Post Date: 01/05/01 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: OS-Core.CMDS-MIN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_23891 Symptoms: PHCO_23891: 1. ed(1) doesn't work as expected with = operator. 2. ed(1) operator .= gives incorrect output when UNIX95 set. 3. ed(1) core dumps on file containing (n)k - 2 lines. PHCO_11437: 1. ed(1) fails to handle multiple instances of SIGHUP signal. 2. ed(1) has inconsistencies in the 'G' command. (UNIX95 Behavior) Defect Description: PHCO_23891: 1. ed(1) doesn't work as expected with = operator. After the current line for the file in the buffer has been changed, = and $= displays the current line number instead of the last line. Resolution: Code is modified to correct the behavior. 2. ed(1) operator .= gives incorrect output when UNIX95 set. The operator .= behaves wrongly, once operator = or $= is used. Resolution: The behaviour of .= operator is rectified after setting the current line. 3. ed(1) core dumps on file containing (n)k - 2 lines. If a line is added to a file having (n)k - 2 lines, and then delete for the current line is performed on it, ed(1) dumps core. Resolution: Code is modified to correct the behavior. PHCO_11437: 1. ed(1) fails to handle multiple instances of SIGHUP signal. Resolution: Now, ed(1) signal handler handles multiple instances of SIGHUP signal. 2. ed(1) has inconsistencies in the 'G' command. (UNIX95 Behaviour) Resolution: Code is modified to handle the inconsistencies. SR: 8606170252 8606171234 8606176643 8606102787 4701358614 Patch Files: /usr/lib/nls/msg/C/ed.cat /usr/bin/ed /usr/bin/red what(1) Output: /usr/lib/nls/msg/C/ed.cat: None /usr/bin/ed: $Revision: 78.1.1.5 $ PATCH_10_20: ed_crypt.o ed.o hpux_rel.o 01/04/26 PATCH-PHCO_18644 for 10.20; for 10.30, 11.x compatib ility libc.a_ID@@/main/r10dav/libc_dav/libc_ dav_cpe/9 /ux/core/libs/libc/archive_pa1/libc.a_ID Jul 8 1999 15:44:31 /usr/bin/red: $Revision: 78.1.1.5 $ PATCH_10_20: ed_crypt.o ed.o hpux_rel.o 01/04/26 PATCH-PHCO_18644 for 10.20; for 10.30, 11.x compatib ility libc.a_ID@@/main/r10dav/libc_dav/libc_ dav_cpe/9 /ux/core/libs/libc/archive_pa1/libc.a_ID Jul 8 1999 15:44:31 cksum(1) Output: 946664817 4783 /usr/lib/nls/msg/C/ed.cat 3130134510 307200 /usr/bin/ed 3130134510 307200 /usr/bin/red Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_11437 Equivalent Patches: None Patch Package Size: 360 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 PHCO_23891 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_23891.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_23891. 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 PHCO_23891.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/PHCO_23891.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None