All in Oracle database.

Tuesday, July 21, 2009

How to define vi Editor as the default plain text editor for SQL*Plus ?

July 22, 2009
Key Word: Oracle, SQL*Plus, vi, Editor, glogin.sql 
  There is a glogin.sql in the $ORACLE_HOME/sqlplus/admin directory. You can define vi as the default text editor for SQL*Plus by adding the following line into it:
  DEFINE_EDITOR=vi
  Save the modified glogin.sql, then reconnect to Oracle with SQL*Plus.
  SQL>select * from dual;
  SQL>ed

  Does it work?
 
 

No comments:

Post a Comment