Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Perl syntax coloring using vim

by traveler (Parson)
on Feb 11, 2003 at 22:14 UTC ( [id://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'.

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2025-06-21 18:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.