home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / sys5 / misc / 58 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  1.3 KB

  1. Xref: sparky comp.unix.sys5.misc:58 comp.unix.sys5.r3:83 comp.unix.sys5.r4:497 comp.sys.encore:105 comp.unix.programmer:5264 comp.unix.internals:1951
  2. Newsgroups: comp.unix.sys5.misc,comp.unix.sys5.r3,comp.unix.sys5.r4,comp.sys.encore,comp.unix.programmer,comp.unix.internals
  3. Path: sparky!uunet!news.encore.com!nbaroz
  4. From: nbaroz@encore.com (Nir Baroz)
  5. Subject: ANY IDEAS HOW TO CATCH SIGNALS FROM THE CONSOLE ??
  6. Organization: Encore Computer Corporation
  7. Date: Thu, 12 Nov 1992 16:50:08 GMT
  8. Message-ID: <BxM43M.EG3@encore.com>
  9. Summary: Looking for a way to catch signal from the /dev/console
  10. Keywords: console,signal,getty
  11. Sender: news@encore.com (Usenet readnews user id)
  12. Nntp-Posting-Host: achilles.encore.com
  13. Lines: 20
  14.  
  15.  
  16. Does anyone have any experience with getty(1) on the /dev/console.
  17.  
  18. We are trying to write a program that catches the SIGINT, SIGQUIT,
  19. and SIGTERM signals from the /dev/console when the operator hit 
  20. the key associates with that signal.
  21.  
  22. We want to be able to connect the program with the console instead 
  23. of getty or in addition to getty, but be sure that the program and 
  24. not getty catches the signal.
  25.  
  26. Any ideas or examples are welcome.
  27.  
  28.  
  29. Eddie & Nir
  30. ----
  31.    Nir Baroz                                  nbaroz@encore.COM
  32.    Tel: (305)-797-2356                        uunet!encore!nbaroz
  33.    Encore Computer Corporation
  34.  
  35.