[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pasting in bracketed-paste mode breaks reverse-i-search
From: |
gentoo_eshoes |
Subject: |
pasting in bracketed-paste mode breaks reverse-i-search |
Date: |
Tue, 21 Apr 2020 03:32:53 +0200 (CEST) |
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -pipe -march=native -Wno-trigraphs -fno-schedule-insns2
-fno-delete-null-pointer-checks -mtune=native -fomit-frame-pointer -O2
-D_FORTIFY_SOURCE=2 -DQT_FORCE_ASSERTS -ggdb -rdynamic
-DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin'
-DSTANDARD_UTILS_PATH='/usr/bin' -DSYS_BASHRC='/etc/bash.bashrc'
-DSYS_BASH_LOGOUT='/etc/bash.bash_logout' -DNON_INTERACTIVE_LOGIN_SHELLS
-fstack-protector-strong -fno-omit-frame-pointer -ftrack-macro-expansion=2
-ggdb -fvar-tracking-assignments -O2 -Wno-parentheses -Wno-format-security
uname output: Linux Z575 5.6.5-gf07f08b09f05 #91 SMP PREEMPT Sat Apr 18
03:21:35 CEST 2020 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.0
Patch Level: 16
Release Status: maint
this bashbug doesn't show commit/branch that was used... it's 'devel' commit
commit 96a2ec128b24f328a86645ef2ceaa5d4a96515ed Date: Fri Apr 17 15:43:10
2020 -0400
Description:
pasting while in reverse-i-search undoes it
Repeat-By:
$ bind 'set enable-bracketed-paste on'
select character 'c' with the mouse, so it can be pasted via pressing MMB or
shift+insert
press Ctrl+R to enter (reverse-i-search)`':
paste, (either by pressing MMB or shift+insert)
the reverse-i-search prompt goes away and you're back to regular prompt, having
just 'c' pasted there: $ c
Mitigation:
1. $ bind 'set enable-bracketed-paste off'
2. press Ctrl+R to enter (reverse-i-search)`':
3. paste, (either by pressing MMB or shift+insert)
it worked:
(reverse-i-search)`c': bind 'set enable-bracketed-paste off'
Fix:no idea; takes a genius to fix this.
- pasting in bracketed-paste mode breaks reverse-i-search,
gentoo_eshoes <=