| delorie.com/archives/browse.cgi | search |
| 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 |
| From: | "Bernard A Badger" <bab AT vx DOT com> |
| To: | <cygwin AT sources DOT redhat DOT com> |
| Subject: | RE: A simple question on font color |
| Date: | Fri, 3 May 2002 15:47:40 -0400 |
| Message-ID: | <INEKLKBFCDBPKMKAJLMDGEEGCCAA.bab@vx.com> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| In-Reply-To: | <1020450264216@anywareusa.com> |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4807.1700 |
| Importance: | Normal |
The standard /etc/profile is
cat <<HERE
PATH="/usr/local/bin:/usr/bin:/bin:$PATH"
USER="`id -un`"
# Set up USER's home directory
if [ -z "$HOME" ]; then
HOME="/home/$USER"
fi
if [ ! -d "$HOME" ]; then
mkdir -p "$HOME"
fi
export HOME USER
for i in /etc/profile.d/*.sh ; do
if [ -f $i ]; then
. $i
fi
done
export MAKE_MODE=unix
export PS1='\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
cd "$HOME"
test -f ./.bashrc && . ./.bashrc
HERE
Your colors come from the PS1= line,
In your own $HOME/.bashrc, you can over-ride PS1 to your own choice.
See man bash, and search for PROMPTING.
test -f ./.bashrc && . ./.bashrc
> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
> Of Ming Huang
> Sent: Friday, May 03, 2002 2:24 PM
> To: cygwin AT sources DOT redhat DOT com
> Subject: A simple question on font color
> tried to change color on Properties. No matter what I did for the
> font color, this message color never changes. Hmmmm!
>
> Is there any veteran user know how to change its color?
>
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |