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



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 07:01 AM
Colors resullivan UNIX for Dummies Questions & Answers 1 06-26-2007 01: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 04:57 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #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?
  #2 (permalink)  
Old 02-21-2008
oey2000 oey2000 is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 4
Somewhat late perhaps
But this post came quite high in my google search for "vim colour hpux". And I've located a solution to this problem. Tip #222 - Building vim with color on HP-UX : vim online

Compile vim with ./configure --with-tlib=curses
and you're rolling with colours.
  #3 (permalink)  
Old 06-16-2009
LinuxRacr LinuxRacr is offline
Registered User
  
 

Join Date: Aug 2007
Location: DFW, Texas
Posts: 60
Here's the updated link:

Building vim with color on HP-UX - Vim Tips Wiki
Sponsored Links
Reply

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 07:10 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
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