home *** CD-ROM | disk | FTP | other *** search
- 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
- Newsgroups: comp.unix.sys5.misc,comp.unix.sys5.r3,comp.unix.sys5.r4,comp.sys.encore,comp.unix.programmer,comp.unix.internals
- Path: sparky!uunet!news.encore.com!nbaroz
- From: nbaroz@encore.com (Nir Baroz)
- Subject: ANY IDEAS HOW TO CATCH SIGNALS FROM THE CONSOLE ??
- Organization: Encore Computer Corporation
- Date: Thu, 12 Nov 1992 16:50:08 GMT
- Message-ID: <BxM43M.EG3@encore.com>
- Summary: Looking for a way to catch signal from the /dev/console
- Keywords: console,signal,getty
- Sender: news@encore.com (Usenet readnews user id)
- Nntp-Posting-Host: achilles.encore.com
- Lines: 20
-
-
- Does anyone have any experience with getty(1) on the /dev/console.
-
- We are trying to write a program that catches the SIGINT, SIGQUIT,
- and SIGTERM signals from the /dev/console when the operator hit
- the key associates with that signal.
-
- We want to be able to connect the program with the console instead
- of getty or in addition to getty, but be sure that the program and
- not getty catches the signal.
-
- Any ideas or examples are welcome.
-
-
- Eddie & Nir
- ----
- Nir Baroz nbaroz@encore.COM
- Tel: (305)-797-2356 uunet!encore!nbaroz
- Encore Computer Corporation
-
-