Mail Archives: cygwin/2005/12/29/18:15:24
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 -