linux下oralcle11g使用edit命令默认调用vi编辑器:

   在        $ORACLE_HOME/sqlplus/admin/glogin.sql   最后一行添加   define_editor=vi  即可。