Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16211

pasting in bracketed-paste mode breaks reverse-i-search

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 <mailman.854.1587432782.3066.bug-bash@gnu.org> (permalink)
References <M5PMSNi--3-2@tutanota.com>
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 <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <M5PMSNi--3-2@tutanota.com>
Xref csiph.com gnu.bash.bug:16211

Show key headers only | View raw


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.

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

pasting in bracketed-paste mode  breaks reverse-i-search gentoo_eshoes@tutanota.com - 2020-04-21 03:32 +0200

csiph-web