This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Use of PROMPTING


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@rfk.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]