Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Signal handling/zcurses



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@xxxxxxx>

        * 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.



Messages sorted by: Reverse Date, Date, Thread, Author