DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: How to set vi Editor for ed command in SQLPLUS

Hybrid View

  1. #1
    Join Date
    Dec 2000
    Posts
    255
    Hi

    I have Oracle8i on RH Linux 6.2
    Just like for windows where NOTEPAD is default editor ..what is for Linux.
    Right now 'ed' command entered on 'SQL>' is giving
    Wrote file afiedt.buf
    1051

    How to set editor for Oracle Here

    Amol

  2. #2
    Join Date
    Oct 2001
    Location
    Madrid, Spain
    Posts
    763
    In SQL*Plus write:

    define_editor='vi'

    Hope that helps

    Angel

  3. #3
    Join Date
    Apr 2001
    Location
    Czechia
    Posts
    712
    In case you want to make vi your permanent editor you have to write "define _editor='vi'" into the file $ORACLE_HOME/sqlplus/admin/glogin.sql.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width