🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #7318

Re: WingZ selection service problem

#7318
From: Alan J. Snyder
Date: Tue, 02 Apr 1991 15:00
40 lines
2225 bytes
> In a previous posting, I complained about Informix Wingz not working
> in the Sunview Compatibillity mode Under Open Windows 2.0.
> 
> Mark Day was kind enough to send email letting me know what the problem
> is.  It turns out that Wingz is trying to use the Sunview Selection
> service, but that isn't started automatically under Open Windows.  The
> solution is to start the Sunview selection service myself manually.  It is
> important to remember to kill the Sunview selection service after you have
> terminated the Wingz program to avoid problems with multiple copies
> running.

You should not necessarily kill selection_svc upon exiting WingZ. Some
other sunview apps (e.g., Framemaker) will use selection_svc if it is
there and will then exhibit the same problems when it's killed.  I patched
my wingz startup script to start selection_svc if it's not running, but
ended up removing code ti kill it upon exit...

	#run the correct executable if it is there
	if ( "$dir" == "$fullpath" ) then
		set fullpath=../bin.$ARCTYPE/$prog
	else
		set fullpath=$dir/../bin.$ARCTYPE/$prog
	endif
	if ( -f $fullpath ) then
+		if (`ps -ax | grep -c selection_svc` == "1" )  then
+			/usr/bin/sunview1/selection_svc &
+			set started_sel_svc
+		endif
		exec $fullpath $*
+	#	if ($?started_sel_svc) then
+	#		(set j=`ps -ax|grep selection_svc | head -1`
+	#		kill -1 $j[1]) >& /dev/null
+	#	endif
	else
		echo "Cannot find $prog for your machine architecture: $ARCTYPE."
		echo "Looking for $prog in $fullpath."
	endif

- Alan Snyder
asnyder@artorg.hmc.psu.edu
Technical Details
Message-ID: <2249@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: asnyder@ernie.artorg.hmc.psu.edu (Alan J. Snyder)
Newsgroups: comp.sys.sun
Subject: Re: WingZ selection service problem
Keywords: Software
Message-ID: <2249@brchh104.bnr.ca>
Date: 2 Apr 91 15:00:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 40
Approved: Sun-Spots@rice.edu
X-Original-Date: Thu, 28 Mar 91 08:17:13 EST
X-Refs:  Original: v10n53, Replies: v10n59 v10n67
X-Sun-Spots-Digest: Volume 10, Issue 67, message 15
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu