Thread View: comp.unix.sys5.misc
2 messages
2 total messages
Started by Nir Baroz
Thu, 12 Nov 1992 16:50
ANY IDEAS HOW TO CATCH SIGNALS FROM THE CONSOLE ??
Author: 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
Re: ANY IDEAS HOW TO CATCH SIGNALS FROM THE CONSOLE ??
Author: Boyd Roberts
Date: Thu, 12 Nov 1992 22:23
Date: Thu, 12 Nov 1992 22:23
6 lines
912 bytes
912 bytes
You do not want to do this. Why not explain in more detail? Boyd Roberts boyd@prl.dec.com ``Not only is UNIX dead, it's starting to smell really bad.'' -- Rob Pike
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads