LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   cron+vim bug (http://www.linuxquestions.org/questions/slackware-14/cron-vim-bug-31486/)

treebeard 09-30-2002 03:13 AM

cron+vim bug
 
i've been long time convinced that crontab doesnt work in slackware 8.0. specifically, after editing root's crontab (crontab -e), a new crontab -e would not reflect my changes.

now i've installed 8.1 on my computer, and noticed that
if i have VISUAL=/bin/elvis or make /bin/vi point to /bin/elvis, crontab -e works fine.
if i have VISUAL=/bin/vim or make /bin/vi point to /bin/vim, crontab -e doesnt work.

any ideea what could happen here?

neo77777 09-30-2002 06:52 AM

Set EDITOR env variable, I have
export EDITOR=vi
editted crontab and cron works all the time.

treebeard 09-30-2002 07:18 AM

neo77777: probably on your system vi is a link to elvis.
does EDITOR=vim work?

neo77777 09-30-2002 10:03 AM

Oops, it might be, and there is no way I can check it right now ( I am at work, behind the RH system, damn the slacker here was taken away from me :mad: ), I'll check it out at home.


All times are GMT -5. The time now is 12:03 PM.