Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!brutus.cs.uiuc.edu!apple!sun-barr!decwrl!chico.pa.dec.com!klee From: klee@chico.pa.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: Multiple displays for one client Keywords: events Message-ID: <2161@bacchus.dec.com> Date: 27 Nov 89 18:56:03 GMT References: <3900@scolex.sco.COM> Sender: news@decwrl.dec.com Reply-To: klee@decwrl.dec.com Organization: DEC Western Software Laboratory Lines: 14 In article <3900@scolex.sco.COM>, loranb@sco.COM (Loran Ball) writes: > Is there a way for a single client to receive events from > two displays efficiently and easily? If you're using a BSD-based UNIX, this is pretty efficient: 1. process all events on the connections (lots of ways to do this) 2. select() on the ConnectionNumber()'s for the connections 3. goto 1 Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@decwrl.dec.com uucp: uunet!decwrl!klee