From: Tino Calancha <tino.calancha@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 31924@debbugs.gnu.org
Subject: bug#31924: 27.0.50; tramp handler /sudo::FILE fails when /bin/sh points to zsh
Date: Wed, 16 Oct 2019 10:41:09 +0000 (UTC) [thread overview]
Message-ID: <alpine.LNX.2.21.99999.362.1910161039110.17160@ip-10-207-252-54.us-west-2.compute.internal> (raw)
In-Reply-To: <878spui3or.fsf@gmx.de>
[-- Attachment #1: Type: text/plain, Size: 1753 bytes --]
On Wed, 9 Oct 2019, Michael Albinus wrote:
> I've applied a patch to Emacs master, which should fix this. Could you
> please test? All you need is to run (setq tramp-encoding-shell "/usr/bin/zsh")
> in advance, which tells Tramp to use the proper arguments from
> `tramp-sh-extra-args'.
>I've applied a patch to Emacs master, which should fix this. Could you
>please test? All you need is to run (setq tramp-encoding-shell "/usr/bin/zsh")
>in advance, which tells Tramp to use the proper arguments from
>`tramp-sh-extra-args'.
It's not working for me :-(
After I set `tramp-encidng-shell', tramp
detects the shell extra arguments, as you can see here:
10:14:09.547170 tramp-maybe-open-connection (6) # /usr/bin/zsh -i -f +Z -V
But apparently, those options are been ignored because I still see those
funny characters after the prompt (I mean, [?2004h ) causing the time out
(I hide the IP with MACHINE_IP):
10:14:19.556057 tramp-flush-connection-properties (7) # *tramp/sudo root@ip-MACHINE_IP* (temp-file password-vector session-timeout last-cmd-time)
10:14:19.556173 tramp-get-file-property (8) # file-truename nil
10:14:19.556233 tramp-flush-directory-properties (8) #
10:14:19.556912 tramp-get-connection-property (7) # process-buffer nil
10:14:19.556995 tramp-get-connection-property (7) # process-buffer nil
10:14:19.557108 tramp-process-actions (1) # File error: Timeout reached, see buffer ‘*tramp/sudo root@ip-MACHINE_IP*’ for details
# #$ ^[[?2004h
10:14:34.916278 tramp-process-actions (3) # Waiting for prompts from remote shell...failed
10:14:34.916546 tramp-maybe-open-connection (3) # Opening connection for root@ip-MACHINE_IP using sudo...failed
next prev parent reply other threads:[~2019-10-16 10:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-21 9:09 bug#31924: 27.0.50; tramp handler /sudo::FILE fails when /bin/sh points to zsh Tino Calancha
2018-06-21 11:05 ` Michael Albinus
2018-06-24 7:07 ` Tino Calancha
2018-06-24 7:15 ` Tino Calancha
2018-06-24 10:33 ` Michael Albinus
2018-06-25 1:36 ` Tino Calancha
2018-06-25 12:54 ` Michael Albinus
2019-10-09 11:00 ` Michael Albinus
2019-10-16 10:41 ` Tino Calancha [this message]
2019-10-16 11:01 ` Michael Albinus
2019-10-16 11:36 ` Tino Calancha
2019-10-16 13:21 ` Michael Albinus
2019-10-17 15:24 ` Tino Calancha
2019-10-17 16:24 ` Michael Albinus
2018-06-25 15:22 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.21.99999.362.1910161039110.17160@ip-10-207-252-54.us-west-2.compute.internal \
--to=tino.calancha@gmail.com \
--cc=31924@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.