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<http://aka.ms/weboutlook> gesendet.


________________________________
Von: Michael Albinus <michael.albi...@gmx.de>
Gesendet: Mittwoch, 7. Februar 2018 12:24
An: Schönes Wetter Schönes Gefühl
Cc: tramp-devel@gnu.org
Betreff: Re: Tramp on Windows connects to Linux but not to OSX

Schönes Wetter Schönes Gefühl <omer...@hotmail.de> 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.
_______________________________________________
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to