Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: DIY ZSH
- X-seq: zsh-users 19991
- From: lilydjwg <lilydjwg@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: DIY ZSH
- Date: Thu, 12 Mar 2015 17:07:43 +0800
- Disposition-notification-to: lilydjwg@xxxxxxxxx
- 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==
- In-reply-to: <XnsA45AD97A4A092davidrayninfocouk@80.91.229.13>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <XnsA45AD97A4A092davidrayninfocouk@80.91.229.13>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author