At 2005-01-11T11:35:27+1300, Rex Johnston wrote:
> Carl Cerecke wrote:
> >>3. vim -R
> >
> >Yes, but, I don't really get along well with vi. (Is this just a lame 
> >excuse?). Also, it didn't actually do any syntax highlighting. But I did 
> >get to practice my one known vi command, :q!

> Perhaps your vim installation is old/broken.

That's possible, but it's more likely that his vim is defaulting to 'vi
compatible' mode, which includes no syntax highlighting.  vim used to
behave this way with many distributions.  If you create a ~/.vimrc file
and stick 'syntax on' in it, you'll get coloured syntax highlighting on
any terminal that will support it.

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                [EMAIL PROTECTED]

Reply via email to