Patch Name: PHCO_23354 Patch Description: s700_800 11.04 (VVOS) ex(1),vi(1) cumulative patch Creation Date: 01/02/09 Post Date: 01/02/13 Hardware Platforms - OS Releases: s700: 11.04 s800: 11.04 Products: N/A Filesets: TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_23354 Symptoms: PHCO_23354: Ported HP-UX patch PHCO_22229 to VVOS Based on HP-UX patch PHCO_22229: 1. The exrecover functionality corrected. 2. vi(1) cannot handle tags longer than 30 characters. 3. vi(1) shows improper pattern matching for multi-byte locales. 4. vi(1) does not handle window size change signal (SIGWINCH) in case of piped commands. 5. Line number information was not being reset whenever a fresh file was being opened after alternation between files for e# command. PHCO_19024: Repackaged HP-UX patch PHCO_13828 to VVOS Based on HP-UX patch PHCO_13828: 1. Word anchoring in global substitution not handled correctly. vi fails for the specific case - g/\/s//globals/g 2. vi command reports incorrect number of characters for multibyte locales. Defect Description: PHCO_23354: Ported HP-UX patch PHCO_22229 to VVOS Based on HP-UX patch PHCO_22229: 1. exrecover(1) functionality corrected. Resolution: The code has been modified to take care of the same. 2. vi(1) cannot handle tags longer than 30 characters, because the maximum tag size is 30. Resolution: Now the code is modified to handle the tags up to 254 characters. 3. vi(1) is not matching the patterns properly in case of multi-byte locales, because vi(1) is not substituting the newline in a multi-byte locale. Resolution: The code has been modified to take care of the newline substitution in case of multi-byte locales. 4. The signal handler for "SIGWINCH" was not activated for piped commands to vi(1). Resolution: Now the code is modified to take care of signal handler for SIGWINCH while piping. 5. The vi(1) behaves differently between 9.X and 10.X with e# command, because line number information was not being reset whenever a fresh file was being opened after alternation between files . Resolution: Now the code has been modified to reset the line number information properly when a fresh file was being opened after alternation between files. PHCO_19024: Repackaged HP-UX patch PHCO_13828 to VVOS Based on HP-UX patch PHCO_13828: 1. Word anchoring in global substitution causes a loss of punctuation and white space. vi does not recognize that punctuation and white space are not part of a word. vi fails for the specific case - g/\/s//globals/g 2. vi command reports incorrect number of characters for multibyte locales. vi used to report the number of bytes instead of the number of characters in the file. SR: 8606156264 8606100309 4701385112 1653249524 1653251314 1653240234 4701379339 5003398289 Patch Files: TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/bin/e /usr/bin/edit /usr/bin/ex /usr/bin/vedit /usr/bin/vi /usr/bin/view /usr/lib/nls/msg/C/exrecover.cat /usr/lbin/exrecover /usr/lbin/expreserve what(1) Output: TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/bin/e: $Revision: 82.6.1.14 $ 32-bit NLS $ PATCH_11_00: hpux_rel.o ex.o ex_addr.o ex_cmds.o ex_ cmds2.o ex_cmdsub.o ex_data.o ex_extern.o ex _get.o ex_io.o ex_put.o ex_re.o ex_rldata.o ex_set.o ex_subr.o ex_temp.o ex_tty.o ex_uni x.o ex_v.o ex_vadj.o ex_vget.o ex_vmain.o ex _voper.o ex_vops.o ex_vops2.o ex_vops3.o ex_ vput.o ex_vwind.o printf.o bcopy.o ex_crypt. o 01/01/17 TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/bin/edit: $Revision: 82.6.1.14 $ 32-bit NLS $ PATCH_11_00: hpux_rel.o ex.o ex_addr.o ex_cmds.o ex_ cmds2.o ex_cmdsub.o ex_data.o ex_extern.o ex _get.o ex_io.o ex_put.o ex_re.o ex_rldata.o ex_set.o ex_subr.o ex_temp.o ex_tty.o ex_uni x.o ex_v.o ex_vadj.o ex_vget.o ex_vmain.o ex _voper.o ex_vops.o ex_vops2.o ex_vops3.o ex_ vput.o ex_vwind.o printf.o bcopy.o ex_crypt. o 01/01/17 TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/bin/ex: $Revision: 82.6.1.14 $ 32-bit NLS $ PATCH_11_00: hpux_rel.o ex.o ex_addr.o ex_cmds.o ex_ cmds2.o ex_cmdsub.o ex_data.o ex_extern.o ex _get.o ex_io.o ex_put.o ex_re.o ex_rldata.o ex_set.o ex_subr.o ex_temp.o ex_tty.o ex_uni x.o ex_v.o ex_vadj.o ex_vget.o ex_vmain.o ex _voper.o ex_vops.o ex_vops2.o ex_vops3.o ex_ vput.o ex_vwind.o printf.o bcopy.o ex_crypt. o 01/01/17 TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/bin/vedit: $Revision: 82.6.1.14 $ 32-bit NLS $ PATCH_11_00: hpux_rel.o ex.o ex_addr.o ex_cmds.o ex_ cmds2.o ex_cmdsub.o ex_data.o ex_extern.o ex _get.o ex_io.o ex_put.o ex_re.o ex_rldata.o ex_set.o ex_subr.o ex_temp.o ex_tty.o ex_uni x.o ex_v.o ex_vadj.o ex_vget.o ex_vmain.o ex _voper.o ex_vops.o ex_vops2.o ex_vops3.o ex_ vput.o ex_vwind.o printf.o bcopy.o ex_crypt. o 01/01/17 TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/bin/vi: $Revision: 82.6.1.14 $ 32-bit NLS $ PATCH_11_00: hpux_rel.o ex.o ex_addr.o ex_cmds.o ex_ cmds2.o ex_cmdsub.o ex_data.o ex_extern.o ex _get.o ex_io.o ex_put.o ex_re.o ex_rldata.o ex_set.o ex_subr.o ex_temp.o ex_tty.o ex_uni x.o ex_v.o ex_vadj.o ex_vget.o ex_vmain.o ex _voper.o ex_vops.o ex_vops2.o ex_vops3.o ex_ vput.o ex_vwind.o printf.o bcopy.o ex_crypt. o 01/01/17 TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/bin/view: $Revision: 82.6.1.14 $ 32-bit NLS $ PATCH_11_00: hpux_rel.o ex.o ex_addr.o ex_cmds.o ex_ cmds2.o ex_cmdsub.o ex_data.o ex_extern.o ex _get.o ex_io.o ex_put.o ex_re.o ex_rldata.o ex_set.o ex_subr.o ex_temp.o ex_tty.o ex_uni x.o ex_v.o ex_vadj.o ex_vget.o ex_vmain.o ex _voper.o ex_vops.o ex_vops2.o ex_vops3.o ex_ vput.o ex_vwind.o printf.o bcopy.o ex_crypt. o 01/01/17 TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/lib/nls/msg/C/exrecover.cat: None TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/lbin/exrecover: $Revision: 82.6.1.14 $ 32-bit NLS $ $Revision: 76.2.1.1 $ PATCH_11_00: hpux_rel.o exrecover.o ex_extern.o 01/0 1/17 TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/lbin/expreserve: $Revision: Hewlett-Packard ISSL Level vvos_rose42 $ $Header: Hewlett-Packard ISSL Release vvos_r ose $ $Date: Fri Feb 9 21:03:09 EST 2001 $ $Revision: 82.6.1.14 $ 32-bit NLS $ $Revision: 76.2 $ $Source: cmd/ex/expreserve.c, hpuxcmdfs, vvos_rose, rose0209 $ $Date: 01/02/11 19:13:44 $ $Revis ion: 1.10.2.1 PATCH_11.04 (PHCO_23354) $ cksum(1) Output: TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 1023217708 249856 /usr/bin/e TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 1023217708 249856 /usr/bin/edit TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 1023217708 249856 /usr/bin/ex TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 1023217708 249856 /usr/bin/vedit TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 1023217708 249856 /usr/bin/vi TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 1023217708 249856 /usr/bin/view TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 3071133312 558 /usr/lib/nls/msg/C/exrecover.cat TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 2070792151 24576 /usr/lbin/exrecover TextEditors.EDITORS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 3976920049 24576 /usr/lbin/expreserve Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_19024 Equivalent Patches: PHCO_22229: s700: 11.00 s800: 11.00 PHCO_23353: s700: 10.24 s800: 10.24 PHCO_22228: s700: 10.20 s800: 10.20 PHCO_22848: s700: 10.10 s800: 10.10 PHCO_22849: s700: 10.01 s800: 10.01 Patch Package Size: 330 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_23354 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_23354.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_23354. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHCO_23354.depot 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 PHCO_23354.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_23354.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_23354.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None