Original works, from the "Blue Blog" blog, Welcome to reprint, please be sure to indicate the source, otherwise hold the copyright legal responsibility.
Deep Blue Blog:http://blog.csdn.net/huangyanlong/article/details/45875793
when using Xmanager Remote Connection Linux system, use Sqlplus when found, delete keys are garbled, as follows:
Workaround:
Method One:
[Email protected] ~]# Vi. bash_profile
-- Add Stty Erase ^h
#. Bash_profile
# Get the aliases and functions
If [-f ~/.BASHRC]; Then
. ~/.bashrc
Fi
# User specific environment and startup programs
Path= $PATH: $HOME/bin
Export PATH
Unset USERNAME
Stty Erase ^h
[[email protected] ~]# source. bash_profile
Modify the instructions sent by the DELETE key, corresponding to the above modification, will ^h implemented as a purge command.
here, of course, you can do this without adding variable environment variables at the middle end . Stty Erase ^h can also play a corresponding effect.
The cause of this is Sqlplus cannot be used in GNU of the ReadLine Library.
about the GNU of the ReadLine libraries can refer to Links:
http://blog.csdn.net/huangyanlong/article/details/45875661
below, to put Xmanage in Delete and the BACKSPACE The Send key is also changed against the environment variable, as follows:
Below you can see the effect, as follows:
Sqlplus Under the production of some garbled, as follows:
Try deleting the Delete key as follows:
Setup is complete.
Method Two:
Another temporary method is to use the DELETE key (backspace), manually add the CTRL key, human implementation of the deletion function.
Summary:
Solve the garbled problem in sqlplus :
1. Add stty erase ^hto . Bash_profile ;
2. Temporary method: Press ctrl+backspace or #stty erase^h
Original works, from the "Blue Blog" blog, Welcome to reprint, please be sure to indicate the source, otherwise hold the copyright legal responsibility.
Deep Blue Blog:http://blog.csdn.net/huangyanlong/article/details/45875793
X-manager using Sqlplus backspace garbled solution