--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
This typically indicates that TERM is not set properly. I assume you use Terminal.app, bash, and the default 10.5 or 10.6 ssh. This should automatically get you a 16-color terminal. In vim on the Centos box, what do you get when you run: ":set t_Co?" What about ":set term?" Try setting t_Co to be 8 (it will use bold to simulate 16, which you can configure in Terminal.app's settings): ":set t_Co=8".Ensure of course that you have a color scheme and syntax file set: ":set ft?" to determine if the filetype was identified correctly, and ":color koehler" should work on a low-color terminal.If you were to use iTerm2 you would be able to have 256 colors, but that probably involves a bit more setup than the simple case listed above.
--
> I typed vim instead of vi. That was it. We aparently have more than one
> version of vi and one worked and the other did not.
Indeed, on our Linux systems (RHEL), "vi" gets /bin/vi, which is vim
compiled with "tiny" features (and thus doesn't have syntax highlighting),
while "vim" gets /usr/bin/vim, which is compiled with "huge" features and
the Perl & Python interpreters. I suspect other Linux flavors do similar.
Cheers,
Carl