Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!lll-winken!arisia!janssen@holmes From: janssen@holmes (Bill Janssen) Newsgroups: comp.windows.x Subject: Re: getting CONTROL C to interrupt X application Message-ID: <2758@arisia.Xerox.COM> Date: 1 Sep 89 20:43:43 GMT References: <8908231747.AA20273@ATHENA.MIT.EDU> <525@granite.dec.com> <2395@auspex.auspex.com> <261@auto-trol.UUCP> Sender: news@arisia.Xerox.COM Reply-To: janssen@holmes (Bill Janssen) Organization: PARC.Xerox.COM Lines: 12 In-reply-to: marbru@auto-trol.UUCP (Martin Brunecky) In article <261@auto-trol.UUCP>, marbru@auto-trol (Martin Brunecky) writes: >YES, polling is the only answer in the X world. Not so. Look at the X11 code in GNU Emacs. It uses SIGIO to do asynchronous processing of X events. A control-C handler could be implemented similarly. Bill -- Bill Janssen janssen.pa@xerox.com (415) 494-4763 Xerox Palo Alto Research Center 3333 Coyote Hill Road, Palo Alto, California 94304