Re: mintty - changing colours when logging in to remote host

2010-04-07 Thread Gary .
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

Re: mintty - changing colours when logging in to remote host

2010-04-07 Thread Andy Koppe
Gary wrote: 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. Oops. 12 indeed is the cursor. 11 is background, 10 is foreground. And the OSC 4 sequence lets you change all 256

mintty - changing colours when logging in to remote host

2010-04-06 Thread Gary .
Is it possible to change the colour scheme when connecting to a remote system, to remind me where I am actually running? I know locally might not be the right way to do it, in an ideal situation, but the account on the remote host is shared and I don't want to do anything on that side that affects

Re: mintty - changing colours when logging in to remote host

2010-04-06 Thread Andy Koppe
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, so you could do this with the appropriate echo commands in your remote login script. Or you could have a