On 2010-03-03, Andy Koppe wrote: > 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. > > > I 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.
Except that mintty doesn't have its own terminfo database, so TERM needs to be set to "xterm". > (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.) In that case, I can try putting that in my ~/.bashrc and see if any problems result. > > 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.) To each his own. I've found that with the monitors I'm currently using, #007fff is a good compromise and has good contrast against black and white as a foreground or background color. > And mintty's default for colour 12 is #4040ff, which is much the same > brightness as #007fff. Yeah, it's pretty close. I downloaded the source for mintty-0.5.8 onto my laptop at home last night, edited that ANSI color table and built it. It went very well and the result looks good. I was about to do the same at work today, but seeing your comment about unknown escape sequences being ignored, I think I'll try the echo-in-.bashrc approach first. 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