From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27017 invoked by alias); 12 Mar 2015 09:08:26 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19991 Received: (qmail 1627 invoked from network); 12 Mar 2015 09:08:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to :disposition-notification-to:user-agent; bh=GTJ4Qdw+obb5ICi9AD+AGDkgaoGDVWjITDyQvPqaEqw=; b=H3sXLnz7sCNWxhfTNczzOc9ShU/90F5wpsCL4RLKKGqT8G74wq2pnTNTIihcKiZl21 f8T33OF9o+Jhg3oSYvVUIOGIRxx43HwN1+r/LdjOzEv+FkS0W798djbEpDB7zzAnrweF nMbd3rsjbN6JV/z8HW7Usn9T7Aw/4KRnsXLqzv8L93xvWL6nmjnrt42TrYcbkmObYw5E zw0gDBCBzRLD+OknotLck74sI09+yKwBM7zdGPab9Yr6dsxkDeQ+OwMODXMgC1JtJS+S pjqoXApG0sqsB05uEkokCkr8JY9SEwkgqVSEWW7Syf7TKCFmmMjTkTFfO0gnmry5PxE5 sLpA== X-Received: by 10.70.88.137 with SMTP id bg9mr65101033pdb.92.1426151302926; Thu, 12 Mar 2015 02:08:22 -0700 (PDT) Date: Thu, 12 Mar 2015 17:07:43 +0800 From: lilydjwg To: zsh-users@zsh.org Subject: Re: DIY ZSH Message-ID: <20150312090743.GA23300@lilyforest> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) On Wed, Mar 11, 2015 at 09:22:38PM +0000, zzapper wrote: > Hi > I believe that you can extend zsh by writing your own modules functions > etc. > But how many of you are actually doing this and what sort of things are you > doing? I've written a simple zsh module to call prctl(PR_SET_CHILD_SUBREAPER, reaping); so that orphaned subprocesses won't get adopted by farther processes (e.g. init) when the shell is still there. It requires a recent Linux kernel. -- Best regards, lilydjwg