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


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

RE: prompt colors in xterm



This is my PS1 from my /etc/bashrc which get source by ~/.bashrc on startup.
I do not have the problems you mention.  I use the following command to
start
xterm or mxterm from startxwin.bat

if "%OS%" == "Windows_NT" start /B xterm -sl 1000 -sb -rightbar -ms red -fg
yellow -bg black -e bash
if "%OS%" == "" start xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg
black -e bash
if "%OS%" == "Windows_NT" start /B mxterm -sl 1000 -sb -rightbar -ms red -fg
yellow -bg black -e bash
if "%OS%" == "" start mxterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg
black -e bash

Suhaib



> -----Original Message-----
> From: Robert Jacobson [mailto:teridon@erols.com]
> Sent: Monday, April 02, 2001 8:53 AM
> To: cygwin-xfree@sourceware.cygnus.com
> Subject: prompt colors in xterm
> 
> 
> 
> Hi,
> 
> I've asked this question once, but never got it resolved.
> 
> Colored text in xterm prompts displays as black, no matter what the 
> foreground/background colors are.  That's invisible if your 
> background is black. :(
> 
> for example, set PS1 to '\e[0:36m\u\e[m # '
> 
> That should make the prompt your username in cyan, and a foreground 
> colored "#".  But in cygwin xfree, the username is black.
> 
> This happens on both my Win2k and Win98 computers.
> -- 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Robert Jacobson                        teridon@erols.com
> BS, Aeronautical Engineering  Univ. of Md., College Park
> Flight Ops. Team - SOlar Heliospheric Observatory (SOHO)
> 


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