home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / atari / st / tech / 6254 < prev    next >
Encoding:
Text File  |  1992-12-14  |  2.0 KB  |  47 lines

  1. Newsgroups: comp.sys.atari.st.tech
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!sgiblab!sgigate!sgi!wdl1!wdl1!dinolt
  3. From: dinolt@wdl1.wdl.loral.com (George W Dinolt)
  4. Subject: SIGIO for MiNT
  5. Message-ID: <DINOLT.92Dec14181235@wdl34.wdl1.wdl.loral.com>
  6. Sender: news@wdl.loral.com
  7. Organization: Loral Western Development Laboratories
  8. Distribution: comp.sys.atari.st.tech
  9. Date: Tue, 15 Dec 1992 01:12:34 GMT
  10. Lines: 35
  11.  
  12. In my attempts to port (gnu)oleo to my Atarist 1040 under MiNT, I
  13. found I needed to be able to ``handle'' SIGIO.  In the recently
  14. distributed MiNT 96 version 14 (experimental) SIGIO appears in the
  15. list of signals in .../include/signal.h but no mention of it is made in
  16. the source.  After rummaging around for a bit in the source, I made
  17. several small changes, one to proc.c (process initialization) and one to
  18. bios.c (in checkkeys(), which signals SIGIO if there are new and unread
  19. characters in the io record).  
  20.  
  21. For those who care and don't know, SIGIO is- 
  22. #define    SIGIO    23    /* input/output possible signal */
  23.  
  24. These changes seem to work well for the keyboard. But they are not the
  25. general solution and don't signal io for any of the other available
  26. file handles. Does anyone have a better, more general approach for
  27. sending SIGIO?  Might this feature be included in future releases of
  28. MiNT?
  29.  
  30. (Gnu)oleo is a ``spread sheet'' program distributed by the Free
  31. Software Foundation. (Oleo is better than the high priced spread.) As
  32. delivered, it works with either an X or curses interface.  I was able
  33. to port the curses version easily to (my modified) MiNT by adding two
  34. lines of code (long _stksize=-1; binmode(1);) to the appropriate
  35. places. This provides an asynchronous keyboard interface. There is
  36. supposed to be an interface which doesn't require SIGIO, but it
  37. doesn't work and it was easier to fix MiNT than to fix that interface.
  38.  
  39. Many thanks to Eric Smith and the others who have put MiNT and the
  40. libraries together.  You have provided me with a very fine
  41. environment.
  42. --
  43. Regards,
  44. George Dinolt (dinolt@wdl1.wdl.loral.com, (408) 473-4150)
  45.  
  46.  
  47.