Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Sqlplus - Editing in EMACS

540162Sep 24 2007 — edited Sep 24 2007
define _editor=emacs -nw
sqlplus
ed file.sql

Opens the file in command line emacs
But i now cant exit emacs via CTRL-x, CTRL-c.
I can only exit via M-x save-buffers-kill-emacs
The .emacs file also isnt executed

However when
export DISPLAY=ip_address
define _editor=emacs

ed file opens in a new window and all key bindings work as expected
.emacs is also executed

I prefer to work with non X emacs - its quicker - what am i doing wrong

Thanks

simon
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2007
Added on Sep 24 2007
2 comments
627 views