[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.3.5.26.3); can't connect to remote server via tramp. works
From: |
Michael Albinus |
Subject: |
Re: tramp (2.3.5.26.3); can't connect to remote server via tramp. works flawlessly via shell |
Date: |
Sun, 27 Oct 2019 19:41:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Doro Rose <address@hidden> writes:
Hi Doro,
> Output under emacs -Q:
Now there is an zsh problem. Tramp sends the command
> 17:29:46.603547 tramp-send-command (6) # exec ssh -o ControlMaster=auto -o
> ControlPath='tramp.%C' -o ControlPersist=no -e none 10.66.77.11
The result is
> 17:30:03.530383 tramp-accept-process-output (10) # *tramp/ssh 10.66.77.11*
> run nil
> Last login: Sun Oct 27 17:27:34 2019 from 10.66.77.242
> /etc/zshrc:101: command not found: shopt
> [01;32m [36m~[00m
So there are two problems:
- zsh reports that it doesn't find shopt, and
- more seriously, zsh returns a prompt which cannot be understood by Tramp.
Could you pls consult the Tramp manual about zsh problems? I suspect,
you need to suppress zle on the remote side.
Note, that the upcoming Tramp 2.4.2.4 will provide a solution for zsh
problems w/o adapting (remote) ~/.zshrc. It is scheduled for release end
of October, via GNU ELPA.
Best regards, Michael.