Subject: bug#79103: [Michael Albinus] Re: bug#79103: 31.0.50; Tramp ssh method doesn't work

From: Michael Albinus <[email-masked]>
Date: Sun, 27 Jul 2025 12:12:01 +0200

Please keep always [email-masked] in Cc.

-------------------- Start of forwarded message --------------------
From: Michael Albinus <[email-masked]>
To: Bernardo <[email-masked]>
Subject: Re: bug#79103: 31.0.50; Tramp ssh method doesn't work
Date: Sun, 27 Jul 2025 12:08:46 +0200

Bernardo <[email-masked]> writes:

> Hi Michael,

Hi Bernardo,

> have 3 Tramp related buffers: (UPDATE: just noticed you said attachment
> is preferred, so a tarball of 3 files is attached)

Thanks. This tells us the story:

--8<---------------cut here---------------start------------->8---
> 12:27:05.064786 tramp-start-process (6) # /bin/sh -i
> 12:27:05.065023 tramp-accept-process-output (10) # #<process *tramp/ssh 192.168.20.12*> run t
> \[\033[1;36m\]\h:\W$\[\033[0m\] 
--8<---------------cut here---------------end--------------->8---

Your prompt on the local machine contains escape sequences, which Tramp
does not understand. Could you please ensure that it doesn't happen? See
the Tramp manual for recipes, best would be to check for $TERM being 'dumb'.

Best regards, Michael.
-------------------- End of forwarded message --------------------