[Top][All Lists]

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

Re: cannot validate read -e entry when bound to TAB

From: Chet Ramey
Subject: Re: cannot validate read -e entry when bound to TAB
Date: Fri, 11 Nov 2022 09:48:28 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 11/10/22 3:19 PM, of1 wrote:

Bash Version: 5.2
Patch Level: 2
Release Status: release

        It is not a new behavior in 5.2, but since then I used to work around this issue with
         read -set .001 -d '' DISCARD
         before the actual read -e
        Alas, this does not work anymore with 5.2 (-e and -t combination triggers shell exit or, when used in a script, prevents further use of read -e).         Is there a solution to this problem? The return of the previous behavior of -e and -t combination would be fine for me although I don't understand why I need this.

Thanks for the report. I just fixed this yesterday based on another report.
Here's a patch; it will be in the next devel branch push.


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

Attachment: read-readline-timeout
Description: Text document

reply via email to

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