delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/29/18:15:24

X-Spam-Check-By: sourceware.org
Message-ID: <43B46DFF.A2328318@dessent.net>
Date: Thu, 29 Dec 2005 15:15:11 -0800
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Help:Can not edit crontab becuase of vi not found
References: <BAY105-F1820E1EB93EFBF06E3F598E9290 AT phx DOT gbl>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <http://cygwin.com/problems.html>, 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019