Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Perl syntax coloring using vim

by traveler (Parson)
on Feb 11, 2003 at 22:14 UTC ( #234540=note: print w/replies, xml ) Need Help??

in reply to Perl syntax coloring using vim

If I telnet to my Linux box I get similar behavior. I can fix it if I set the terminal type properly. Be sure that the TERM environment variable on Solaris accurately reflects a terminal with the most capabilities you have. Then start vim and do ":se all" (without the quotes) to see if vim's idea of the terminal jives with Solaris'.


Replies are listed 'Best First'.
Re: Re: Perl syntax coloring using vim
by logan (Curate) on Feb 11, 2003 at 23:23 UTC
    TERM! That's it! OK, I'm playing with setting the term variable. So far "sun-color" is the closest to "right". It will display the colors correctly, but doesn't redraw the screen. Nevertheless, I think I'm on the right track. Thanks!

    "What do I want? I'm an American. I want more."

      I ran across this one too.

      If i remember correctly, setting TERM=dtterm worked well enough for me.

      Let us know how it goes.

        Great, dtterm works, although vim would not recognize many of the keys, e.g. home, end, etc. TERM=xtermc on the other hand works perfectly (sunos 5.6 -> linux) Rgds

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://234540]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2021-04-11 10:16 GMT
Find Nodes?
    Voting Booth?

    No recent polls found