Patch Name: PHSS_13960

Patch Description: s700_800 10.X OV NNM4.1x multiple fix ovw/ovwdb patch

Creation Date: 98/02/04

Post Date:  98/02/05

Hardware Platforms - OS Releases:
	s700: 10.00 10.01 10.10 10.20
	s800: 10.00 10.01 10.10 10.20

Products:
	OpenView Network Node Manager 4.1x

Filesets:
	OVPlatform.OVMIN OVPlatformMan.OVWIN-MAN
	OVPlatformDevKit.OVMIN-PRG OVPlatform.OVWIN
	OVPlatformDevKit.OVWIN-PRG OVNNMgr.OVNNM-RUN
	OVSNMPDevKit.OVSNMP-PRG OVPlatform.OVSNMP-MIN

Automatic Reboot?: No

Status: Special Superseded

Critical: No

Path Name: /hp-ux_patches/s700_800/10.X/PHSS_13960

Symptoms:
	PHSS_13960:
	multiple fix ovw/ovwdb patch

	PHSS_13806:
	When symbols are hidden or unhidden using
	OVwModifySymbol, ovw's right status line
	is not updated.
	Should be able to set creating app on map
	symbol using OVwSetRegContext and
	OVwSetSymbolApp.

	PHSS_13636:
	1.  Multiple successive changes to menu item labels are not
	    displayed.
	2.  If you don't add a function to the menu item,
	    OVwSaveRegUpdates does not add the menu item to the
	    menu, but it does not return an error.

	PHSS_13590:
	OVwDbListObjectsByFieldValues returns wrong value when two
	or more field bindings are specified.

	PHSS_13457:
	X-Server would hang if a symbol had no context menu.  This
	occured under the condition that another symbol had two
	cascading menus in its context menu, and was picked first.

	PHSS_13160:
	"Modify Object Attributes" - try ot modify a router's
	vendor and ovwdb core dumps.

	PHSS_13158:
	ovw uses 128 colors for symbol interior and background
	graphic images (too many). If it can't get that many,
	it defaults to 32-level grayscale; if it can't get that
	many, it uses 2 colors (monochrome).
	Also, when it displays images in monochrome, it displays
	them in reverse video.

	PHSS_12996:
	If a callback is registered for input on a file descriptor
	with OVwAddInput(), and that callback calls OVwRemoveInput()
	or OVwAddInput(), the list of Dispatchers in the Switchboard
	is corrupted, leading to a core dump.

	PHSS_12939:
	Using OVwSetMenuItem followed by OVwSaveRegUpdates to change
	either the label, mnemonic or accelerator on a Pulldown menu
	button or label/bitmap on a Toolbar menu button did not
	work.  Both functions returned non-error return codes, but
	the labels were not changed.

	PHSS_12931:
	Certain dialog box text fields do not allow leading white
	space, e.g. the Name of Saved Map for the
	Map->Maps->Save Map As dialog box.  However, certain valid
	multibyte Japanese characters such as higashi ("east") and
	kita ("north") were not accepted in these fields.

Defect Description:
	PHSS_13960:
	multiple fix ovw/ovwdb patch

	PHSS_13806:
	The lower status bar was not notifying the user of hidden
	objects.

	PHSS_13636:
	1.  When calling copyChangesOver, must call clearWidgets,
	    not checkWidgets.
	2.  _OVwError was set appropriately, but not checked, and
	    later overwritten.

	PHSS_13590:
	OVwDbListObjectsByFieldValues was modified to handle the
	case insensitivity problems.  However, a simple return value
	was not getting checked or passed back to the app.  I added
	a hashitem (had already been added to
	OVwDbListObjectsByFieldValue) to the find routine and then
	passed it back to the api.

	PHSS_13457:
	In the case of an empty context menu, the code was not
	managing the child menu.  In this case, the code now just
	"ungrabs" the pointer.

	PHSS_13160:
	*ManagementURL isn't set and the string ptr to it gets
	de-referenced -> core.

	PHSS_13158:
	The image library used by ovw was rigidly defined to
	use 128 colors. I made it iteratively halve the number
	of colors it tries to get until it succeeds. I made it
	do an 8-level instead of a 32-level grayscale, and I
	made it do monochrome correctly. I also added the
	"ncolors" option and X resource to deliberately make
	ovw use less than 128 colors.

	PHSS_12996:
	libovw should not permit adding or removing inputs while in
	such a callback. The OVwAddInput and OVwRemoveInput OVw API
	calls have been modified to return error in this case.

	PHSS_12939:
	This was due to not properly updating the data structures
	for the menu buttons and toolbar buttons.

	PHSS_12931:
	This defect was due to not properly differentiating between
	a multi-byte character (usually not a white space char) and
	a single byte character.

