I got this privately by mistake.
Konstantin: next time, please use "Reply to All" (or "Reply to List" if your
mailer has it), unless you're straying off-topic.
Best regards,
Tony.
Original Message
Subject: Re: hlsearch on dark back ground
Date: Thu, 22 Feb 2007 01:19:08 +0100
From: Konstantin Baierer <[EMAIL PROTECTED]>
To: A.J.Mechelynck <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Hey Kamaraju,
To test your terminal's colouring abilities, try this little perl script by
Todd Larason
(http://www.cs.rice.edu/~scrosby/software/tf256color/src/256colors2.pl).
I don't know which terminal emulator you use, but if it's xterm or konsole, it
supports 256 colours. In Konsole, you have to set your terminal type
to "xterm-256color" and add "set t_Co=256" in your .vimrc.
I did that just yesterday and it worked for me.
Also, you could simply change the highlight background colour in either the
apropriate colour file or your .vimrc.
good luck.
konsti
Am Mittwoch, 21. Februar 2007 23:51 schrieben Sie:
Kamaraju S Kusumanchi wrote:
> A.J.Mechelynck wrote:
>> Most console terminals have only 8 background colours, 16 foreground
>> colours. Some have 16 of both. Non-bright yellow (including every
>> "background" yellow) is usually shown as brown. Whether you can or
>> cannot change the terminal's colour palette is outside the realm of Vim.
>>
>>
>> Best regards,
>> Tony.
>
> How can I find out how many colors the konsole is using, how many colors
> the xterm is using? Any idea? I am using Debian Etch.
>
> raju
>
:set t_Co?
will tell you how many colours Vim thinks the terminal has. I'm not sure
how it distinguishes terminals with 8 background and 16 foreground colours.
There might also be an X.org utility and/or a kde utility, but I don't know
about them.
See also
:help termcap-colors
:help termcap-options
Best regards,
Tony.