The UNIX and Linux Forums  

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



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
using colors in mailx konark Shell Programming and Scripting 1 11-13-2007 04:20 PM
Colors in Ksh Script Serious Sam UNIX for Dummies Questions & Answers 0 08-20-2007 08:01 AM
Colors resullivan UNIX for Dummies Questions & Answers 1 06-26-2007 02:20 AM
Colors in Red Hat google UNIX for Dummies Questions & Answers 2 01-17-2003 04:43 PM
colors Sage3k UNIX Desktop for Dummies Questions & Answers 1 10-07-2002 05:57 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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?
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:44 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0