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: Loris Bennett
Subject: Re: [TRAMP] Setting remote prompt
Date: Tue, 24 Apr 2018 11:50:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Yuri Khan <address@hidden> writes:

> On Tue, Apr 24, 2018 at 3:15 PM, Loris Bennett
> <address@hidden> wrote:
>> "Loris Bennett" <address@hidden> writes:
>>>   $ echo $PS1
>>>   \[\033]2;address@hidden address@hidden \[\e[36m\](\!) 
>>> \[\e[33m\]\w\[\e[34m\]\[\033[0m\]\n$
>>
>> First I need to work out what the first instance of 'address@hidden' is there
>> for, as it's been a few years since I set it up.
>
> OSC 2;address@hidden BEL
>
> In xterm and its derivatives, this sets your window title to the
> current address@hidden

Yes, you are right.  So it wasn't the text that was dim, it was me :-)

So I guess I should be adding that bit conditionally depending on the
type of terminal. 

Cheers,

Loris

-- 
This signature is currently under construction.


reply via email to

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