[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] documentation of signal handling
From: |
Chet Ramey |
Subject: |
Re: [Bug-readline] documentation of signal handling |
Date: |
Mon, 17 Apr 2017 16:22:54 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 4/17/17 3:00 PM, address@hidden wrote:
> Hi Chet,
>
> It's coming up on the anniversary of my request for documentation of
> the Readline 6.3 signal handling changes, so I decided to ping you
> again.
>
> I'm looking at this file:
>
> http://git.savannah.gnu.org/cgit/readline.git/tree/examples/rl-callbacktest.c?h=devel
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.
The example still exits on SIGINT, as most programs do.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/