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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: vim and color


Hi

term is set to xterm. If I do ls -l --color (or set the ls alias to do so),
the listing is indeed in colour.

Dan

-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
Of Charles Wilson
Sent: Friday, January 11, 2002 9:28 AM
To: dhorne@xtra.co.nz
Cc: Randall R Schulz; cygwin@cygwin.com
Subject: Re: vim and color




Dan Horne wrote:

> Thanks Randall
>
> upon further investigation (and putting .vimrc in my home directory on not
> gvimrc doh) I've discovered that color-coding is working if I use the
> command window. However, if I use rxvt, I lose color and instead get text
> emphasis in bolds and underlines. Obviously, I'm missing something but not
> sure what.


What does `echo $TERM' say?  "xterm" doesn't support color -- but "rxvt"
does.  Try:

export TERM=rxvt

when you're using rxvt.  Use TERM=cygwin when you use the
bash-in-a-command.com window.

--Chuck



--
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/


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