zsh-users
 help / color / mirror / code / Atom feed
From: lilydjwg <lilydjwg@gmail.com>
To: zsh-users@zsh.org
Subject: Re: DIY ZSH
Date: Thu, 12 Mar 2015 17:07:43 +0800	[thread overview]
Message-ID: <20150312090743.GA23300@lilyforest> (raw)
In-Reply-To: <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


  parent reply	other threads:[~2015-03-12  9:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-11 21:22 zzapper
2015-03-11 23:15 ` toki clover
2015-03-12  8:31   ` Axel Beckert
2015-03-12 18:46     ` ZyX
2015-03-12 19:01       ` Axel Beckert
2015-03-12 21:03         ` ZyX
2015-03-12  9:07 ` lilydjwg [this message]
2015-03-12 21:51   ` zzapper
2015-03-13  3:59   ` Bart Schaefer
2015-03-13  4:15     ` lilydjwg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150312090743.GA23300@lilyforest \
    --to=lilydjwg@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).