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

看板DFBSD_submit作者時間21年前 (2004/12/30 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/7 (看更多)
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...
文章代碼(AID): #11qmq500 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #11qmq500 (DFBSD_submit)