http://qs321.pair.com?node_id=234540


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'.

--traveler

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!

    -Logan
    "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