September 8th, 2003, 04:55 AM
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
September 12th, 2003, 02:38 AM
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.
September 12th, 2003, 02:47 AM
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?
Last edited by zby; September 12th, 2003 at 03:01 AM.
September 12th, 2003, 01:04 PM
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/
September 12th, 2003, 05:26 PM