The preferred (Debian) way to change this would be to
update-alternatives. Set the editor alternative to your favorite text
editor.

man update-alternatives

/Wes

Wesley A. Wannemacher
[EMAIL PROTECTED]
Instructor, Network Administrator
University of Northwestern Ohio
http://www.unoh.edu

> -----Original Message-----
> From: Nathan E Norman [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 20, 2000 3:55 PM
> To: debian-user@lists.debian.org
> Subject: Re: crontab
>
>
> On Wed, Dec 20, 2000 at 08:16:18PM -0000, Ari Sigurðsson wrote:
> > how do I get crontab -e to use my favorite editor?
>
> Set the environment variable EDITOR to your favorite editor, e.g.
> EDITOR=/usr/bin/vi or
> EDITOR=/usr/bin/emacs
>
> (If you're using csh do five hail marys and alter the above
> accordingly :)
>
> --
> Nathan Norman - Staff Engineer | A good plan today is better
> Micromuse Inc.                 | than a perfect plan tomorrow.
> mailto:[EMAIL PROTECTED]   |   -- Patton
>

Reply via email to