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 From: "Robert Mark Bram" To: "Cygwin" , "Denis Sarrazin" Subject: RE: Use of PROMPTING Date: Wed, 12 Jun 2002 02:11:52 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: Howdy Denis! I found this page which helped (after a lot of working it out by myself though): http://www.cuug.ab.ca/~leblancj/labs/prompts.html And you can learn more about changing ls --color here: man dircolors I am having a go at this now myself! BTW - I sorted my original color problem. It seems I just had to close the window and re-open and the color settings I had changed through properties worked ok. Thanks for your tips about color in vim too! Rob :) > -----Original Message----- > From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf > Of Denis Sarrazin > Sent: Wednesday, 12 June 2002 12:45 AM > To: Cygwin > Subject: Re: Use of PROMPTING > > > If all you want is to change your prompt colors, then you can do this by > modifying the text file /etc/profile. You can change the PS1 > prompt line that > it contains to what you want. For example, I changed it to the > following (to > make things brighter, mainly): > > export PS1='\[\033]0;\w\007 > \033[1;32m\]\u@\h \[\033[1;33m\w\033[1;37m\] > > This won't change colors for much of anything else than the > prompt (and in part > for ls --color). > > Different applications can also have their colors customized > (each application > seem to support its own method). For example, for vim, I copied the file > C:\cygwin\usr\share\vim\vim61\gvimrc_example.vim to my home directory and > renamed it to .vimrc (this enabled a lot of things including syntax > highlighting). Additionally, I changed the colors it uses by > adding this line > in this .vimrc: > > colorscheme denis > > A list of valid color schemes can be found in the > C:\cygwin\usr\share\vim\vim61\colors directory. I created my own > colorscheme by > making a copy of the zellner.vim and renaming it to denis.vim > (then modifying > that copy until it looked good on my machine). > > The only color that I've not been able to modify (and would like > to) is the > default color used by ls to display directories (with the --color > option). It > is in a light blue which is hard to read. I tried different things but > eventually gave up (I think I read about a bug in one of the > messages as well > but I don't recall exactly). It is usable as is so for now, it > will do (until I > can find more free time to play with colors :-). > > Disclaimer: I'm just a beginner at cygwin/Linux so for everything > above, there > may well be better ways of doing things. > > -D > > On Tue, 11 Jun 2002 22:26:56 +1000, "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. > > > >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? > > > >Should I set PS1 and PS2 in Cygwin.bat as an argument to bash: > >bash --login -i > > > >Thanks for any advice! > > > >Rob > > > >:) > >:-} > >;-> > > > -- > 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/ > -- 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/