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

Thread: vi editor

  1. #1
    Join Date
    Sep 2000
    Posts
    6
    I cant seem to set up the editor to use vi. I have tried define_editor=vi, but I get the error:
    sp2-0110 cannot create save file "afriedt.buf"

    Has anyone had this problem before?



  2. #2
    Join Date
    Nov 2000
    Posts
    6
    define ur editor at os level.

    ie, EDITOR=vi;export EDITOR

    then it should work.

  3. #3
    Join Date
    Sep 2000
    Posts
    6
    Its already defined in .profile.

  4. #4
    Join Date
    Jan 2000
    Location
    Silver Spring MD USA
    Posts
    105
    Talk to your sys admin.
    I had similar problems when I didn't have permissions in temp directory or when the temp directory was too full to write to.
    Whenever vi is invoked, space in temp is needed.

    maachan

  5. #5
    Join Date
    Nov 2000
    Posts
    6
    Hi,
    You will have to define vairable _editor.
    on slqplus prompt,
    SQL>define _EDITOR=vi

    You can have this line define _EDITOR=vi in glogin.sql or login.sql
    so that you need not define it everytime sqlplus is invoked.

    You make sure that u have the full rights in temp & ur default directory.


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