[3004] in Athena Bugs

home help back first fref pref prev next nref lref last post

6.3B DISPLAY confuses zephyr hide and zctl (vax at least)

daemon@ATHENA.MIT.EDU (Dave Morrison)
Fri Aug 25 15:09:13 1989

To: bugs@ATHENA.MIT.EDU
Cc: wdc@ATHENA.MIT.EDU
From: Dave Morrison <drmorris@ATHENA.MIT.EDU>
Date: Fri, 25 Aug 89 15:08:43 EDT
This was reported from a user in the student center, while Beth and I
went touring:

[~]:morgan % zl drmorris
MORGAN.MIT.EDU                             unix:0  Fri Aug 25 13:29:13 1989
[~]:morgan % zctl hide
[~]:morgan % zl drmorris
MORGAN.MIT.EDU                             unix:0  Fri Aug 25 13:29:13 1989
[~]:morgan % zctl hide
[~]:morgan % zl drmorris
Hidden or not logged-in
[~]:morgan % zctl unhide
[~]:morgan % zl drmorris
MORGAN.MIT.EDU                             unix:0.0 Fri Aug 25 14:14:47 1989
MORGAN.MIT.EDU                             unix:0  Fri Aug 25 13:29:13 1989
[~]:morgan % punt zwgc
[~]:morgan % zlocate drmorris
MORGAN.MIT.EDU                             unix:0.0 Fri Aug 25 14:41:10 1989
[~]:morgan % zctl hide
[~]:morgan % zlocate drmorris
Hidden or not logged-in
[~]:morgan % printenv DISPLAY
unix:0.0
[~]:morgan %

'punt' is a program in the consult locker which kills a process.

I expect the problem is that the zwgc is started in the console window
where the DISPLAY is unix:0 (checked by an echo in .xsession).  The
DISPLAY is the xterms is unix:0.0.

I don't know the cause of the DISPLAY descrepancy.  My guess would be
the way xlogin/xsession passes environments to its children, if that
makes any sense.

					Dave Morrison

home help back first fref pref prev next nref lref last post