Ending a SunView Application
Cecil N. Jones
apctrc!gpb6!zcnj01 at uunet.uu.net
Tue Jun 20 06:14:46 AEST 1989
(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.
More information about the Comp.sys.sun
mailing list