home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / atari / st / tech / 4430 < prev    next >
Encoding:
Text File  |  1992-08-15  |  1.5 KB  |  39 lines

  1. Newsgroups: comp.sys.atari.st.tech
  2. Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!ilepore
  3. From: ilepore@nyx.cs.du.edu (Ian Lepore)
  4. Subject: Re: Trapping ^C
  5. Message-ID: <1992Aug15.220008.22145@mnemosyne.cs.du.edu>
  6. Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
  7. Organization: University of Denver, Dept. of Math & Comp. Sci.
  8. References: <1992Aug14.071027.24659@mnemosyne.cs.du.edu> <1992Aug14.103938.1@uwovax.uwo.ca>
  9. Date: Sat, 15 Aug 92 22:00:08 GMT
  10. Lines: 27
  11.  
  12. Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
  13. X-Disclaimer: Nyx is a public access Unix system run by the University
  14.     of Denver for the Denver community.  The University has neither
  15.     control over nor responsibility for the opinions of users.
  16.  
  17.  > Under MiNT... Psignal(SIGINT, SIG_IGN)
  18.  
  19.  Yeah ::sigh:: unfortunately what I'm doing is trying to build a signal()
  20. system for dlibs, for folks not running under MiNT.
  21.  
  22.  > have execv() remore the 0x0102 vector
  23.  
  24.  Aw sh*t you're kidding!  I hadn't checked it, I just assumed GEMDOS would
  25. be bright enough to manage the pterm vector on a per-process basis.
  26.  
  27.  Actually, I had about given up on implementing SIGINT at all, but I was 
  28. gonna implement the ANSI-defined SIGTERM and tie it to the termination 
  29. vector.  I was also going to use the termination vector to clean up hooks
  30. in other vectors (for handling SIGSEGV and stuff).  It looks like this is
  31. gonna get to be more comlex than I had ever imagined.  No wonder the 
  32. original dlibs didn't have a signal() system in it.
  33.  
  34.  
  35. --
  36. - Ian
  37. (void *) where prohibited by law
  38.  
  39.