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: <40911B2C.D925577C@dessent.net> Date: Thu, 29 Apr 2004 08:11:40 -0700 From: Brian Dessent Organization: My own little world... MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: How to set the colors of terminfo's standout mode? References: <6 DOT 1 DOT 0 DOT 6 DOT 2 DOT 20040428164948 DOT 02745880 AT localhost> <008601c42ded$c8220bb0$647ba8c0 AT wanadoo DOT nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Frank Slootweg wrote: > [2] For some reason *DOS* echo, type and "copy ... con" commands > *display* [3] the escape characters instead of executing them, so I had > to use echo(1). If someone knows a way to let *DOS* commands execute > escape sequences insteas of displaying them, then please let me know. If you truly mean DOS, as in Win9x and not any of the NT-style command prompts, then you need to load ANSI.SYS in config.sys. The DOS "console" (if you could even call it that) does not know anything of escape sequences, so you need a device driver to interpret them. As a side note, your command: echo -en '\033[37;40mThis is a text.\033[30;0m' Gives the desired White on Black for me under rxvt invoked as such: rxvt -fn "Lucida ConsoleP-11" -sr -e /bin/bash -li or just: rxvt -e /bin/bash -li I'm baffled at why you continue to try to force the inferior Windows command prompt to do what you want. Brian -- 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/