SR:
	4000134601 4000134973 4000135129 4000134510 4000126292
	1653220301 5003369199 1653195388 5003390732 5003391458
	4000135525 4000135731 4000135699 4000135814 1653242693

Patch Files:
	/opt/OV/man/man1.Z/ovw.1
	/opt/OV/lib/libov.1
	/opt/OV/lib/libov.a
	/opt/OV/lib/libovw.1
	/opt/OV/lib/libovw.a
	/opt/OV/lib/libovtopm.1
	/opt/OV/lib/libovsnmp.a
	/opt/OV/lib/libovsnmp.1
	/opt/OV/bin/ovw
	/opt/OV/bin/ovwdb

what(1) Output:
	/opt/OV/man/man1.Z/ovw.1:
		None.
	/opt/OV/lib/libov.1:
		PATCH PHSS_11200, 970523
		PATCH PHSS_11706, 970708
		PATCH PHSS_12649, 970922
		HP OpenView libov.a NNM Release B.04.10 Rev:B.04.11
		HP 9000 S700/S800 HP-UX 10.x OpenView version  Nov 2
			0 1997
		Copyright (c) 1991-1997 Hewlett-Packard Company
		PATCH PHSS_7416, 960520
		PATCH PHSS_8183, 960802
		PATCH PHSS_13330, 971123
		PATCH PHSS_13590, 971219
		PATCH PHSS_13960, 980127
	/opt/OV/lib/libov.a:
		PATCH PHSS_11200, 970523
		PATCH PHSS_11706, 970708
		PATCH PHSS_12649, 970922
		HP OpenView libov.a NNM Release B.04.10 Rev:B.04.11
		HP 9000 S700/S800 HP-UX 10.x OpenView version  Nov 2
			0 1997
		Copyright (c) 1991-1997 Hewlett-Packard Company
		PATCH PHSS_7416, 960520
		PATCH PHSS_8183, 960802
		PATCH PHSS_13330, 971123
		PATCH PHSS_13590, 971219
		PATCH PHSS_13960, 980127
	/opt/OV/lib/libovw.1:
		PATCH PHSS_10991, 970505
		PATCH PHSS_10782, 970416
		PATCH PHSS_8039, 960719
		PATCH PHSS_7820, 960620
		PATCH PHSS_9938, 970124
		PATCH PHSS_10599, 970327
		PATCH PHSS_11494, 970623
		PATCH PHSS_12054, 970804
		PATCH PHSS_12996, 971023
		PATCH PHSS_13330, 971123
		PATCH PHSS_13590, 971219
		PATCH PHSS_13960, 980127
		PATCH PHSS_11200, 970523
		PATCH PHSS_11706, 970708
		PATCH PHSS_12649, 970922
		HP OpenView Windows NNM Release B.04.10 Rev:B.04.11
		HP 9000 S700/S800 HP-UX 10.x OpenView version  Nov 2
			6 1997
		Copyright (c) 1991-1997 Hewlett-Packard Company
	/opt/OV/lib/libovw.a:
		PATCH PHSS_10991, 970505
		PATCH PHSS_10782, 970416
		PATCH PHSS_8039, 960719
		PATCH PHSS_7820, 960620
		PATCH PHSS_9938, 970124
		PATCH PHSS_10599, 970327
		PATCH PHSS_11494, 970623
		PATCH PHSS_12054, 970804
		PATCH PHSS_12996, 971023
		PATCH PHSS_13330, 971123
		PATCH PHSS_13590, 971219
		PATCH PHSS_13960, 980127
		PATCH PHSS_11200, 970523
		PATCH PHSS_11706, 970708
		PATCH PHSS_12649, 970922
		HP OpenView Windows NNM Release B.04.10 Rev:B.04.11
		HP 9000 S700/S800 HP-UX 10.x OpenView version  Nov 2
			6 1997
		Copyright (c) 1991-1997 Hewlett-Packard Company
	/opt/OV/lib/libovtopm.1:
		PATCH PHSS_7416, 960520
		PATCH PHSS_8185, 960802
		PATCH PHSS_8235, 960807
		PATCH PHSS_8553, 960913
		PATCH PHSS_8873, 961008
		PATCH PHSS_9111, 961101
		PATCH PHSS_9301, 961120
		PATCH PHSS_9334, 961122
		PATCH PHSS_9459, 961206
		PATCH PHSS_9615, 961217
		PATCH PHSS_9717, 970102
		PATCH PHSS_10020, 970131
		PATCH PHSS_10069, 970207
		PATCH PHSS_10083, 970207
		PATCH PHSS_10336, 970305
		PATCH PHSS_10782, 970416
		PATCH PHSS_11419, 970618
		PATCH PHSS_11494, 970623
		PATCH PHSS_11642, 970702
		PATCH PHSS_13330, 971123
		PATCH PHSS_13576, 971215
		PATCH PHSS_13960, 980127
		libovtopm.sl
	/opt/OV/lib/libovsnmp.a:
		PATCH PHSS_7426, 960620
		PATCH PHSS_7430, 960712
		PATCH PHSS_8105, 960725
		PATCH PHSS_8265, 960812
		PATCH PHSS_9451, 961205
		PATCH PHSS_9826, 970114
		PATCH PHSS_9943, 970125
		PATCH PHSS_12023, 970801
		PATCH PHSS_12416, 970905
		PATCH PHSS_13330, 971123
		PATCH PHSS_13960, 980127
		libovsnmp
		PATCH PHSS_11200, 970523
		PATCH PHSS_11706, 970708
		PATCH PHSS_12649, 970922
		HP OpenView SNMP Dev Kit NNM Release B.04.10 Rev:B.0
			4.11
		HP 9000 S700/S800 HP-UX 10.x OpenView version  Jan 2
			6 1998
		Copyright (c) 1991-1998 Hewlett-Packard Company
	/opt/OV/lib/libovsnmp.1:
		PATCH PHSS_7426, 960620
		PATCH PHSS_7430, 960712
		PATCH PHSS_8105, 960725
		PATCH PHSS_8265, 960812
		PATCH PHSS_9451, 961205
		PATCH PHSS_9826, 970114
		PATCH PHSS_9943, 970125
		PATCH PHSS_12023, 970801
		PATCH PHSS_12416, 970905
		PATCH PHSS_13330, 971123
		PATCH PHSS_13960, 980127
		libovsnmp
		PATCH PHSS_11200, 970523
		PATCH PHSS_11706, 970708
		PATCH PHSS_12649, 970922
		HP OpenView SNMP Dev Kit NNM Release B.04.10 Rev:B.0
			4.11
		HP 9000 S700/S800 HP-UX 10.x OpenView version  Jan 2
			6 1998
		Copyright (c) 1991-1998 Hewlett-Packard Company
	/opt/OV/bin/ovw:
		PATCH PHSS_7416, 960520
		PATCH PHSS_10108, 970212
		PATCH PHSS_9634, 961219
		PATCH PHSS_8750, 960927
		PATCH PHSS_8642, 960923
		PATCH PHSS_8636, 960923
		PATCH PHSS_8514, 960911
		PATCH PHSS_8903, 961010
		PATCH PHSS_8914, 961010
		PATCH PHSS_8945, 961015
		PATCH PHSS_9147, 961105
		PATCH PHSS_9158, 961105
		PATCH PHSS_9290, 961119
		PATCH PHSS_9323, 961121
		PATCH PHSS_9588, 961216
		PATCH PHSS_9700, 961231
		PATCH PHSS_9866, 970117
		PATCH PHSS_10303, 970304
		PATCH PHSS_10339, 970305
		PATCH PHSS_10549, 970321
		PATCH PHSS_10551, 970321
		PATCH PHSS_10626, 970401
		PATCH PHSS_10628, 970401
		PATCH PHSS_10858, 970423
		PATCH PHSS_11114, 970514
		PATCH PHSS_11155, 970520
		PATCH PHSS_11257, 970602
		PATCH PHSS_11423, 970618
		PATCH PHSS_11454, 970619
		PATCH PHSS_11496, 970623
		PATCH PHSS_11581, 970630
		PATCH PHSS_11595, 970630
		PATCH PHSS_11610, 970701
		PATCH PHSS_11640, 970702
		PATCH PHSS_11888, 970721
		PATCH PHSS_12029, 970801
		PATCH PHSS_12021, 970801
		PATCH PHSS_12019, 970801
		PATCH PHSS_12054, 970804
		PATCH PHSS_12169, 970815
		PATCH PHSS_12321, 970827
		PATCH PHSS_12557, 970912
		PATCH PHSS_12939, 971017
		PATCH PHSS_12931, 971017
		PATCH PHSS_13158, 971107
		PATCH PHSS_13330, 971123
		PATCH PHSS_13457, 971208
		PATCH PHSS_13636, 971219
		PATCH PHSS_13806, 980113
		PATCH PHSS_13960, 980127
		PATCH PHSS_8004, 960716
		ovw OV DFIX4021 04/02/96
		PATCH PHSS_7632, 960620
		PATCH PHSS_11200, 970523
		PATCH PHSS_11706, 970708
		PATCH PHSS_12649, 970922
		HP OpenView Windows NNM Release B.04.10 Rev:B.04.11
		HP 9000 S700/S800 HP-UX 10.x OpenView version  Dec 1
			0 1997
		Copyright (c) 1991-1997 Hewlett-Packard Company
		PATCH PHSS_8007, 960716
	/opt/OV/bin/ovwdb:
		PATCH PHSS_8914, 961010
		PATCH PHSS_9938, 970124
		PATCH PHSS_10782, 970416
		PATCH PHSS_11494, 970623
		PATCH PHSS_12127, 970812
		PATCH PHSS_12548, 970912
		PATCH PHSS_13160, 971107
		PATCH PHSS_13330, 971123
		PATCH PHSS_13590, 971216
		PATCH PHSS_13960, 980127
		PATCH PHSS_11200, 970523
		PATCH PHSS_11706, 970708
		PATCH PHSS_12649, 970922
		HP OpenView Windows NNM Release B.04.10 Rev:B.04.11
		HP 9000 S700/S800 HP-UX 10.x OpenView version  Sep 2
			4 1997
		Copyright (c) 1991-1997 Hewlett-Packard Company

