Article View: comp.unix.sys5.misc
Article #13ANY IDEAS HOW TO CATCH SIGNALS FROM THE CONSOLE ??
From: Nir Baroz
Date: Thu, 12 Nov 1992 16:50
Date: Thu, 12 Nov 1992 16:50
19 lines
1226 bytes
1226 bytes
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
Technical Details
Message-ID:
<BxM43M.EG3@encore.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!news.encore.com!nbarozShow Full Headers
Complete Article Headers
Newsgroups: comp.unix.sys5.misc,comp.unix.sys5.r3,comp.unix.sys5.r4,comp.sys.encore,comp.unix.programmer,comp.unix.internals Path: arc1-ca.pugleaf.net!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