From: "Keletso Keletso" <tswanakeppler@yahoo.co.in>
To: fluca1978@infinito.it, linux-admin@vger.kernel.org
Subject: Re: Setting the editor environment variable for crontabs in Fedora 2
Date: Thu, 29 Jul 2004 12:14:38 +0100 (BST) [thread overview]
Message-ID: <20040729111438.42302.qmail@web8205.mail.in.yahoo.com> (raw)
In-Reply-To: <200407291113.50525.fluca1978@infinito.it>
Hi Luca, are you running fedora 2? I actually tried to
open the crontab using vi and it seems the default
editor for crontabs on my system is not set to vi. So
for example once the crontab has been opened i am not
able to save it using vi commands. so puting the same
exact line on .profile file should export an editor of
my choice. can i export nano?
--- Luca Ferrari <fluca1978@infinito.it> wrote:
> 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
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at
> http://vger.kernel.org/majordomo-info.html
>
________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
next prev parent reply other threads:[~2004-07-29 11:14 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
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 ` Keletso Keletso [this message]
2004-07-29 11:38 ` Setting the editor environment variable for crontabs in Fedora 2 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=20040729111438.42302.qmail@web8205.mail.in.yahoo.com \
--to=tswanakeppler@yahoo.co.in \
--cc=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).