On Wed, Oct 11, 2000 at 11:23:25AM -0400, Steven Hatfield wrote:
> On Wed, 11 Oct 2000, you wrote:
> > David Odin <[EMAIL PROTECTED]> writes:
> > > > I noticed with vim -- it was configured without syntax/color
> > > > highlighting capabilities in the RPM. I've had to download it and
> > > > configure it by hand. Or is there something that I don't know about
> > > > with the RPM? Maybe a way to specify that I want syntax/color
> > > > highlighting turned on?
> > >
> > >   if you have vim-minimal and vim-enhanced installed, when you type vi at
> > > the prompt, you use vim-minimal, which is... minimal
> > >   use "vim" instead, or uninstall vim-minimal.
> >
> > We've been flamed in past because our default vi did more than the
> > historical one (syntax highlight and the like).
> > So we've choosen that vim-minimal should really be minimal.
> >
> > Now, we can :
> > - either use update-alternative so that vim-enhanced provides /bin/vi too
> > - or make vim-enhanced obsoltes vim-minimal so that if one want to install
> > both, he only gets the full enhanced version.
> 
> But what's happening is that if both are installed (minimal and enhanced) 
> then you get the minimal one - which doesn't include syntax highlighting.
> You have to remove vim-minimal in order to get syntax highlighting.
> 
  vim-minimal installs  /bin/vi
  vim-enhenced installs /usr/bin/vi and /usr/bin/vim

So:

  If you install vim-minimal alone,  'vi' launch vim-minimal
                                     'vim' does nothing (doesn't exist)
  If you install vim-enhanced alone, 'vi' and 'vim' launch vim-enhanced
  If you install both                'vi' lauch vim-minimal
                                     'vim' launch vim-enhanced

                      DindinX

-- 
  [EMAIL PROTECTED]         HF Team

Reply via email to