下载rlwrap-0.30
从光盘上安装readline-devel和readline
安装rlwrap:
#tar -zxvf rlwrap-0.30.tar.gz#cd rlwrap-0.30#./configure
#make
#make install
修改环境变量:添加alias sqlplus='rlwrap sqlplus'alias rman='rlwrap rman'