Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 18 May 2001 07:36:49 -0600 From: Duke Normandin <01031149 AT 3web DOT net> To: Cygwin List Subject: Re: changing terminal colours Message-ID: <20010518073648.A117891@mandy.rockingd.calgary.ab.ca> Mail-Followup-To: Cygwin List References: <0DAEDF148988D411BB980008C7E65D2E03A14BD3 AT esealnt416> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <0DAEDF148988D411BB980008C7E65D2E03A14BD3@esealnt416>; from "David Larsson (ERA)" on Fri, May 18, 2001 at 11:10:05AM X-Envelope-Receiver: On Fri, May 18, 2001 at 11:10:05AM +0200, David Larsson (ERA) wrote: > Since this might be of interest to others on the list we'll keep it there. > > I'm running W2k on the cygwin machine so my config wont help you. On > win9x you can't, as far as I know, change colors on the fly, you have > to change the console colors from within the autoexec.bat file if you > want them to stick. This assumes you have ansi.sys started as a device > in config.sys. Of course you can put the prompt string into the > cygwin.bat file but you still have to load ansi.sys as a device in > config.sys at boot time, (Now, I have to say that I have not tested > this since I'm not running cygwin on w9x but it should work). > > If you have a copy of old plain dos you will find an helpfile for > ansi.sys which describes how to change the colors, unfortunaely I only > have a localized version and not time enough to translate the text. > > Here's how to change to black bg and green fg with bold text. > > prompt $e[1;32;40m$p$g > > I'm using reversed video on my w98 machine so my prompt string is: > Prompt=$p$g$e[7m > > Hope this will help anyone, > > ///David No help for me -- but thanks anyway. I knew as much and a bit more. Of course on Cygwin I set the prompt with $PS1. Maybe setting the console BG color in cygwin.bat might solve my problem. Thanks again. -- -duke Calgary, Alberta, Canada -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple