Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16137
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: [PATCH] Add active mark, face support; activate mark on paste |
| Date | 2020-04-15 10:44 -0400 |
| Organization | ITS, Case Western Reserve University |
| Message-ID | <mailman.324.1586961875.3066.bug-bash@gnu.org> (permalink) |
| References | (5 earlier) <M4h5hzL--Z-2@tutanota.com> <M4uRTLa--3-2@tutanota.com> <b8ea13c8-c7bd-b644-3c3e-34cb59fd9c72@case.edu> <M4yGRLk--3-2@tutanota.com> <79da7d27-88d1-7db7-deef-6fe9e7643463@case.edu> |
On 4/15/20 10:37 AM, gentoo_eshoes@tutanota.com wrote: >> This is the expected behavior with bracketed-paste enabled. The pasted text >> is `bracketed' by a start and end sequence -- that's how the face code >> knows what's been pasted and to highlight it -- and any embedded editing >> characters, like newline, are simply added to the editing buffer. The >> face code enables bracketed paste by default, since it doesn't make much >> sense to test it without bracketed paste enabled. >> > Good to know. This is actually pretty good: it can act like a security feature for when pasting copied text that could be dangerous, especially since I've disabled xfce4-terminal's Preferences->General->[ ] Show unsafe paste dialog > > This is actually a (nice)feature. Thank you! You can enable bracketed paste mode in bash-4.4 and later by putting set enable-bracketed-paste on into your inputrc. Chet -- ``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/
Back to gnu.bash.bug | Previous | Next | Find similar
Re: [PATCH] Add active mark, face support; activate mark on paste Chet Ramey <chet.ramey@case.edu> - 2020-04-15 10:44 -0400
csiph-web