[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31924: 27.0.50; tramp handler /sudo::FILE fails when /bin/sh points
From: |
Michael Albinus |
Subject: |
bug#31924: 27.0.50; tramp handler /sudo::FILE fails when /bin/sh points to zsh |
Date: |
Thu, 21 Jun 2018 13:05:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Tino Calancha <tino.calancha@gmail.com> writes:
Hi Tino,
thanks for the traces. Tramp doesn't run too much. First, it invokes the
local shell:
> 17:57:38.934983 tramp-maybe-open-connection (6) # /bin/sh -i
And this returns a nifty prompt:
> 17:57:38.936893 tramp-accept-process-output (10) # *tramp/sudo
> root@calancha-pc.dy.bbexcite.jp* run t
> %
> #$ [?2004h
That's it. According to
<https://emacs.stackexchange.com/questions/19848/weird-characters-in-shell-mode-with-zsh>,
"^[[?2004h" is good for bracketed paste mode. This must be disabled as
well, the reference I've quoted recommends "unset
zle_bracketed_paste". As said, I have no idea how this plays together
with what is already recommended for zsh in the Tramp manual.
Best regards, Michael.
- bug#31924: 27.0.50; tramp handler /sudo::FILE fails when /bin/sh points to zsh, Tino Calancha, 2018/06/21
- bug#31924: 27.0.50; tramp handler /sudo::FILE fails when /bin/sh points to zsh,
Michael Albinus <=
- bug#31924: 27.0.50; tramp handler /sudo::FILE fails when /bin/sh points to zsh, Tino Calancha, 2018/06/24
- bug#31924: 27.0.50; tramp handler /sudo::FILE fails when /bin/sh points to zsh, Tino Calancha, 2018/06/24
- bug#31924: 27.0.50; tramp handler /sudo::FILE fails when /bin/sh points to zsh, Michael Albinus, 2018/06/24
- bug#31924: 27.0.50; tramp handler /sudo::FILE fails when /bin/sh points to zsh, Tino Calancha, 2018/06/24
- bug#31924: 27.0.50; tramp handler /sudo::FILE fails when /bin/sh points to zsh, Michael Albinus, 2018/06/25
- bug#31924: 27.0.50; tramp handler /sudo::FILE fails when /bin/sh points to zsh, Eli Zaretskii, 2018/06/25