[Top][All Lists]

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

Re: Tramp hangs setting up remote shell prompt.

From: Michael Albinus
Subject: Re: Tramp hangs setting up remote shell prompt.
Date: Sun, 11 Jul 2010 12:20:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

"David Keegan" <address@hidden> writes:

> Hi,


> I'm trying to open a file on a remote RedHat8 Linux host
> using tramp in emacs 23.1 using ssh/scp and default settings
> running on Fedora13.
> Tramp hangs after setting the remote shell prompt. I don't
> have the same problem opening a file on a host running
> Fedora13.
> The tramp buffer contains the following:
> exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' /bin/^M<' 
> PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' /bin/s                         
> ^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^Hh
> ^M^M#$ ^M#$ 
> I will be very grateful if someone can explain where the
> sequences of spaces and backspaces are coming from. I think
> I fixed a similar problem in the past by setting
> tramp-initial-commands, but that seems no longer possible
> with the current version of tramp.

It looks like you have an echoing shell. For better analysis, you shall
set `tramp-verbose' to 10, and show the debug buffer after the test.

In Tramp 2.1.18 (part of Emacs 23.3), there are some improvements wrt
echoing shells. Maybe you try Emacs 23.2, or Tramp 2.1.18 w/o upgrading
your Emacs version.

`tramp-initial-commands' has been removed from Tramp 4 years ago. It was
mainly used for environment settings; these days this is done via

> Regards,
> David Keegan.

Best regards, Michael.

reply via email to

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