From: Luca Ferrari <fluca1978@infinito.it>
To: linux-admin@vger.kernel.org
Subject: Re: Setting the editor environment variable for crontabs in Fedora 2
Date: Thu, 29 Jul 2004 11:13:50 +0200 [thread overview]
Message-ID: <200407291113.50525.fluca1978@infinito.it> (raw)
In-Reply-To: <20040729090451.19483.qmail@web8203.mail.in.yahoo.com>
On Thursday 29 July 2004 11:04 Keletso Keletso's cat walking on the keyboard
wrote:
> Hopefully someone can offer assistance here. I am
> trying to edit user-defined crontabs which stored in
> /var/spool/cron using crontab -e. Now I am being
> informed I cannot use vi to edit those crontabs and
> instead must extract and export a different editor
> (pref VISUAL). Could anyone assist me with the steps
> (e.g. which env profile file must i change to make
> this accomodation and what is the script code).
>
I'm using vi to edit crontab, but you can simply changing the editor doing:
export EDITOR=emacs
crontab -e
that will start using emacs.
You can add the export= line to you .profile (or .bash_profile) file. Why
aren't you using vi? It's quite fast for editing crontabs....
Luca
--
Luca Ferrari,
fluca1978@infinito.it
next prev parent reply other threads:[~2004-07-29 9:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-29 9:04 Setting the editor environment variable for crontabs in Fedora 2 Keletso Keletso
2004-07-29 9:13 ` Luca Ferrari [this message]
2004-07-29 10:53 ` urgrue
2004-07-29 19:10 ` Scott Taylor
2004-07-30 12:20 ` editing crontabs Keletso Keletso
2004-07-29 11:14 ` Setting the editor environment variable for crontabs in Fedora 2 Keletso Keletso
2004-07-29 11:38 ` Luca Ferrari
2004-07-29 16:52 ` Glynn Clements
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200407291113.50525.fluca1978@infinito.it \
--to=fluca1978@infinito.it \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).