help-gnu-emacs
[Top][All Lists]
Advanced

[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:05 +0100

"Loris Bennett" <address@hidden> writes:
<snip>
> The extraneous symbols were coming from the following fragment
>
>   \[\033]2;address@hidden
>
> 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.

-- 
Ben.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]