[comp.windows.x] DISPLAY env from wm's

alan@APPLE.COM (Alan Mimms) (04/18/89)

When I run my window manager, I'd LIKE to be able to do something like
"MyFavoriteWindowManager -display host:0.0 &" -- but the window manager's
client-spawning capabilities are then hampered by the fact that I didn't
put the display name in the DISPLAY environment variable -- so clients
don't automagically get the display set up for them for free.

If I do, instead, "setenv DISPLAY host:0.0; MyFavoriteWindowManager &",
I get the right behavior, but it's more complicated if I want to do
the command via "rsh" or some such.

A (In My Humble Option) very good solution to this would be for window
managers to ALWAYS clone their display string into an environment
variable which, of course, they pass on to child processes.  That way
specifying the display to a window manager using either technique would
work just the same for every case.

Wouldn't it be SIMPLE?  (uwm, twm, awm, etc...)

Alan Mimms                                      My opinions are generally
Communications Product Development Group        pretty worthless, but
Apple Computer                                  they *are* my own...
"The company has new jobs and Jobs has a new company" -- Harry Anderson