delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/11/10:41:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-Id: <5.1.0.14.0.20020611101923.04d30fb0@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
Date: Tue, 11 Jun 2002 10:31:51 -0400
To: "Robert Mark Bram" <relaxedrob AT optushome DOT com DOT au>,
"Cygwin" <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: Use of PROMPTING
In-Reply-To: <AHENJAAPGAHKCFPLDPOJOEFJCHAA.relaxedrob@optushome.com.au>
Mime-Version: 1.0

At 08:26 AM 6/11/2002, Robert Mark Bram wrote:
>Howdy all!
>
>I am running Cygwin on W2K and I would like to know how to change my colors.
>I changed them in the properties section of the consols but it turns out
>this is only Windows settings and Cygwin's Bash goes on and uses its own
>colors irrespective.


Really?  How so?  It's always worked for me.  Perhaps you're not saving the
changes to the current short-cut?


>I had a look at man bash and found the section on PROMPTING. I didn't see
>any information on changing colors but I saw some old archive messages that
>mention this is the way to change them.
>
>Can anyone tell me if this is the way to change colors - and if so how?


Yes, this is a terminal-centric way of doing it.  You need to use escape
sequences and numeric codes to tell bash what to do.  This covers colors,
positioning, and a variety of other settings.  You may find "man terminfo"
helpful in interpreting all this.  HOWTOs for this at GNU sites may prove
more helpful in this regard.



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019