Click to See Complete Forum and Search --> : vi editor


gps
11-08-2000, 06:42 AM
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?

kpnmani
11-08-2000, 06:47 AM
define ur editor at os level.

ie, EDITOR=vi;export EDITOR

then it should work.

gps
11-08-2000, 06:54 AM
Its already defined in .profile.

maachan
11-08-2000, 09:50 AM
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

kpnmani
11-08-2000, 06:19 PM
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.