delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/29/17:47:45

X-Spam-Check-By: sourceware.org
Message-ID: <BAY105-F1820E1EB93EFBF06E3F598E9290@phx.gbl>
X-Sender: linq936 AT hotmail DOT com
In-Reply-To: <43B441A1.2607A3FC@dessent.net>
From: "lin q" <linq936 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Help:Can not edit crontab becuase of vi not found
Date: Thu, 29 Dec 2005 15:47:37 -0700
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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



>From: Brian Dessent <brian AT dessent DOT net>
>Reply-To: cygwin AT cygwin DOT com
>To: cygwin AT cygwin DOT com
>Subject: Re: Help:Can not edit crontab becuase of vi not found
>Date: Thu, 29 Dec 2005 12:05:53 -0800
>
>lin q wrote:
>
> >   I wonder what the problem is, I can start vi by running, /usr/bin/vi.
>
>What does "ls -l /usr/bin/vi" report?  And your cygcheck output would
>have been helpful.
All right, you hit it right on.

"ls -l /usr/bin/vi" says 'ls: File or directory "/usr/bin/vi" is not found'. 
I am confused...because
1) I can run "/usr/bin/vi"
2) If I "cd  /usr/bin" and then "ls vi", it is there

I check the mount point, c:/cygwin/bin is mounted to /usr/bin, and both 
c:/cygwin/bin and /usr/bin are in $PATH.

I am totally lost, what could be wrong?

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?

>
> >   I also tried "export EDITRO=/usr/bin/vi" and "export 
>EDITOR=/usr/bin/vim",
> > neither one works.
>
>I think it uses VISUAL.  Check the manpage of crontab.
I run "man crontab", it says manpage is not installed. Is VISUAL a program?


>
>Brian
>

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/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/

- Raw text -


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