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: Fri, 16 Oct 2020 09:28:26 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.3.2

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.

As for the hint, the man page is the wrong place for it. It's one of the
items in CHANGES:

h. Bracketed paste mode is enabled by default (for now).

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