I had a disk failure and recovered from a backup, BUT... something is
missing.
Now whenever I vim a file I can see the control characters in the
text file. Here's what I see in my .cshrc file:
[33mumask 022
These go away if I comment out the 'syntax on' in my .vimrc file, but
what's the deal? What am I missing?
It looks like your term settings are wonky. Vim is doing syntax
coloring by sending VT-100 escape sequences to your terminal, but
your terminal isn't properly handling them.
Check your $TERM setting in your shell:
bash> echo $TERM
and what vim thinks your term setting is:
:set term?
My guess is that they don't jive, and that most likely, you'll
see the same symptom in other colorizing console apps. Or, your
vimrc is manually specifying what the 'term' should be and
overriding whatever vim finds in the environment. If you're not
manually specifying your 'term' setting in your vimrc, then it's
likely a problem with configuration of the $TERM in which vim is
running.
-tim