delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/07/06:50:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.7 required=5.0 tests=BAYES_50,SARE_MSGID_LONG45
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <l2q416096c61004061114tb8723c6dlcb2b28ed1e3c0168@mail.gmail.com>
References: <m2xeb3a2d501004060031m2b1f8bb2y914a8299c1617245 AT mail DOT gmail DOT com> <l2q416096c61004061114tb8723c6dlcb2b28ed1e3c0168 AT mail DOT gmail DOT com>
Date: Wed, 7 Apr 2010 12:50:39 +0200
Message-ID: <l2seb3a2d501004070350je1bb7f89g869565f986454a50@mail.gmail.com>
Subject: Re: mintty - changing colours when logging in to remote host
From: "Gary ." <cygwin AT garydjones DOT name>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Tue, Apr 6, 2010 at 8:14 PM, Andy Koppe wrote:
> Gary:
>> Is it possible to change the colour scheme when connecting to a remote
>> system, to remind me where I am actually "running"?
>
> Yes. There are control sequences for changing the colours

Thanks.

> For example, to set the background
> colour to dark red:
>
> echo $'\e]12;64,0,0\a'

Err. Well that set my block cursor to dark red, but anyway, yeah, I
get the idea. I will read the xterm doc you linked to and "play
around". Oh. Is it because
$ echo $TERM
xterm-256color

(Oh God. I just looked at the document you linked to. I'm not sure
which is denser, me or it! Anyway, I will read and see what I can make
of it.)

Incidentally, do you prefer mintty related subjects here or in
mintty-discuss? Both seem appropriate.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019