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

Home -> Community -> Usenet -> c.d.o.server -> Re: text editor

Re: text editor

From: Howard J. Rogers <dba_at_hjrdba.com>
Date: Tue, 11 Jun 2002 19:22:28 +1000
Message-ID: <ae4fgv$d7v$1@lust.ihug.co.nz>


use:

SQL> define _editor=vi

(That's "define space underscore editor nospace equals nospace vi")

You can also create a file called login.sql in the directory from where you normally run sql plus (it's just a text file). Stick that same line in this document, and vi will be set as your default editor every time you run sqlplus without further effort on your part.

In ORACLE_HOME/sqlplus there's a file called glogin.sql which does the same thing on a global basis -all users pick up that file's settings, wherever they call it from.

Regards
HJR "Warrant" <webmaster_at_cedsrl.it> wrote in message news:wViN8.22650$TS.697667_at_news1.tin.it...
> Hello, I need to configure "vi" on sqlplus. At the promt of sqlplus if
write
> vi must open the the text editor windows.
> My oracle relase is 8.1.6 on linux suse
> Somebody can help me?
>
>
> Thank You.
>
>
Received on Tue Jun 11 2002 - 04:22:28 CDT

Original text of this message

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