The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-06-2006
kheisler kheisler is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 1
Vim colors in HP-UX

I am using xterm on my HP-UX system (11i). Color is working in xtrem, i can see that with the -color option on ls. When I use vim's syntax high lighting, instead of colors, it uses underline and bold (which looks horrible). I added the following
Code:
if &term =~ "xterm"
       if has("terminfo")
               set t_Co=8
               set t_Sf=<Esc>[3%p1%dm
               set t_Sb=,Esc>[4%p1%dm
       else
               set t_Co=8
               set t_Sf=<Esc>[3%dm
               set t_Sb=<Esc>[4%dm
       endif
endif
to my .vimrc file, which caused the [3%dm and whatnot to show up all over the file, still no color.

Any suggestions?