bug-readline
[Top][All Lists]
Advanced

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

Re: bracketed-paste-mode should default to "off"


From: Per Bothner
Subject: Re: bracketed-paste-mode should default to "off"
Date: Fri, 25 Feb 2022 06:42:44 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 2/24/22 23:12, Frederick Eaton wrote:
But all the other interactive programs I use are based
on Readline, and so I can't use the X clipboard with them, like I do
with my custom bindings in Zsh and Emacs. If I could paste from the X
clipboard (or some other shared clipboard) within Readline, then I
think I would have no need for bracketed-paste-mode.

What do you mean you can't paste from the X clipboard? That is what
bracketed-paste-mode is meant to support.  Most modern terminal emulators
have a key-binding to paste from the clipboard. On Unix-like systems
it is usually Ctrl-Shift-V and/or Shift-Insert.

What are harder problem is
(a) the reverse problem: copying to clipboard; and
(b) co-oordinating with the X selection.

A related problem is that one should be able move the readline cursor
by clicking with the mouse.  (The DomTerm terminal implements this by sending
left-arrow/right-arrow commands as needed, when emabled by certain escape 
sequences.)t
--
        --Per Bothner
per@bothner.com   http://per.bothner.com/



reply via email to

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