Patch Name: PHSS_6564 Patch Description: s700 9.X DMX 1.2 cumulative patch Creation Date: 95/12/21 Post Date: 96/02/10 Hardware Platforms - OS Releases: s700: 9.01 9.03 9.05 9.07 Products: DMX 1.2 Filesets: DMX-700-BIN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700/9.X/PHSS_6564 Symptoms: PHSS_6564: 1. DMX process virtual data space grows larger with use. 2. DMX process frequently crashes. PHSS_5161: 1. A search expression containing a bracket expression may be interpreted incorrectly. For example: /[abc/]/ gives a syntax error. 2. The "sk" command does not show shift and control modifiers for mouse button definitions. 3. Parenthesized search expressions are replaced with a nil string. For example, lines containing "abc" will be changed to "xx" by s/.*\(abc\).*/x\1x/. 4. During substitution, a character escaped with '\' is replaced with '\'. For example, s/^/\#/ puts '\' at the beginning of a line instead of '#'. 5. The "es" command inserts when in overstrike mode. 6. If a command produces continuous output, the user is "locked out" from performing another operation. 7. The "abrt" command will not abort a lengthy substitute. 8. The "pw" command may not update a file if two or more edit pads are open on that file. It will work correctly if the most recent changes were made in the first pad created. 9. A search pattern which occurs in a rectangle may not be found if it's part of the same pattern extending outside the rectangle. For example, s/xx/yy/ does not replace "xx" inside a rectangle if "xx" is a substring of "xxx" which starts outside the rectangle. 10. Replacing a nil string at the end a file can cause dmx to hang. For example, s/$/END/. 11. A "wc -q" command may result in a syntax error message. 12. If a rectangle is defined by starting at the upper right and moving to the lower left or by starting at the lower left and moving to the upper right, substitutions are not performed in the first and last lines of the rectangle. 13. The RETURN key may not move to the next line when a transcript pad is in hold mode. PHSS_4612: 1. The "Window Hold" selection in the "Toggle" menu is deactivated. 2. Using large fonts with edit pads may give: Warning: Name: Banner Class: XmForm Bailed out of edge synchronization after 10,000 iterations. Check for contradictory constraints on the children of this form. 3. The quit dialog has a cryptic title. 4. The help button on the quit dialog is deactivated. 5. The cursor does not blink when an edit pad is created under it. 6. Characters following the cursor are not ignored when a command is executed. For example, execute "ls A B" with the cursor between the "A" and "B". "B" is listed. 7. A core dump results from defining a rectangle, clearing the mark, and then cutting the rectangle. 8. Pressing RETURN in an edit pad may place the cursor incorrectly. For example, for "ABC", press RETURN with the cursor between the "A" and "B". The cursor ends up between the "B" and "C". 9. An error message may be partly in English when the language is Japanese. For example, execute "ce" on a file without read permission with LANG=japanese. The message contains the words English words "Permission denied". 10. The result of a search is not highlighted. Defect Description: PHSS_6564: 1. Numerous memory leaks and uninitialized memory reads found using Purify have been fixed. 2. DMX now uses /usr/lib/Motif1.2/libXm.sl (Version 1.2.5) instead of /usr/dmx/lib/libXm.sl (Version 1.2.2) PHSS_5161: 1. The character string specified as a search expression for a search or substitute command was sometimes interpreted incorrectly if it contained a bracket expression. This includes characters which lose their special meaning inside of a bracket expression as well as collating symbols, equivalence classes, and character classes. 2. If a key definition for a mouse key included "-s" (shift), "-c" (control), or "-u" (release), the "sk" (show keys) command did not show this modifier information. 3. Any parenthesized subexpressions given in the search pattern of a substitute command were replaced with the nil string during substitution. 4. If the substitution string in a substitution command contained a '\' character followed by something other than a single digit, the substitution resulted in the '\' instead of the character following it. 5. In overstrike mode, the "es" command inserted instead of performing an overstrike. 6. If a process running in a shell pad produced continuous output, the user was "locked out" from performing any operations. This included keystrokes, command execution, accessing pulldown menus, etc. 7. A time-consuming substitution command could be aborted by pressing a key which had been mapped to the 'abrt' command. 8. If two or more edit pads were opened on the same text file and changes were made to that file, a "pw" command would sometimes not write out the latest of any editing changes made. It will only work correctly if the most recent changes were made in the first pad created. 9. Given a search pattern used for performing text substitution within a rectangle such that a prefix of the pattern also occurred elsewhere in the same pattern, if there were an occurrence of the entire pattern which started outside of the rectangle, extended inside the rectangle, had the second occurrence of its prefix beginning within the rectangle, and that second occurrence actually constituted another instance of the full pattern which was totally within the rectangle, the latter was not recognized and replaced. 10. DMX would hang for a substitute command if a nil string were replaced at the very end of a file. 11. If a "wc -q" command were executed with the letter 'q' being the last character in the command (i.e. no trailing white space), dmx gave a command syntax error message. 12. If a rectangle were defined by starting at the upper right and moving to the lower left or by starting at the lower left and moving to the upper right, substitutions were not performed in the first and last lines of the rectangle. 13. In a shell pad, when window hold mode was on and new commands were typed in, pressing return did not move the cursor to the next line except for the first command. PHSS_4612: 1. The "Window Hold" selection in the "Toggle" menu was permanently deactivated. 2. Large fonts could not be used for the line number in an edit pad, resulting in an X library warning. 3. The quit dialog box had a cryptic dialog title: "qdialog<-popup" 4. The help button on the DMX quit dialog window was permanently deactivated. 5. When changing focus, the I-cursor did not always blink as it should. 6. Characters after the cursor were not ignored when a command was executed. 7. A core dump resulted from defining a rectangle, clearing the mark, and then cutting the rectangle. 8. In an edit pad, pressing with the cursor between two characters resulted in the cursor now being too far to the right. 9. The output window sometimes displayed a partially English error message when LANG=japanese. 10. The result of a search was not being highlighted. SR: 1653086272 1653101030 1653101329 1653101345 1653107144 1653107235 1653107375 1653107466 1653107730 1653107755 5003186346 5003189654 5003286338 Patch Files: /usr/dmx/bin/dmx /usr/dmx/bin/print_keyname /usr/lib/nls/japanese/dmx.cat /usr/lib/nls/japanese/euc/dmx.cat what(1) Output: /usr/dmx/bin/dmx: DMX $Revision: 56.14 $ PHSS_6564 /usr/dmx/bin/print_keyname: None /usr/lib/nls/japanese/dmx.cat: None /usr/lib/nls/japanese/euc/dmx.cat: None sum(1) Output: 47959 1056 /usr/dmx/bin/dmx 18442 32 /usr/dmx/bin/print_keyname 49068 34 /usr/lib/nls/japanese/dmx.cat 41826 34 /usr/lib/nls/japanese/euc/dmx.cat Patch Conflicts: None Patch Dependencies: s700: 9.01 9.03 9.05 9.07: PHCO_6597 and (PHSS_6439 or PHSS_6440) Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_4612 PHSS_5161 Equivalent Patches: None Patch Package Size: 640 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_6564 . sh PHSS_6564 3. Become root and run update: /etc/update [-r [kernel_gen_file]] -s \ /tmp/PHSS_6564.updt PHSS_6564 Update moves the original software to /system/PHSS_6564/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHSS_6564 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHSS_6564.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: None