help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: remote tramp hangs


From: Michael Albinus
Subject: Re: remote tramp hangs
Date: Tue, 15 Dec 2009 07:27:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux)

address@hidden (Raphaël Berbain) writes:

> Hi again,

Hi,

> I tried my use-case with CVS head tramp (tramp-version 2.1.18-pre,
> tramp.el CVS revision 2.757) and I am sorry to report that it doesn't
> work for me.

> 15:06:48.386653 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND='' 
> PS1=\#\$\  PS2='' PS3='' /bin/sh
> 15:06:48.472304 tramp-wait-for-regexp (6) # 
> exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' /bin/sh.
> #$ 

At least, we have fixed the prompt problem :-)

> 15:06:48.533579 tramp-send-command (6) # _echostty icanon erase ^H cols 
> 32767_echo
> 15:06:48.561471 tramp-accept-process-output (10) # 
> _echo     stty icanon erase ^H cols 32767_echo     .

Your shell on the remote side cannot suppress echoing the sent
command. Therefore, Tramp applies some special workarounds.

> 15:06:48.746775 tramp-accept-process-output (10) # *tramp/scp address@hidden 
> run
> 15:06:48.811461 tramp-accept-process-output (10) # 
> "OpenBSD 4.5"
> tramp_exit_status 0

Surprisingly, your remote shell stops to echo the sent command. Tramp
looks for the echo, and is confused ...

Could you, please, test the appended fix?

Best regards, Michael.

Attachment: txtV8MEhExw8Y.txt
Description: Text Data


reply via email to

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