1837231 Members
2178 Online
110115 Solutions
New Discussion

Vim colors on putty

 
SOLVED
Go to solution
chetan a
Advisor

Vim colors on putty

I am using putty on my HP-UX system (11i). Color is working in putty, i can see that when i connect to a linux machine. When I use vim's syntax high lighting (:syn on), i still dont see colors but highlighting in bold/underline.
I can implement the switch, but switch will be risky :-)
3 REPLIES 3
chetan a
Advisor

Re: Vim colors on putty

My problem is that color is not working on hpux 11i with vim on putty.
I can implement the switch, but switch will be risky :-)
Armin Kunaschik
Esteemed Contributor
Solution

Re: Vim colors on putty

Local vim uses local terminfo information.
xterm in HP-UX has no color support.
You have 2 options:
1. use a color-aware TERM variable (e.g. dtterm)
2. copy/migrate a color-aware xterm terminfo to your HP-UX box.

My 2 cents,
Armin
And now for something completely different...
chetan a
Advisor

Re: Vim colors on putty

The solution worked, Thanks !
I can implement the switch, but switch will be risky :-)