Hi Michael!

On 06/03/2013 10:00 AM, Michael Albinus wrote:
> Sebastian Schmitt <[email protected]> writes:
>> Thanks. I've attached the debug buffer.
>>
>> 09:32:32.298103 tramp-accept-process-output (10) # 
>> Last login: Mon Jun  3 09:30:46 2013 from 
>> schmitt-laptop.physi.uni-heidelberg.de
>> hepix: TERM dumb changed to vt100.
>> ^[]0;higgs^G^M^[[0m^[[m^[[m^[[J[sschmitt@higgs]: ~ $ ^[[K
> 
> Well, Tramp does not understand your prompt. For readability, I have
> replaced non-ASCII chars by their ASCII representation in this message.

I don't have color but the following prompt:

export PROMPT='[%n@%m]: %~ $ '

When I remove the square brackets '[' and ']', tramp does recognize my
prompt. I understand that non-ASCII confuses tramp, but square brackets?

> I recommend to suppress prompt coloring on your remote host. You could
> do this with the following line in your remote ~/.profile:
> 
>   [ $TERM = "dumb" ] && PS1='$ '

I tried that but missed that hepix changed "dumb" to "vt100".

Best,

Sebastian

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

Reply via email to