Path: utzoo!attcan!uunet!ksr!benson From: benson@ksr.UUCP (Benson Margulies) Newsgroups: comp.windows.x Subject: Killing Slave Xterms Message-ID: <356@ksr.UUCP> Date: 10 Jun 88 23:13:51 GMT Reply-To: benson@ksr.UUCP (Benson Margulies) Distribution: na Organization: Kendall Square Research, Cambridge MA Lines: 28 Sender: Running X11R2, latest fixes, SunOS 3.5. I create slave xterms with -SppDD Like all xterms around here, they are setuid root. So I can't get rid of them by killing the xterm process. Closing the slave end of the pty is an unreliable, or at least slow, way to get rid of them. So, thought I, how about that Window that is wrtten back to the slave in hex? The windowID written back never matches what xwininfo has to say. further, XDestroyWindow(XOpenDisplay(NULL), strtol(widstr, NULL, 16)) with widstr fgets'ed from the slave, takes a protocol error, complaining that the window id is not a valid windowid. Can anyone offer any assistance? -- Benson I. Margulies Kendall Square Research Corp. harvard!ksr!benson ksr!benson@harvard.harvard.edu