From owner-freebsd-current Tue Feb 10 12:56:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA12408 for current-outgoing; Tue, 10 Feb 1998 12:56:39 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from nike.ins.cwru.edu (chet@nike.INS.CWRU.Edu [129.22.8.219]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA12134 for ; Tue, 10 Feb 1998 12:55:28 -0800 (PST) (envelope-from chet@nike.ins.cwru.edu) Received: (chet@localhost) by nike.ins.cwru.edu (8.8.7/CWRU-2.5-bsdi) id PAA17032; Tue, 10 Feb 1998 15:54:25 -0500 (EST) (from chet) Date: Tue, 10 Feb 1998 15:51:30 -0500 From: Chet Ramey To: bde@zeta.org.au Subject: Re: cvs commit: src/bin/sh jobs.c Cc: cracauer@cons.org, freebsd-current@FreeBSD.ORG, chet@po.cwru.edu Reply-To: chet@po.cwru.edu In-Reply-To: Message from bde@zeta.org.au of Wed, 11 Feb 1998 04:42:20 +1100 (id <199802101742.EAA16027@godzilla.zeta.org.au>) Message-ID: <980210205130.AA17028.SM@nike.ins.cwru.edu> Read-Receipt-To: chet@po.CWRU.Edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 4. For subshells, traps caught by the shell shall be set to the default > values and traps ignored by the shell shall be ignored by the command. > > Notes. "the default values" doesn't seem to be specified. It presumably > means that the corresponding signals are set to SIG_DFL. The initial > state of trap handlers doesn't seem to be specified anywhere. I disagree. I believe that it means the values of signal handlers inherited from the shells' parent. That is the `initial state of trap handlers'. If a user starts a shell with some signal ignored, he has every right to expect that all processes begun from that shell will have that signal ignored. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, Case Western Reserve University Internet: chet@po.CWRU.Edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe current" in the body of the message