[comp.sys.sun] sunview on 2 monitors

ballen@convex.csd.uwm.edu (Bruce Allen) (06/05/91)

This question concerns using sunview on a two-headed (two monitor)
system.  I am running sunview on both monitors, and using
adjacentscreens so the mouse can switch between them.  I have
a short sunview application that I have written.  This application
writes to stdout (which is the command tool from which the application
was launched).  I wish to start this application from a cmdtool on
monitor A, and have it write its standard output into that cmdtool.
However I would like it to open its base frame window and associated
subwindows on monitor B.  Is there an easy way to do this?  I would
be happy to modify the frame=window_create(NULL,FRAME,...)
call in my code, if that might accomplish what I desire.
		Bruce Allen (ballen@dirac.phys.uwm.edu)

jms@tardis.tymnet.com (Joe Smith) (06/13/91)

In article <3427@brchh104.bnr.ca> you write:
>This question concerns using sunview on a two-headed (two monitor)
>system.  I wish to start this application from a cmdtool on
>monitor A, and have it write its standard output into that cmdtool.
>However I would like it to open its base frame window and associated
>subwindows on monitor B.

Here's a hint:
	1) On one cmdtool on monitor A type "env >env.1"
	2) On a different cmdtool on monitor A type "env >env.2"
	3) Type "diff env.1 env.2", this says what differences to ignore.
	4) On a cmdtool on monitor B type "env >env.3"
	5) Type "diff env.1 env.3".

By doing the appropriate 'setenv' on A, the application should use B.

Joe Smith (408)922-6220 | SMTP: jms@tardis.tymnet.com or jms@gemini.tymnet.com
BT Tymnet Tech Services | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms
PO Box 49019, MS-C51    | BIX: smithjoe | CA license plate: "POPJ P," (PDP-10)
San Jose, CA 95161-9019 | humorous dislaimer: "My Amiga 3000 speaks for me."