Helpful Information
 
 
Category: Oracle Development
sqplus arrows

Hey,
can someone give me a clue how to define the arrow keys for work in sqlplus just as they do in a regular xterm?.
History key function is not an issue now.
So far I made the backspace work with it.

using: Oracle 8i sqlplus in xterm for Linux (ORACLE_TERM=386x).
system: RHL 7.2
X: Afterstep 1.8

Thank you.

Well, assuming you're just wanting to edit the current sql statement, you should be able to type "edit" and open in a text editor. When you save the file you should be dumped back to sqlplus where you can run it.

Ok. Thanks. I have two more things to fight:
1. how to enable deleting text with backspace (persistently)
2. how to enable left/right arrows to work as a movement keys. Not like printing some mess instead.

I have somehow enabled backspace, but it is not loaded (using Aftrstep's wharf to launch sqlplus). Is there any global config file via ORACLE_HOME directory that these configs may be kept in for wide use?

Well, I really have no idea ;). You can try playing with your TERM environment variable, but if you're not having any problems in your shell that probably isn't going to help.

Here's something that may help you, though: http://gqlplus.sourceforge.net/

Ok. Thank you.










privacy (GDPR)