X-Spam-Check-By: sourceware.org Message-ID: <43B46DFF.A2328318@dessent.net> Date: Thu, 29 Dec 2005 15:15:11 -0800 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Help:Can not edit crontab becuase of vi not found References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com lin q wrote: > "ls -l /usr/bin/vi" says 'ls: File or directory "/usr/bin/vi" is not found'. I'm beginning to suspect that the 'ls' and/or 'crontab' that you are using are not from Cygwin. ls should say "ls: /usr/bin/vi: No such file or directory." If it is really saying what you have above then you either didn't paste the exact error message (not a good idea) or you're using some non-Cygwin version of ls. A non-Cygwin version of ls would indeed have no idea what /usr/bin is since "/usr/bin" is completely a Cygwin invention. What do "type ls" and "type crontab" say? > You mentioned runing cygcheck, I did that, "cygcheck -sv /usr/bin/vi", it > returns "C:/cygwin/bin/vi - os=45841.30695 img=60008.34 sys=46070.30695" and > a lot of other system information. > > I am not sure what I am supposed to check, could you elaborate on that? As described at , the desired output is "cygcheck -svr", sent as an attachment. > I run "man crontab", it says manpage is not installed. Then either you are using a non-Cygwin version of cron or you have some serious installation problem. Cygcheck should help diagnose this. > Is VISUAL a program? No, it's an environment variable, as in "VISUAL=/bin/vim crontab -e". Brian -- 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/