cksum(1) Output:
	367679257 9515 /opt/OV/man/man1.Z/ovw.1
	4040268419 168520 /opt/OV/lib/libov.1
	896620622 163026 /opt/OV/lib/libov.a
	3538379551 2465020 /opt/OV/lib/libovw.1
	3816026009 4037560 /opt/OV/lib/libovw.a
	2211899968 906117 /opt/OV/lib/libovtopm.1
	81317581 234346 /opt/OV/lib/libovsnmp.a
	3371663089 238538 /opt/OV/lib/libovsnmp.1
	3523888578 2508137 /opt/OV/bin/ovw
	1016942764 509666 /opt/OV/bin/ovwdb

Patch Conflicts: None

Patch Dependencies:
	s700: 10.00 10.01 10.10 10.20: PHSS_12649
	s800: 10.00 10.01 10.10 10.20: PHSS_12649

Hardware Dependencies: None

Other Dependencies: None

Supersedes:
	PHSS_12931 PHSS_12939 PHSS_12996 PHSS_13158 PHSS_13160 PHSS_13457
	PHSS_13590 PHSS_13636 PHSS_13806

Equivalent Patches:
	PHSS_13959:
	s700: 9.01 9.03 9.05 9.07
	s800: 9.00 9.04

	PSOV_01893:
	sparcSOL: 2.3 2.4 2.5

