This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: prompt colors in xterm
- To: "'Robert Jacobson'" <teridon at erols dot com>, Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>, cygwin-xfree at sourceware dot cygnus dot com
- Subject: RE: prompt colors in xterm
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Mon, 2 Apr 2001 13:33:12 -0400
Ok change your PS1 from
export PS1='\e[1m\@ \e[0;31m\u\e[m \W \! #'
to
export PS1="\e[1m\@ \e[0;31m\u\e[m \W \! #"
note "" instead of ''you are using. If use your '' I get error on startup
bash: execvp: No such file or directory.
After changing ' " to " ", it works I can see colors. I will send you
screenshot directly
in a while. The xterm code which I am using under Cygwin is exactly same
as on Linux per say, or xterm code from xfree86.
Suhaib
> -----Original Message-----
> From: Robert Jacobson [mailto:teridon@erols.com]
> Sent: Monday, April 02, 2001 1:24 PM
> To: Suhaib Siddiqi; cygwin-xfree@sourceware.cygnus.com
> Subject: RE: prompt colors in xterm
>
>
>
> Suhaib,
>
> Thanks for the screen dump and PS1. However, your prompt does not
> have colors in it. Have you tried setting your prompt to what I use,
> to see if it works? try this, please:
> export PS1='\e[1m\@ \e[0;31m\u\e[m \W \! #'
>
>
> How do I get the colors for the directory listings? I can then see
> if that works for me.
>
> >I sent you my PS1 command. Does it help?
> >
> >Suhaib
> >
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Robert Jacobson teridon@erols.com
> BS, Aeronautical Engineering Univ. of Md., College Park
> Flight Ops. Team - SOlar Heliospheric Observatory (SOHO)
>