bug-bash
[Top][All Lists]
Advanced

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

Re: New feature in bash 5.1/readline-8.1 rc1 breaks python-pexpect


From: Chet Ramey
Subject: Re: New feature in bash 5.1/readline-8.1 rc1 breaks python-pexpect
Date: Wed, 28 Oct 2020 10:23:57 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.3.3

On 10/16/20 9:28 AM, Chet Ramey wrote:
> On 10/16/20 9:16 AM, Dr. Werner Fink wrote:
> 
>> Also a warning hint in the manual page could
>> help users before enabling this feature :)
> 
> I agree, and the manual page in the release will reflect bracketed paste's
> default setting. However, readline doesn't try to enable bracketed paste if
> tcgetattr fails, which it will on an fd that's not a terminal, so I am
> fairly sure that expect/pexpect use ptys to masquerade as terminals.
> 
> The biggest problem with bracketed paste is that right now, there's simply
> no way to determine whether or not a particular terminal supports it.

I wonder if it would make sense for bash to compile its version of readline
with bracketed paste on by default, but the standalone readline library
version have it off. Or is that too clever by half?


-- 
``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/



reply via email to

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