home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / xenix / sco / 3742 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  874 b 

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!netcomsv!ahmcs!alan
  2. From: alan@ahmcs.mq.com (Alan Mintz)
  3. Newsgroups: comp.unix.xenix.sco
  4. Subject: Available signals under XENIX?
  5. Keywords: XENIX signals
  6. Message-ID: <471@ahmcs.mq.com>
  7. Date: 26 Jan 93 23:45:10 GMT
  8. Organization: Micro-Quick Systems, Inc.
  9. Lines: 24
  10.  
  11. I need to have a shell script that sits and waits for a signal and then
  12. performs some action, e.g.:
  13.  
  14. trap "command" signum
  15.  
  16. while :
  17. do
  18.  sleep 60
  19. done
  20.  
  21. (I think).
  22.  
  23. It appears, though, that certain signals are recognized, but some (like
  24. USR1 and USR2) never get caught. Any clues?
  25.  
  26. I notice that signal 20 (SIGPOLL) seems to work OK. What other programs/drivers
  27. might send SIGPOLL in a strictly character-based, ASCII terminal type
  28. of environment?
  29.  
  30. Is any of this different under SCO UNIX?
  31. ---
  32. < Alan H. Mintz  | alan@ahmcs.mq.com | ...!uunet!ahmcs!alan >
  33.