This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Help:Can not edit crontab becuase of vi not found


Hi,
I just re-installed the latest cygwin to have cron installed. Then i run the following command to install the cron service,


cygrunsrv -I cron -p /usr/sbin/cron -a -D

After that I run,

crontab -e

But I get the following message,

       bash-3.00$ crontab -e
                       no crontab for linq - using an empty one
                       /usr/bin/vi: No such file or directory
                        crontab: "/usr/bin/vi" exited with status 1

I wonder what the problem is, I can start vi by running, /usr/bin/vi.

I also tried "export EDITRO=/usr/bin/vi" and "export EDITOR=/usr/bin/vim", neither one works.

Any suggestion?

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]