Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Invoking vi from within sql*plus

Re: Invoking vi from within sql*plus

From: <jjreimer_at_wthg.com>
Date: 1997/11/14
Message-ID: <879538222.21798@dejanews.com>#1/1

In article <346B4EA4.2ADF_at_rte-asset.com>,   john_at_rte-asset.com wrote:
>
> Mark Aurit wrote:
> >
> > I was on a project using hp/ux and the bourne
 shell. From the sql*plus
> > comand line, I could enter "edit x.x" and Id go
 into vi in full screen
> > mode.
> > Now Im on another project, again using hp/ux,
 this time using the c shell,
> > and when I enter the same thing, I get:
> > ?x.x
> > and Im apparently in a line editor.
> >
> > Can someone tell me what parameter in what file
 makes full screen happen? I
> >
> > suspect its a UNIX thing, but Im not sure where
 to start.
> >
> > Thanks, Mark
> > mark_aurit_at_mail.northgrum.com
> in SQL*Plus, do this "define _editor=vi", then
 default editor
> will become vi, keep this line in login.sql, so
 you don't have to do
> this every time.
> --
> John Y. Chan
> Manager, Data Services
> RTE Asset Management (aka. Rightime Econometrics,
 Inc.)
> 1095 Rydal Rd.
> Rydal, PA 19046
> (215) 572-7288 (Voice)
> (215) 572-6254 (Fax)

Another thing you could try is to set a Unix environment variable EDITOR to
'vi'.

John

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet
Received on Fri Nov 14 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US