Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!balrog!ctron.com From: dj@ctron.com (DJ Delorie) Newsgroups: comp.windows.x Subject: Re: Detecting user on Xterm or else.How ??? Message-ID: <1602@balrog.ctron.com> Date: 3 Jun 91 13:42:25 GMT References: <1991Jun1.152202.12891@bronze.ucs.indiana.edu> Sender: news@balrog.ctron.com Reply-To: dj@ctron.com Organization: None whatsoever Lines: 10 Nntp-Posting-Host: bragi In article <1991Jun1.152202.12891@bronze.ucs.indiana.edu>, izar@shuldig.huji.ac.il (Izar Tarandach) writes: > I'm writing a program that I'd like be able to check if a given user > is in a X terminal or not - depending on the result, I'd send a message in > written format or a X window - anybody knows a good way to do that ? I've noticed that xterm sets the WINDOWID environment variable to the window id of the window it uses - might be useful. DJ dj@ctron.com