Patch Package Size: 11050 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_13960

	5a. For a standalone system, run swinstall to install the
	    patch:

		swinstall -x autoreboot=true -x match_target=true \
			-s /tmp/PHSS_13960.depot

	5b. For a homogeneous NFS Diskless cluster run swcluster on the
	    server to install the patch on the server and the clients:

		swcluster -i -b

	    This will invoke swcluster in the interactive mode and
	    force all clients to be shut down.

	    WARNING: All cluster clients must be shut down prior to the
		     patch installation.  Installing the patch while the
		     clients are booted is unsupported and can lead to
		     serious problems.

	    The swcluster command will invoke an swinstall session in which
	    you must specify:

		alternate root path  -  default is /export/shared_root/OS_700
		source depot path    -  /tmp/PHSS_13960.depot

	    To complete the installation, select the patch by choosing
	    "Actions -> Match What Target Has" and then "Actions -> Install"
	    from the Menubar.

	5c. For a heterogeneous NFS Diskless cluster:

		- run swinstall on the server as in step 5a to install
		  the patch on the cluster server.

		- run swcluster on the server as in step 5b to install
		  the patch on the cluster clients.

	By default swinstall will archive the original software in
	/var/adm/sw/patch/PHSS_13960.  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_13960.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_13960.depot of=/dev/rmt/0m bs=2k

Special Installation Instructions:
	WARNING: This patch should not be loaded unless the last
	         consolidated patch PHSS_12649 has been loaded.
	         To check if this patch is on your system use the
	         following command:
	         ls -l /opt/OV/ReleaseNotes/patches/PHSS_12649.text
	         If this file exists then the patch has been loaded.
	         If this file DOES NOT exist then you will need to
	         obtain the PHSS_12649 patch and load it before
	         before loading this patch.


	BEFORE LOADING THIS PATCH...

	If there are any ovw sessions running on either the
	Management Station or on any Management Consoles, these
	sessions need to be closed.  The "ovstop" command
	should then be executed.

	WARNING : the patch will not install if any
	          Network Node Manager processes are
	          detected.

	BACKUP ALL OpenView DIRECTORIES TO TAPE.  This
	pre-caution ensures that if you have problems after
	installing the patch, you will be able to restore your
	current state from tape.

	NOTE : ovstart is NOT executed after the patch is loaded
	       You will need to manually run ovstart.
	       Also, in order to keep a history of the patches
	       installed on your system the post-install script
	       will attempt to copy this <patch_name>.text file
	       to /usr/OV/ReleaseNotes/patches
	       (or /opt/OV/ReleaseNotes/patches).  Please make
	       sure this file is in /tmp before installation.