[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oracle-linux-l
Subject:    Re: vi editor not opening on SQL prompt
From:       Pawel Matejski <madej () madej ! pl ! eu ! org>
Date:       2002-06-25 14:47:59
[Download RAW message or body]

On Mon, 24 Jun 2002, Amol  Sonaikar wrote:

> Hi all
> 
> I have been successfully opening 'vi' editor on my SQL prompt. I 
> had configured my $ORACLE_HOME/sqlplus/admin/glogin.sql file for 
> vi editor as define_editor='vi' . Suddenly I have started getting 
> error on SQL prompt. when I say ed it gives me error as 
> '/bin/bash: vi: command not found'.
> When I say just 'ed' on SQL prompt then it gives me error
> 'Wrote file afiedt.buf
> /bin/bash: vi: command not found'

Try configure define_editor with full path, i.e.: define_editor='/bin/vi'


You can find full path with: which vi , in shell.

-- 
P.M.


Become an ODTUGer and be a voice to Oracle! Join now at www.odtug.com/join.htm
ODTUG 2002 at Caesars Palace in Las Vegas, NV, June 17-21, 2002
-- 
Author: Pawel Matejski
  INET: madej@madej.pl.eu.org

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-LINUX-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic