linux下启动oracle sqlplus使用方向键出现[^A[B^[B^[D^ ^H的解决方法
2013-11-01 14:41
671 查看
今天安装好了虚拟机和oracle 11g 准备开始进一步的学习oracle
当我进入sqlPlus 敲击的第一条命令时输入错了一个字母 习惯性的使用方向键去出现了[^A[B^[B^[D^ ^H 乱码
在网上找了好多方法但是只有这个适合我用.. 其他的反正我试了都比这个要麻烦
首先下载:rlwrap-0.37.tar.gz (这个只有245KB)
下载地址:http://utopia.knoware.nl/~hlub/uck/rlwrap/rlwrap-0.37.tar.gz
然后呢上传到linx
开始解压和安装rlwrap
[root@mypl ~]# tar -zxvf rlwrap-0.37.tar.gz
[root@mypl ~]# cd rlwrap-0.37
[root@mypl rlwrap-0.30]# ./configure
[root@mypl rlwrap-0.30]# make
[root@mypl rlwrap-0.30]# make install
[root@mypl rlwrap-0.30]# rlwrap
Usage: rlwrap [options] command ...
Options:
-a[password:] --always-readline[=password:]
-A --ansi-colour-aware
-b <chars> --break-chars=<chars>
-c --complete-filenames
-C <name|N> --command-name=<name|N>
-D <0|1|2> --history-no-dupes=<0|1|2>
-f <completion list> --file=<completion list>
-F <format string> --history-format=<format string>
-h --help
-H <file> --history-filename=<file>
-i --case-insensitive
-l <file> --logfile=<file>
-n --no-warnings
-p[ANSI colour spec] --prompt-colour[=ANSI colour spec]
-P <input> --pre-given=<input>
-q <chars> --quote-characters=<chars>
-m[newline substitute] --multi-line[=newline substitute]
-r --remember
-v --version
-s <N> --histsize=<N> (negative: readonly)
-t <name> --set-term-name=<name>
最后设置一下环境变量就好啦
root@mypl rlwrap-0.30]# vi /home/oracle/.bash_profile
在最后添加下面两行:
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'
然后wq保存退出;
好了到这就结束了,赶紧开始oracle之旅吧
当我进入sqlPlus 敲击的第一条命令时输入错了一个字母 习惯性的使用方向键去出现了[^A[B^[B^[D^ ^H 乱码
在网上找了好多方法但是只有这个适合我用.. 其他的反正我试了都比这个要麻烦
首先下载:rlwrap-0.37.tar.gz (这个只有245KB)
下载地址:http://utopia.knoware.nl/~hlub/uck/rlwrap/rlwrap-0.37.tar.gz
然后呢上传到linx
开始解压和安装rlwrap
[root@mypl ~]# tar -zxvf rlwrap-0.37.tar.gz
[root@mypl ~]# cd rlwrap-0.37
[root@mypl rlwrap-0.30]# ./configure
[root@mypl rlwrap-0.30]# make
[root@mypl rlwrap-0.30]# make install
[root@mypl rlwrap-0.30]# rlwrap
Usage: rlwrap [options] command ...
Options:
-a[password:] --always-readline[=password:]
-A --ansi-colour-aware
-b <chars> --break-chars=<chars>
-c --complete-filenames
-C <name|N> --command-name=<name|N>
-D <0|1|2> --history-no-dupes=<0|1|2>
-f <completion list> --file=<completion list>
-F <format string> --history-format=<format string>
-h --help
-H <file> --history-filename=<file>
-i --case-insensitive
-l <file> --logfile=<file>
-n --no-warnings
-p[ANSI colour spec] --prompt-colour[=ANSI colour spec]
-P <input> --pre-given=<input>
-q <chars> --quote-characters=<chars>
-m[newline substitute] --multi-line[=newline substitute]
-r --remember
-v --version
-s <N> --histsize=<N> (negative: readonly)
-t <name> --set-term-name=<name>
最后设置一下环境变量就好啦
root@mypl rlwrap-0.30]# vi /home/oracle/.bash_profile
在最后添加下面两行:
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'
然后wq保存退出;
好了到这就结束了,赶紧开始oracle之旅吧
相关文章推荐
- linux环境sqlplus中使用backspace键出现乱码的解决方法
- Linux环境下的SQL*PLUS及RMAN中不能使用上下方向键查看命令历史的解决方法
- linux的sqlplus环境下方向键、Backspace键使用不正常的解决方法
- 【Linux】Linux环境下Oracle SqlPlus中方向键问题的解决方法
- Linux的sqlplus环境下方向键、Backspace键使用不正常的解决方法
- linux环境sqlplus中使用backspace键出现乱码的解决
- linux下安装完oracle 11g后使用sqlplus出现如下乱码现象
- SecureCRT远程连接Linux下的sqlplus中退格键不能使用之解决方法
- SecureCRT远程连接Linux下的sqlplus中退格键不能使用之解决方法
- linux 下sqlplus里无法使用方向键的解决
- 解决oracle中sqlplus客户端命令行中出现^H字符以及不能使用历史命令行
- 用sqlplus myuser/mypwd出现permission denied的linux错误时解决方法
- Oracle SqlPlus 方向键的方法和解决的退格键失效
- Linux下Oracle的sqlplus使用不顺手的解决
- Linux下修改.bash_profile文件后再次用CRT启动环境变量未生效的解决方法,oracle命令无法使用
- 在Linux的sqlplus中不能使用vi时的解决方法
- linux下oracle sqlplus退格方向键失效解决办法-rlwrap
- 在linux下启动oracle 10g的企业管理器和isqlplus、sqlplus基本方法
- linux下操作sqlplus出现方向键出现乱码的解决办法
- SecureCRT远程连接Linux下的sqlplus中退格键不能使用之解决方法