bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28139: 25.2; TRAMP vs bash 4.4 / readline 7.0 "bracketed paste" mode


From: Michael Albinus
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Daniel Pittman <slippycheeze@google.com> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]