[comp.sys.sgi] Getting The Name of A Process Running in A Window

mike@bucasb.bu.edu (Michael Cohen) (10/25/89)

I,m running under Silicon Graphics Window System 4sight which is a version
of News ... . The current restart code running in init.ps has a bug in that
if the console window is killed then an attempt to connect the console
after login to the console window via /etc/gl/startconsole fails to
connect the console to the console window.  I would like to be able
to kill all windows save the console window via a command like /destroy.
Is there a simple way to do this without rewriting various object
modules.
--
Michael Cohen ---- Center for Adaptive Systems
Boston University (617-353-7857)
Email: mike@bucasb.bu.edu
Smail: Michael Cohen
       Center for Adaptive System
       Department of Mathematics, Boston University	
       111 Cummington Street, RM 242
       Boston, Mass 02215

mike@pixar.UUCP (Mike Russell) (10/26/89)

In article <MIKE.89Oct25003642@bucasb.bu.edu> mike@bucasb.bu.edu (Michael Cohen) writes:
> .... description of bug provoked by a missing console window ...
>I would like to be able
>to kill all windows save the console window via a command like /destroy.
>Is there a simple way to do this without rewriting various object
>modules.
>--

How about this:

	{FrameLabel (console) ne { destroy } if} AllWin

You may need to tweak the string (console) to match your console window
label.
-- 
Mike Russell ucbvax!pixar!mike	When the vark gets ard,
				the ard get varking.