[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.2.5-pre); tramp hangs - waiting for prompt from remote shel
From: |
Sebastian Schmitt |
Subject: |
Re: tramp (2.2.5-pre); tramp hangs - waiting for prompt from remote shell |
Date: |
Mon, 03 Jun 2013 13:16:38 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 |
Hi Michael!
On 06/03/2013 10:00 AM, Michael Albinus wrote:
> Sebastian Schmitt <address@hidden> 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;address@hidden: ~ $ ^[[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='address@hidden: %~ $ '
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