Patch-ID# 100452-20 Keywords: xview3.0 Synopsis: OW 3.0: XView/3.0 CTE Jumbo Patch Date: 13-Aug-92 SunOS release: 4.1, 4.1.x Unbundled Product: Open Windows Unbundled Release: Version 3 Topic: XView 3.0 Jumbo Patch Release BugId's fixed with this patch: 1072832 1073167 1066366 1075863 1075950 1059597 1080579 1075124 1073246 1065873 1084865 1083436 1083405 1053515 1078467 1061299 1076560 1037992 1078467 1044411 1055172 1068828 1077164 1091601 1093039 1049703 1087337 1074553 1053036 1053292 1030878 1020408 1097384 1076907 1043723 Architectures for which this patch is available: sun4 Patches which may conflict with this patch: None. Obsoleted by: None. Changes incorporated in this version: 1076907 1043723 Files included with this patch preceded by ucb 4.1.1 /bin/sum : 16050 1736 libxview.a 35168 58 libxview.sa.3.1 25395 1328 libxview.so.3.1 62911 4 scrollbar.h Problem Description: This patched fixes the list of bugs referenced below. OLD BUGS -------- 1072832 App may hang server if notify proc takes a long time 1073167 Pressing help in scrollbar can core dump xview applications 1066366 Typing ^B when cursor at top of text window goes into infinite scroll loop 1075863 XView doesn't display menus when the # of items reaches limit of 1 column 1075950 V3 slow to start/exit an app as compared to V2 1059597 check box choices don't display the correct colour until refreshed 1080579 OW3.0 cmdtool doesn't echo characters if raw mode selected 1075124 Textsw line spacing doesn't meet TUV requirements 1073246 Panel text items send a delete request after only receiving a filename 1065873 PANEL_VALUE_DISPLAY_LENGTH in text item does not work for values less than 4 1084865 MENU_NROWS doesn't clamp menu to specified number of rows 1083436 menu_show: Menu too large for screen 1083405 xv_destroy frame memory leak 1053515 Memory leak in PANEL_CHOICE items 1078467 xview3.0 (SCROLLABLE_PANEL,PANEL) program runs much slower than xview2.0 1061299 Textsw leaks memory after textsw_reset() 1076560 added attribute SCROLLBAR_PERCENT_OF_DRAG_REPAINTS to be OL Level 2 compliant with scrollbar dragging 1037992 Suspending a cmdtool with control-Z kills it 1078467 xview3.0 (SCROLLABLE_PANEL,PANEL) program runs much slower than xview2.01089473 panel item redraw on scrollable panel is slow 1044411 Text Subwindow does not paint color correctly 1055172 textsw doesn't work with LARGE files 1068828 cmdtool leaks memory when continuously displaying data 1077164 cmdtool L2/AGAIN key displays unechoed characters 1091601 cmdtool feature has potential for revealing passwords 1093039 XView jumbo patch 100452-10 breaks textsw package 1049703 "META" character is not recognised in shelltool & cmdtool 1087337 Textsw leaks memory after textsw_reset() 1074553 selection service cut/paste drag/drop is glacial 1053036 xv_set(textsw, XV_FONT, xvfont, NULL) doesn't work anymore 1053292 shelltool doesn't report correct screen size 1030878 carriage return gets turned into a linefeed in a TERMSW 1020408 caret turds when changing modes from non-scrolling to scrolling in cmdtool 1097384 Popup menus don't work when frame in xv_window_loop mode NEW BUGS -------- 1076907 destroying command frame leaks memory 1043723 underline does not work in shelltool Installation Instructions: 1) cd to $OPENWINHOME/lib 2) su to root 3) get patch id from current libxview.a by typing nm libxview.a | grep patch_id 4) if patch_id exists mv libxview.a libxview.a.patch_id_123456_89 mv libxview.so.3.1 libxview.so.3.1.patch_id_123456_89 mv libxview.sa.3.1 libxview.sa.3.1.patch_id_123456_89 mv $OPENWINHOME/include/xview/scrollbar.h $OPENWINHOME/include/xview/scrollbar.h.patch_id_123456_89 where patch_id_123456_89 is recorded from step #3 else mv libxview.a libxview.a.30fcs mv libxview.so.3.1 libxview.so.3.1.30fcs mv libxview.sa.3.1 libxview.sa.3.1.30fcs 5) cp patched libxview.a to libxview.a cp patched libxview.so.3.1 to libxview.so.3.1 cp patched libxview.sa.3.1 to libxview.sa.3.1 6) chmod 644 libxview.a libxview.so.3.1 libxview.sa.3.1 7) ranlib -t libxview.a libxview.sa.3.1 8) cp scrollbar.h $OPENWINHOME/include/xview/scrollbar.h NOTES ON cmdtool memory leak (bug 1068828) ------------------------------------------ There are two ways to make use of this patch. You can turn off the AGAIN key for the entire desktop, or you can disable it for a particular application. 1) You can disable the AGAIN key for your entire desktop. This will turn the AGAIN key off for all the textsubwindows and termsubwindows running on your server. To do this, you must explicitly disable the AGAIN key. (The AGAIN key is enabled by default.) To disable the AGAIN key, you must set the following resource in your .Xdefaults file: text.againRecording: False 2) If you only want to turn off the again for a particular application, you must add the following line to the source code of the application: /* Turn off AGAIN_RECORDING to save memory */ xv_set(textsw, TEXTSW_AGAIN_RECORDING, FALSE, 0); This will have the effect of turning off the AGAIN key for only that application. 3) It is also possible to turn off the AGAIN feature for a particular instance of a tool. Here is an example for cmdtool: cmdtool -xrm "text.againRecording: False"