Vim Tip: Let vim display color on Sparc Solaris 9
Compiled and installed vim, and download a .vimrc from
http://blog.chinaunix.net/u/9465/showart_191108.html
Anyway, only gvim can display color, and in text mode, it cannot.
The trick is to set term to be dtterm or sun-color:
export TERM=dtterm , or
export TERM=sun-color
Normally, use Linux as desktop, the TERM variable will be xterm or xterm-colo. On Sparc Solaris, it's a little bit different.
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/44501/showart_351920.html
页:
[1]