Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!bellcore!uunet!olivea!decwrl!adobe!heaven!heaven.woodside.ca.us From: glenn@heaven.woodside.ca.us (Glenn Reid) Newsgroups: comp.sys.next Subject: Re: XtAddInput analog in NeXT Step Message-ID: <443@heaven.woodside.ca.us> Date: 2 Mar 91 01:36:13 GMT References: <1991Mar1.174526.17075@wdl1.wdl.loral.com> Sender: glenn@heaven.woodside.ca.us Lines: 15 In article <1991Mar1.174526.17075@wdl1.wdl.loral.com> mdm@wdl50.wdl.loral.com (Mike D Marchionna) writes: > > In X there is a function called XtAddInput that allows the caller to specify a > UNIX file descriptor to monitor. XtAddInput will invoke a specified callback > routine whenever there is data to read on the indicated file descriptor. Check out DPSAddFD(). It's part of Display PostScript, but I think it will do what you want. -- Glenn Reid RightBrain Software glenn@heaven.woodside.ca.us NeXT/PostScript developers ..{adobe,next}!heaven!glenn 415-851-1785 (fax 851-1470)