X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20100303020741.GD6520@KCJs-Computer>
References: <20100303020741.GD6520@KCJs-Computer>
Date: Wed, 3 Mar 2010 17:05:34 +0000
Message-ID: <416096c61003030905w4e9093f0pdefdbfc57c65ae28@mail.gmail.com>
Subject: Re: mintty colors
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Gary Johnson:
> I have downloaded mintty-0.6-beta2-cygwin15.zip and read
> mintty-0.5.8.pdf, but I don't see a way to change the ANSI color
> palette other than to send escape sequences.

You're right, there isn't, as documented.

>=C2=A0I could echo the
> escape sequences in my ~/.bashrc, but mintty isn't the only terminal
> I use.

You could just make that bit conditional on the value of TERM.

(Also, the escape sequence for this was introduced by xterm, so it's
probably supported by other terminals as well. And unrecognised escape
sequences are supposed to be ignored anyway.)

> My specific problem is that the blue that mintty displays for ANSI
> color 4 or 12 is so dark that blue characters are illegible on a
> black background. I've adjusted the color that rxvt uses by putting
>   Rxvt.color12:               #007fff
>   Rxvt.color4:                #007fff

Blue (i.e. color 4) on black background is just a bad idea, full stop.
Brightening it up by default would impair its usability as a
background colour. (Try 'mc' with your setting.)

And mintty's default for colour 12 is #4040ff, which is much the same
brightness as #007fff.

Andy

--
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

