This is the mail archive of the
mailing list for the Cygwin project.
RE: Use of PROMPTING
- From: "Robert Mark Bram" <relaxedrob at optushome dot com dot au>
- To: "Larry Hall \(RFK Partners, Inc\)" <lhall at rfk dot com>, "Cygwin" <cygwin at cygwin dot com>
- Date: Wed, 12 Jun 2002 01:23:56 +1000
- Subject: RE: Use of PROMPTING
Here is what I am talking about:
Using properties I changed the screen background to white and the text to
black. It does it but everything else I type comes out with the old colors!
Have a look!
> -----Original Message-----
> From: Larry Hall (RFK Partners, Inc) [mailto:firstname.lastname@example.org]
> Sent: Wednesday, 12 June 2002 12:32 AM
> To: Robert Mark Bram; Cygwin
> Subject: 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 email@example.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