DragonFly BSD
DragonFly submit List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: dfports/x11/xterm 196_3 -> 197

From: Jeroen Ruigrok/asmodai <asmodai@xxxxxx>
Date: Wed, 29 Dec 2004 20:53:24 +0100

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
    set t_Sf=<ESC>3%dm
    set t_Sb=<ESC>4%dm

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...

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]