On Tuesday 01 July 2008, Corinna Vinschen wrote:
> xterm has color capabilities for ages and the terminfo xterm entry
> contains this information.

Yes, but in a lot of places it is still assumed that "xterm" means monochrome. 
For example, try OpenSolaris: if TERM=xterm you'll get a monochrome vim. 
Setting it to "xterm-color" or "xterm-256color" fixes that. I ran into this 
when I installed OpenSolaris a few weeks back :-)

Code that outputs color escape sequences for "xterm" is, in a very strict 
sense, wrong. Of course there's always the "correct-according-to-the-specs" 
vs. "Do-What-I-Mean" conflict :-) 

> Of course, when linking against libtermcap instead of ncurses... ;)
>
> Corinna

Hehe :-)

Marc


-- 
Marc Haisenko

Comdasys AG
Rüdesheimer Str. 7
80686 München
Germany

Tel.: +49 (0)89 548 433 321

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui