system wide default editor

Siggy Brentrup ubuntu at psycho.i21k.de
Wed Sep 2 21:38:48 UTC 2009


On Wed, Sep 02, 2009 at 17:19 -0400, Jay Daniels wrote:
> When I create a cron job with crontab -e, a pico looking ( nano whatever
> name ) pops up as my editor.
> 
> How do I change the default editor in Ubuntu Hardy to vi or emacs -nw.

% sudo update-alternatives --config editor

I choose jed as a small emacs lookalike that supports utf-8.

> Why in the world would anyone want to use this 1st grade dos looking
> text editor if they installed Linux?

Don't ask me for Debian's bogus defaults, there are more than this
one.

HTH
  Siggy
-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org+
|44 days until|bsb-at-psycho-dot-informationsanarchistik-dot-de|
|www.Ubucon.de|or:                bsb-at-psycho-dot-i21k-dot-de|
+-------> ceterum censeo javascriptum esse restrictam <--------+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090902/362f2ffe/attachment.sig>


More information about the ubuntu-users mailing list