List:General Discussion« Previous MessageNext Message »
From:Thimble Smith Date:April 28 1999 6:56pm
Subject:Re: $editor : not found
View as plain text  
On Wed, Apr 28, 1999 at 11:24:31AM -0500, Paul DuBois wrote:
> At 5:10 PM +0100 4/28/1999, Marco Lopez wrote:
> >I've checked the $editor variable, the environment and VI works fine
> 
> mysql checks $EDITOR and $VISUAL, not $editor.

... and vi is 'vi', not 'VI'.  Case is really important in Unix.
If you've checked all those things and it still doesn't work,
try setting your EDITOR variable to the full path to vi, like
this:

$ env EDITOR=/usr/bin/vi

If that works, then maybe your PATH is munged somehow.

Tim
Thread
$editor : not foundMarco Lopez28 Apr
  • Re: $editor : not foundPaul DuBois28 Apr
    • Re: $editor : not foundThimble Smith28 Apr
      • $editor : not found, YET! :)Marco Lopez30 Apr
    • Re: $editor : not found, YET! :)Van30 Apr
      • Re: $editor : not found, YET! :)Darrell Shifflett30 Apr