bash bracketed ("reverse video") paste
Tom H
tomh0665 at gmail.com
Mon May 24 11:42:54 UTC 2021
On Sun, May 23, 2021 at 2:18 PM Colin Watson <cjwatson at ubuntu.com>
wrote:
> On Sun, May 23, 2021 at 02:05:36PM +0200, Tom H wrote:
>> On Sun, May 23, 2021 at 1:30 PM Colin Law <clanlaw at gmail.com>
>> wrote:
>>> On Sun, 23 May 2021 at 12:21, Tom H <tomh0665 at gmail.com> wrote:
>>>>
>>>> While searching the archive for a thread on a 21.04 bug, I saw
>>>> an email about stopping "reverse video" pasting.
>>>>
>>>> There are two ways to turn off this new bash (mis)feature:
>>>
>>> What is it that you don't like about bracketed paste?
>>
>> It's visually jarring
>
> Bracketed paste is a semantic feature, not a visual one: in the
> context of bash, it means that pastes don't get interpreted as
> commands until you press Enter, for instance. Unfortunately bash
> 5.1 seems to have tied the visual behaviour to the semantic one. In
> Chris Green's previous thread on this, I posted some more details
> and a suggestion to ask upstream to allow the visual behaviour to
> be controlled independently.
I assume that bash uses the highlighting because that's the way that
zsh does it, and that the feature AFAIK was first implemented there.
Thanks.
I'll file an RFE for a no-visual behavior option. Thanks. I hadn't
thought of making such a request!
More information about the ubuntu-users
mailing list