zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users ml <zsh-users@zsh.org>
Subject: Re: Signal handling/zcurses
Date: Wed, 20 Apr 2011 07:40:48 -0700	[thread overview]
Message-ID: <110420074048.ZM16389@torch.brasslantern.com> (raw)
In-Reply-To: <20110420101911.GA6357@layslair.ath.cx>

On Apr 20, 12:19pm, Anthony Charles wrote:
}
} Why does zcurses terminated on USR1 ? Is there a way to change that
} apart of changing module source code (or maybe this is a bug) ?

It's difficult to say without seeing the actual script (or at least the
part of it where you loop to read input), but it's very possible that
it's related to this:

2011-04-11  Peter Stephenson  <pws@csr.com>

        * users/15953: Src/builtin.c: handle EINTR when using read -k or
        -q together with -u or -p.

This only affects operating systems wherein system calls are not
automatically restarted after a signal.  It's also possible that it's
not fixed by that patch, rather that there's yet another place where
EINTR has to be handled specially.


  reply	other threads:[~2011-04-20 14:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-20 10:19 Anthony Charles
2011-04-20 14:40 ` Bart Schaefer [this message]
2011-04-20 19:22   ` Anthony Charles
2011-04-21  8:48     ` Bart Schaefer
2011-04-21 14:31       ` Anthony Charles
2011-04-21 15:47         ` Bart Schaefer
2011-04-21 18:08           ` Anthony Charles
2011-04-22  3:07             ` Bart Schaefer
2011-04-22  5:52               ` Bart Schaefer
2011-04-22 14:22                 ` Bart Schaefer
2011-04-27  8:38                   ` Anthony Charles
2011-04-21 18:29           ` Anthony Charles

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=110420074048.ZM16389@torch.brasslantern.com \
    --to=schaefer@brasslantern.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).