From owner-freebsd-hackers Tue Jun 20 15:51:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f93.law9.hotmail.com [64.4.9.93]) by hub.freebsd.org (Postfix) with SMTP id 70D0537C0C7 for ; Tue, 20 Jun 2000 15:51:16 -0700 (PDT) (envelope-from gerald_stoller@hotmail.com) Received: (qmail 16219 invoked by uid 0); 20 Jun 2000 22:44:35 -0000 Message-ID: <20000620224435.16218.qmail@hotmail.com> Received: from 12.20.190.1 by www.hotmail.com with HTTP; Tue, 20 Jun 2000 15:44:35 PDT X-Originating-IP: [12.20.190.1] From: "gerald stoller" To: freebsd-hackers@FreeBSD.ORG Subject: signals and traps Date: Tue, 20 Jun 2000 18:44:35 EDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I would like to play with the signals and traps of the Korn shell ; could someone please direct me quickly to the relevant areas? I expect that they are trap.c , sigact.[ch] , main.c , and siglist.* . I found runtraps (in the shell function of main.c ) and it calls runtrap from within a for-loop . This seems to be how the traps are processed. How does the signal get to the shell? Is the kernel involved in any of this? How is it determined which process should field a signal? Is there a description of the various fields of the structures involved and how they are used somewhere in a book or on the internet? ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message