Henrik Öhman 写道:
> Forget all the advice about changing t_Co, there's no need. If you set
> Terminal-type string in PuTTY correctly, Vim will automatically detect
> how many colours the terminal has. In the PuTTY Configuration
> dialogue, go to Connection>Data. Set Terminal-type string to
> 'putty-256color'. Then make sure you have the putty-256color terminfo
> file installed.
> 
> Additionally, if you're using screen, make sure that your .screenrc
> contains 'term screen-256color'.
> 
> Henrik.

This works only if you have terminfo for putty-256color and screen-256color.

But, afaik ubuntu does not include any of them. Maybe some other 
distributions do not include them too.




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

Reply via email to