delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/03/02:33:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Date: Tue, 2 Mar 2010 23:33:54 -0800
From: Gary Johnson <garyjohn AT spocom DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: mintty colors
Message-ID: <20100303073354.GA8500@KCJs-Computer>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20100303020741 DOT GD6520 AT KCJs-Computer> <4B8DF865 DOT 2040701 AT ateb DOT com>
Mime-Version: 1.0
In-Reply-To: <4B8DF865.2040701@ateb.com>
User-Agent: Mutt/1.4.2.2i
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 2010-03-03, Reid Thompson wrote:
> On 3/2/2010 9:07 PM, Gary Johnson wrote:
> >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.  I could echo the
> >escape sequences in my ~/.bashrc, but mintty isn't the only terminal
> >I use.  I could wrap mintty in a shell script, but that seems a bit
> >of a kludge.  Is there some other way to configure mintty's colors
> >that I'm missing?
> >
> man mintty

[...]

Thanks, but I guess my explanation wasn't clear enough.  What I
would like to be able to configure are the colors that mintty uses
to display the 16 colors of a 16-color terminal.  I guess these are
termed ANSI colors.  These are the colors that programs such as
grep, ls and vim use when executed in a color terminal.

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

in my ~/.Xdefaults file, but I can't find the equivalent, if there
is one, for mintty.  There is some mention of this in the mintty man
page, in the section on "Changing the ANSI colours", but that is not
the same as being able to configure mintty so that it always uses a
particular palette.

Regards,
Gary


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