dfports/x11/xterm 196_3 -> 197

Jeroen Ruigrok/asmodai asmodai at wxs.nl
Wed Dec 29 11:54:39 PST 2004


I've set the default colours to 256.  I have been running this for a few
weeks now without any problems.

I am curious about results of other people.

For vim try this in your .vimrc:

if &term =~ "xterm"
  set t_Co=256
  if has("terminfo")
    set t_Sf=<ESC>3%p1%dm
    set t_Sb=<ESC>4%p1%dm
  else
    set t_Sf=<ESC>3%dm
    set t_Sb=<ESC>4%dm
  endif
endif

Where it says <ESC> create an escape character, either with the escape key
or CTRL-[

Syntax highlighting becomes so much better. :)

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://ashemedai.deviantart.com/
http://www.tendra.org/   | http://www.in-nomine.org/
Atone me to my throes curtail...





More information about the Submit mailing list