Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!milano!titan!janssen@titan.sw.mcc.com From: janssen@titan.sw.mcc.com (Bill Janssen) Newsgroups: comp.windows.x Subject: Re: Naive Question about Curses, Xt Message-ID: <2029@titan.sw.mcc.com> Date: 22 Feb 89 05:18:53 GMT References: <8902200344.AA10242@remote.dccs.upenn.edu> Sender: janssen@titan.sw.mcc.com Reply-To: janssen@titan.sw.mcc.com (Bill Janssen) Organization: MCC Software Technology Lines: 9 In-reply-to: JONES@WHARTON.UPENN.EDU It seems to me that the keystroke are going to the xterm application, which has asked for events on the xterm window. You are going to have to somehow find the resource-id of the xterm window, and ask for events on it. Can two clients receive the same event from a window? Probably not. Then your xterm will not be getting its events. Perhaps what you need is a curses select function that will allow you to select for input on either stdin or your X server connection. Bill