help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Signal delivery and select/read


From: Chet Ramey
Subject: Re: [Help-bash] Signal delivery and select/read
Date: Sun, 12 May 2019 13:15:30 -0600
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 4/21/19 1:46 AM, Andreas Kusalananda Kähäri wrote:

>> I can see arguments for the current select behavior and the behavior where
>> it more closely mimics the `read' builtin. Which do you think works better?
> 
> Well, I could say that I think having them behave the same would be
> nice, and being able to interrupt the read of "select" in exactly the
> same way as with "read" when a trap handler for SIGINT is installed
> would be good.  This was however not an attempt to get anything changed,
> just me trying to figure out why the two behaviours were different and
> whether the behaviours were documented.

I think I will change the behavior of the read builtin when called by
select to be identical to the read builtin behavior when called
standalone.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]