[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] documentation of signal handling
From: |
frederik |
Subject: |
Re: [Bug-readline] documentation of signal handling |
Date: |
Mon, 17 Apr 2017 15:47:57 -0700 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
> Yeah, you should look at the actual documentation. Not only does it
> explain the situation, readline-7.0 adds a variable that restores the
> previous persistent signal handling behavior if the application desires.
> That reduces the `undocumented sequence' to one line of code.
>
> If you're not going to read the documentation, or at least the new feature
> descriptions in the CHANGES file, there's not a lot I can do to help.
Since you told me you weren't going to fix the problem I had
identified, I had no reason to look at CHANGES or to reread the
manual.
Now I see 'rl_pending_signal()' and 'rl_persistent_signal_handlers' -
thank you!
> The example still exits on SIGINT, as most programs do.
Can you add an example that demonstrates how to use the new variable
and function to get good (bash-like) behavior on SIGWINCH and SIGINT?
Or should I put this on my own (long) TODO-list?
Thank you,
Frederick