[comp.windows.x] SunView and X coexistence

dupuy@amsterdam.columbia.edu (Alexander Dupuy) (05/06/87)

Having brought up X on our Suns, I want to run X under SunView.

Digging up my old saved copies of xpert, I find that I should use overview,
with the magic `-w' flag.  [can anyone explain what -w really does?].

So I start X - everything works fine (except the mouse tracking is far too
responsive).  Now I want to suspend X, and get back to my SunView windows,
leaving the overview icon.  Can I do this?  Sending stop signals to X and xinit
leaves things in a very weird state (I can remedy this with setkeys, though).
But I can never get X to continue normally afterward.  Does anyone have any
suggestions on how to do this?  (Besides running NeWS :-).

@alex
---
arpanet: dupuy@columbia.edu
uucp:	...!seismo!columbia!dupuy

prb@random.cray.COM.UUCP (05/07/87)

The `-w' option, as far as I can tell, does not have overview pass a
descriptor of the kbd to the application (X in this case) but instead
assigns an environment variable WINDOW_GFX to special file which X
can open and gain access to all the fun internal sun functions.  (haveing
the variable WINDOW_GFX set is how X determines if it is running under
overview).

Anyhow, to get back to SunView from X press <META-L2> (actually <LEFT-L2>
or <RIGHT-L2>) and you will be back to SunView.  This probably should have
made it into the Xsun man page, but X11 is coming and I assume that the
people at SUN will do a better job.

As for your Keyboard, X remaps it so that you can use all your function
keys.  If you do not like this feature, recompile Xsun without the
#define RAW_KBD.  (I think it actually is in the makefile as -DRAW_KBD).

				-Paul R Borman
				 Cray Research, Inc.
				 prb@umn-rei-uc.arpa

dupuy@amsterdam.columbia.edu (Alexander Dupuy) (05/09/87)

Thanks for the explanation of the -w flag.  I tried using LEFT-L2 and other
various combinations of shift keys, but it didn't suspend X.  Will I have to
recompile the server without -DRAW_KBD to get that to work?

@alex
---
arpanet: dupuy@columbia.edu
uucp:	...!seismo!columbia!dupuy