Michael Albinus <[email protected]> writes:

Hi Gérald,

>> I am attaching the debug buffer as a file since it is quite long, I think
>> it is redundant since I let tramp try for some time and I think the same
>> error is just repeated again and again, but I'm sending everything just in
>> case!!!  I am not sure but it might be the prompt on the server side that
>> is causing problem???
>>
>> The prompt, server side is: "[userid@actul01 ~]$",  The "~" by the
>> directory name of where we are.
>
> Just a quick check. That prompt does not seem to be the problem; Tramp
> did continue. The problem is something different. Tramp sends the command
>
>> 10:39:33.481000 tramp-send-command (6) # stty -inlcr -echo kill '^U'
>> erase '^H'
>
> And it sees as result
>
>> 10:39:33.531000 tramp-accept-process-output (10) # 
>> stty -inlcr -echo kill '^U' erase '^H'
>> #$ #$ 
>
> It looks like the famous "double prompt" bug we have been faced with
> years ago. In the ChangeLog there is an entry for Tramp 2.1.12, claiming
> it is solved. But you are running Tramp 2.1.20. And the fix description
> sounds different from what I see in your traces.

Well, I'm back :-)

Could you, please, try the following commands from your PC in a CMD shell:

# plink -l jeg002  -ssh actul01 && exit || exit
# exec env ENV='' PROMPT_COMMAND='' PS1="#$ " PS2='' PS3='' /bin/sh
# PS1="#$ "

Do you see two prompts there? And what happens, if you move all
dot-files in your remote home directory away (just for testing)?

>> Thanks again,
>>
>> Gérald

Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to