raphael.berbain@gmail.com (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 root@harry* 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.