Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!husc6!rice!sun-spots-request From: apctrc!gpb6!zcnj01@uunet.uu.net (Cecil N. Jones) Newsgroups: comp.sys.sun Subject: Re: Ending a SunView Application Keywords: Windows Message-ID: <4130@kalliope.rice.edu> Date: 19 Jun 89 20:14:46 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 25 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 51, message 1 of 6 (rick grubin) writes: > >We have an application that, when it runs, uses the entire monitor screen >as its display. We have need for a way to stop the SunView processes(es), >clear the screen, and log out an account when this application is to be >stopped. What I am after is something analogous to how SunView works when >you exit it; that is, you select "Exit SunView" from the menu, and then >all your windows processes are killed, the screen is cleared, and you are >logged out (if you fire up SunView from your .login, and choose to exit >upon its completion). You might look at the source code for suntools and see how they do it. >Is there some sort of call or sequence of calls to accomplish this task? >We've been able to successfully stop SunView and its processes, but not >clear the screen before logout. Does anyone have any clues/pointers? the command clear_colormap might do it for you Cecil N. Jones Amoco Production Co. Tulsa, OK @apctrc.uucp The opinions expressed are solely my own.