perlquestion
logan
Hello, Monks.
<p>
This is a tad off topic, but I don't know where else to turn. I've been writing perl scripts to run on Linux, Irix, and Solaris servers. When I'm using a Linux machine, I use vim with the vim.perl syntax module enabled, and life is wonderful. The color-coding makes the code more legible, and coding is just plain easier. Thing is, when I use a Solaris machine, my results are totally different. Syntax coloring is severely limited, and often doesn't work at all.
<p>
Here's the specifics of my environment: I'm using a Red Hat 7.3 box to telnet to various servers. If I use an xterm or gnome-terminal window, I get full syntax coloring from my Linux machines. Connecting to a Solaris machine through a gnome-terminal window, I get no syntax color. If I manually :set syntax, I see that some of the text is bolded, and some underlined, but it's all the same color. Using an xterm window to do the same thing, I get only 3 colors used for the syntax. The version of vim on the Linux machine is 6.1.165 and on Solaris it's 6.0.11.
<p>
In all cases, I'm using the same .exrc and vim.perl files, and the shell is tcsh. I've tried comparing $ENV and the output of 'set' on the Linux and Solaris machines, and can't see a smoking gun.
<p>
Why should gnome-terminal and xterm behave differently when connecting to the same machine? Why is there such a difference in the behavior of the syntax coloring on Solaris? Why should there be such a major change in functionality between the two versions?
<p>
I've tried <A HREF="http://www.vim.org">vim.org</A>, the O'Reilly vi book, <A HREF="http://www.redhat.com">Red Hat.com</A>, and I googled until my fingers bled. I'm out of ideas, and totally baffled.
<p>
Has anyone else faced this? Can someone point me to a solution?
<p>
Thanks,
<p>
-Logan<br>
"What do I want? I'm an American. I want more."
<p><font size="-2">Repaired RH.com link at author's req. - [dvergin] 2003-02-12</font></p>