home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!ames!agate!stanford.edu!rutgers!cmcl2!psinntp!psinntp!relief!jjfeiler
- From: jjfeiler@relief.com (John Jay Feiler)
- Newsgroups: comp.sys.next.programmer
- Subject: Re: [NXApp run]
- Message-ID: <1992Aug28.061820.441@relief.com>
- Date: 28 Aug 92 06:18:20 GMT
- References: <1992Aug25.092051@fdr.jsc.nasa.gov>
- Sender: jjfeiler@relief.com
- Reply-To: jjfeiler@relief.com
- Organization: relief consulting
- Lines: 23
-
- In article <1992Aug25.092051@fdr.jsc.nasa.gov> shirley@fdr.jsc.nasa.gov (Bill
- Shirley [CSC]) writes:
- >
- > Does the -run method of Application NEED to be invoked.
- >
- > I need a little bit more control over the event loop.
- >
- > (NO, I didn't design it poorly, I didn't design it. I am trying
- > to integrate an old program into a NeXTSTEP environment.)
- >
- > The program I'm trying to write a front end for (it was command line)
- > calls a function that is equivalent to getc, and this function needs
- > to return a character, probably dispatching other events while waiting
- > for the character to come in.
-
- What about doing a DPSAddFD on the file descriptor of whatever you are
- "getc"ing from. The you can still use -run, and your getc stuff will be
- checked once every "run" event loop.
-
-
- > --
- > Bill Shirley | ``Computer Science is not about computers any
- > shirley@fdr.jsc.nasa.gov| more than astronomy is about telescopes.''
-