Transferred from: http://blog.itpub.net/26110315/viewspace-717249/
Sometimes when you use Sqlplus to log in to the database, when you hit the wrong command to delete the changes, you find the previously typed characterscannot be deleted, but ^h characters are more.sql> show^h^h[[email protected] ~]$ stty-a//Display all terminal settings. Which would have such a field erase = ^?; that represents the terminal.The way to clear characters is ctrl+backspace.can be modified to the BACKSPACE key we often use. [email protected] ~]$ Stty erase ^hby entering Sqlplus, you can delete the wrong characters in a way that is familiar to us. Log on to the Linux system again when you log off the Linux sessionWhen we entered the sqlplus, the problem came again.sql> show^h^hto allow this setting to take effect every time you log on to the Linux system creation session, you can write to the. bash_profile file in the executionEffect.[email protected] ~]$ VI bash_profile//join Stty erase ^h[email protected] ~]$: Bash_profile
(go) Set the BACKSPACE key in Sqlplus