From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#28139: 25.2; TRAMP vs bash 4.4 / readline 7.0 "bracketed paste" mode Date: Sat, 19 Aug 2017 19:59:07 +0200 Message-ID: <87mv6vjv6c.fsf@detlef> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1503165623 16662 195.159.176.226 (19 Aug 2017 18:00:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 19 Aug 2017 18:00:23 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 28139@debbugs.gnu.org To: Daniel Pittman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 19 20:00:16 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dj82a-0003Oi-PG for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Aug 2017 20:00:08 +0200 Original-Received: from localhost ([::1]:47017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dj82e-0001KH-BV for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Aug 2017 14:00:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dj82Y-0001HB-3Q for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 14:00:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dj82U-0002lI-8S for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 14:00:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37134) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dj82U-0002lE-6A for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 14:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dj82T-0007il-Tk for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 14:00:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Aug 2017 18:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28139 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28139-submit@debbugs.gnu.org id=B28139.150316555929594 (code B ref 28139); Sat, 19 Aug 2017 18:00:01 +0000 Original-Received: (at 28139) by debbugs.gnu.org; 19 Aug 2017 17:59:19 +0000 Original-Received: from localhost ([127.0.0.1]:45815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dj81m-0007hE-Ql for submit@debbugs.gnu.org; Sat, 19 Aug 2017 13:59:19 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:63236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dj81k-0007h1-TH for 28139@debbugs.gnu.org; Sat, 19 Aug 2017 13:59:17 -0400 Original-Received: from detlef.gmx.de ([212.86.41.245]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MNIAz-1dcmN21mgr-006smq; Sat, 19 Aug 2017 19:59:09 +0200 In-Reply-To: (Daniel Pittman's message of "Fri, 18 Aug 2017 11:22:29 -0400") X-Provags-ID: V03:K0:Pno33tp0mchG4tavIiTrpWOK/bei2uwfOP4AHJl6/gbOtB/rQKr wbesdsOyFeHrI7Qpky7ERPbqNfNGzgiGlDWLGBjPMspDP/VuoMt2NEFj9Vba2ET99dacpbU 7Wwl2f6OQZS67YgxDLdXxYzx5TYVCpDpQuuriNoWEfyOeNG3+a7tjeaP7GCiaBlZNgi98Yp Z4lnqJuuiXtUhfKgdjetw== X-UI-Out-Filterresults: notjunk:1;V01:K0:1Yj8SZ4PqDQ=:LLJzoSQq53e3qMHH+0RmSz IyWrd366U2Ke9zZuS9N1zF0mixfRgmfduR2ZMJr8rjaqHi5dv6FzDi+uAdp6h89m56NdUC0uD 1dadf9x/4G5Tcxl4kmyemPUYCwUYfRGnv3+OZdC3WQVdRPX5NCtANM961nVL6QpmprlVA1lzQ SiBUOSKKI5LqXhukQQzqyu6EupEgJqCa7I+uJ9erktg4MCig1ai3n2HflfYQMHi4vaYJTi4cd 4aYzvhYXlpFbYFDfmrmF6iSE8+Pu4WyFkJQr9RcWnxOj7Y7htkcfAaaGF/sZaO3/i0wLkrMyY L1I6KdNoC2wYBBFzWZOgeAg4tK/Ux4IFueLtDmpNhsNl3UdcyZH1EaDRiaNv9F2duPP7eUdh1 Pk6LhXV2osrpCPlLVk3Up8pbZnygFu5UxlJH4d797KI0WvhIxx09e14hULPIAp0cE7LdnLFWT t3zQEkcftZuG1AZ3HM8MCikNYDbM9tZ+Mp52y2iHbg3UI0RIvqu6xadTNCOPSLbhB/JUvjhdb v7Cim0mR2QVR0q//sX635uNUpnTmJTcuhnK/YY7z8t6zYr0Z1dCnpFH+Sgm4F8mdDkb14iFv6 EWqvsSIJkgkZtZZ/dzr6GHJdFyOJfnmw8F6yMHfImhyNixbNhnJ5+j2ab7uo71bucxVo4Lkmb lEaEVaeergg9SjKofAKrjwmGTMlRMyTXrKHWcZChEi6DDYNxrdxuL229aoq6PSy+inKmpOCPg 5wWjmc/e7BYTECCv7EbaMpcTVEHSSXxsCMwRUByFJzKS+F4ou/XUsfVh8Kndn8NxuW6wJfBz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135919 Archived-At: Daniel Pittman writes: Hi Daniel, > After upgrading a remote system to a version of GNU/Linux that > includes bash > 4.4 (from Debian/testing), with the readline option `set > enable-bracketed-paste on` in /etc/inputrc, and no personal inputrc, > tramp breaks. Many different shells are busy to break Tramp. > Passing the `--noediting` option to the remote shell command resolves > the problem, by disabling readline entirely, but it should also be > possible to augment the > `tramp-open-connection-setup-interactive-shell` to issue, > unconditionally, the command: > > bind 'set enable-bracketed-paste off' Does it help to add the following line into your remote ~/.bashrc: [ $TERM = "dumb" ] && bind 'set enable-bracketed-paste off' Best regards, Michael.