Johnny Hughes schrieb: > On Sun, 2007-04-15 at 06:09 -0400, Michael Velez wrote: >> >>> Hello, >>> i have a little problem on OS5. >>> On CentOS4 vi an vim are the same programs. >>> On 5 vi have no syntax highlighting while vim have it. >>> >>> Whats wrong? >>> >>> Greetings, >>> Sebastian >> In CentOS 4, by default vi is aliased to vim. The unaliased vi does not >> have syntax highlighting. >> >> Could it be that vi is not aliased to vim by default in CentOS 5? Run the >> 'alias' command to see a list of aliases. If you want to alias vi to vim, >> just run: >> alias vi=vim >> >> Michael > > I believe that root is the only user where this happens ... > That is correct, with a non-root user it works.
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos