linux--solve the Oracle Sqlplus in the upper and lower left and right backspace can not be used

Source: Internet
Author: User
Tags readline sqlplus

1. Resolve cannot backspace

Method 1:stty Erase ^h

Under Oracle User, add the following statement in the user Environment profile. Bash_profile

Stty Erase ^h

Method 2: Operate on the SECURECRT tool

Hook up the options in the diagram;

In contrast, choose Method 2.

2. Solved can't be up or down

Oracle Sqlplus on Linux cannot use the up and down keys to view commands and fret. The Rlwarp tool can help us solve this problem.

Official: http://utopia.knoware.nl/~hlub/uck/rlwrap/

Tar zxvf rlwrap-0.42.tar.gz

CD rlwrap-0.42

./configure

Make

Make install

Before you operate.

Under Oracle User, add the following statement in the user Environment profile. Bash_profile

Alias sqlplus= ' Rlwrap sqlplus '

FAQ

1. During the execution of the./configure process

Configure:error:
You need the GNU ReadLine Library (ftp://ftp.gnu.org/gnu/readline/) to build
This program!

A: Need to install readline bag, don't forget libtermcap-devel bag.

linux--solve the Oracle Sqlplus in the upper and lower left and right backspace can not be used

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.