home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / next / programm / 5857 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.3 KB

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