tramp-devel
[Top][All Lists]
Advanced

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

AW: Tramp on Windows connects to Linux but not to OSX


From: Schönes Wetter Schönes Gefühl
Subject: AW: Tramp on Windows connects to Linux but not to OSX
Date: Tue, 6 Mar 2018 22:53:02 +0000

I've tried adding the recommended lines to ~/.profile but there's no change in situation. Anyway, that same problem happens in another Mac mini computer on which no iTerm2  installed, i.e. the problem must be  related to the core OSX.


Von Outlook gesendet.




Von: Michael Albinus <address@hidden>
Gesendet: Mittwoch, 7. Februar 2018 12:24
An: Schönes Wetter Schönes Gefühl
Cc: address@hidden
Betreff: Re: Tramp on Windows connects to Linux but not to OSX
 
Schönes Wetter Schönes Gefühl <address@hidden> writes:

Hi Schönes Wetter Schönes Gefühl :-)

> Using Emacs-25.2.1 on Windows XP and 7, I try to connect to my Mac
> mini (OSX 10.7.4 Lion and 10.5.8 Leopard) using Tramp & plink method.
> After I enter the password, it hangs on with the "Found remote shell
> prompt..." message. The shell on OSX is plain old bash with no fancy
> decoration and the sshd is the default one at /usr/sbin. In both Macs,
> in addition to the default Terminal.app iTerm2 Terminal app is
> installed. If I try to connect to OSX using solely the plink on the
> CMD or MSYS shell, it connects flawlessly.

Well, reading the Tramp traces does not show too much,
unfortunately. But you made a point with iTerm2, see the Tramp manual,
chapter Frequently Asked Questions:

          A similar problem exist with the iTerm2 shell integration,
          which sends proprietary escape codes when starting a shell.
          This can be suppressed by changing the respective integration
          snippet in your ‘~/.profile’ like this:

               [ $TERM = "dumb" ] || \
               test -e "${HOME}/.iterm2_shell_integration.bash" && \
               source "${HOME}/.iterm2_shell_integration.bash"

Best regards, Michael.

reply via email to

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