Nano, vim etc (was Re: turning off screensaver )

Peter Garrett peter.garrett at optusnet.com.au
Sun Feb 11 13:03:40 UTC 2007


On Sun, 11 Feb 2007 03:58:45 -0500
Matthew Flaschen <matthew.flaschen at gatech.edu> wrote:

> Jeffrey F. Bloss wrote:
> > Vi is pretty much universal across distributions so it makes sense to
> > install it. But like you say it's more "involved" than some other
> > choices and probably confusing for converts.
> 
> Quite.  Actually, though, it looks like vim isn't installed either,
> judging by http://packages.ubuntu.com/edgy/metapackages/ubuntu-desktop

$ apt-cache depends ubuntu-minimal | grep vim
  Depends: vim

> 
> > Might be a better choice in some situations. Not sure about that
> > though, it may be the pico is just a symlink that's installed with the
> > nano package...??

$ ls -l /usr/bin/pico
lrwxrwxrwx 1 root root 9 2006-09-16 20:31 /usr/bin/pico -> /bin/nano

and

$ apt-cache depends ubuntu-standard | grep nano
  Depends: nano

$ apt-cache depends ubuntu-base
ubuntu-base
  Depends: ubuntu-minimal
  Depends: ubuntu-standard

So both vim and nano are installed in a default Ubuntu. 

In fact, by default, "editor" is set as "nano" . This can change if, for
example , you install "mc" , which resets "editor" to be "mcedit",  if I
remember correctly. You can of course set vim or emacs using the
alternatives system, but emacs is not installed by default ( neither is mc
of course).

Peter





More information about the ubuntu-users mailing list