Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <001401c42d20$4184c480$647ba8c0@wanadoo.nl> From: "Frank Slootweg" To: , =?iso-8859-1?Q?Alejandro_L=F3pez-Valencia?= References: <6 DOT 1 DOT 0 DOT 6 DOT 2 DOT 20040427162228 DOT 027508a8 AT localhost> <02c301c42d03$e7ff0c20$647ba8c0 AT wanadoo DOT nl> <6 DOT 1 DOT 0 DOT 6 DOT 2 DOT 20040428064018 DOT 0275e008 AT localhost> Subject: Re: How to set the colors of terminfo's standout mode? Date: Wed, 28 Apr 2004 14:56:42 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 0418-2, 28/04/2004), Outbound message X-Antivirus-Status: Clean Alejandro López-Valencia wrote: > At 04:33 a.m. 28/04/2004, Frank Slootweg wrote: > > So I think the standout/'inverse video' colors are set somewhere > > else, but I do not know where. That is the problem, and is confirmed > > by the fact that "tput smso" shows the same behaviour. (BTW, the > > normal, non-inverse-video, colors for a "Command Prompt" 'DOS' > > window are set in the Properties of that window, but there there are > > no settings for inverse-video.) > > Gotcha. I missed that part. > > OK. In my experience, you can set the fg/bg colors the way you want by > modifying the system settings in the shortcut (right-click on window > bar and modify properties there), or by using *bold colors* in your > definitions. For some reason, in the win32 console \e[00;30m is grey > and \e[01;30m is white. Getting closer! As I mentioned, Properties has no settings for inverse-video and bold colors (I assume you mean the colors of bold fonts) did not help, but ... : (In combination with "tput smso",) I get black for \e[00;30m and white for \e[01;30m (remember that my 'DOS' window is black-on-white, so opposite from a normal Cygwin bash window). So with these kinds of escape sequences I *do* seem to have some kind of control over the colors, I just do not have the *right* colors yet. Is there a place where all these (I assume ANSI) escape sequences for colors are listed? When I have that information, I can probably untic an existing terminfo entry, modify it and tic it back to another name and use that. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/