[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TRAMP] Setting remote prompt
From: |
Ben Bacarisse |
Subject: |
Re: [TRAMP] Setting remote prompt |
Date: |
Tue, 24 Apr 2018 11:35:51 +0100 |
Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
> "Loris Bennett" <loris.bennett@fu-berlin.de> writes:
> <snip>
>> The extraneous symbols were coming from the following fragment
>>
>> \[\033]2;\u@\h\a\]
>>
>> which seems to be some sort of attempt to use the text attribute "dim"
>> (2;), which is ignored or not displayed for most of my terminals, but
>> produces
>
> No. Leaving the enclosing []s aside, the sequence is
>
> ESC ] 2; <string> BEL
>
> with \033 being ESC and \a being BEL. This sequence is used to set the
> window title.
Sorry, I see you corrected this. Should have finished the thread before
replying!
--
Ben.