Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: gentoo_eshoes@tutanota.com Newsgroups: gnu.bash.bug Subject: pasting in bracketed-paste mode breaks reverse-i-search Date: Tue, 21 Apr 2020 03:32:53 +0200 (CEST) Lines: 46 Approved: bug-bash@gnu.org Message-ID: References: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1587432783 25821 209.51.188.17 (21 Apr 2020 01:33:03 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1587432773; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=5LTi/k+xGkb+Lo2MeOfLplPGM0LI+4SnWV7WCaGNYe4=; b=a9nxNo4Gh0xxPO4ia6Aw1KtcpDbp0GxCLefsI9lK5KA7hps456sqbvUVYbiSgrup +2UKr03ggmfU0xrqJ7ne69hZOMLuzt0nOaufHIIODnmPJ74TjSF9elZE8D0xABQrmhE uvyWbJNrxnvKdGKeP5XRX71oJeMCS8FTjwKwTO9tv0Lbj02oyRt7Jqp49ptzyF/NlHp aSmwT12KKsGOCO5CtXZuG0zlb+PB7kP3DG+pa/mxYLlHcuF7ZP3E1j5616m4F++5aD/ eVbvoGWgwrEzoGiEQg1FbwB2jZzP4V5/UAo6yO2+XTWmAfPetclkBxhqah/5pANCwBe T1CSH5cB9w== Received-SPF: pass client-ip=81.3.6.162; envelope-from=gentoo_eshoes@tutanota.com; helo=w1.tutanota.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/20 21:32:54 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 81.3.6.162 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: Xref: csiph.com gnu.bash.bug:16211 Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -pipe -march=3Dnative -Wno-trigraphs -fno-schedule-insn= s2 -fno-delete-null-pointer-checks -mtune=3Dnative -fomit-frame-pointer -O2= -D_FORTIFY_SOURCE=3D2 -DQT_FORCE_ASSERTS -ggdb -rdynamic -DDEFAULT_PATH_VA= LUE=3D'/usr/local/sbin:/usr/local/bin:/usr/bin' -DSTANDARD_UTILS_PATH=3D'/u= sr/bin' -DSYS_BASHRC=3D'/etc/bash.bashrc' -DSYS_BASH_LOGOUT=3D'/etc/bash.ba= sh_logout' -DNON_INTERACTIVE_LOGIN_SHELLS -fstack-protector-strong -fno-omi= t-frame-pointer -ftrack-macro-expansion=3D2 -ggdb -fvar-tracking-assignment= s -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' commi= t commit 96a2ec128b24f328a86645ef2ceaa5d4a96515ed Date:=C2=A0=C2=A0 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 o= r shift+insert press Ctrl+R to enter (reverse-i-search)`':=20 paste, (either by pressing MMB or shift+insert) the reverse-i-search prompt goes away and you're back to regular prompt, ha= ving just 'c' pasted there: $ c Mitigation: 1. $ bind 'set enable-bracketed-paste off' 2. press Ctrl+R to enter (reverse-i-search)`':=20 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.