Centos7 compiled python backspace delete character not recognized

Source: Internet
Author: User

Environment: CENTOS7 Source code compilation Python3.5

Problem: Unable to backspace, delete

Symptom: ^h^h^h^h^h^[[c^[[c occurs when you delete or backspace a grid

Solution:

Yum Install readline*

/usr/local/python3/bin/python3.5

#试验后发现还是不能解决问题

Yum List|grep ' ReadLine '

Yum Install Readline-devel-y

./configure--help

./configure--prefix=/usr/local/python3

Make && make install

The test succeeds after recompiling



Note:

ReadLine is a powerful library that can be configured with the same configuration file as long as the program is used, and the command line is manipulated in the same way, allowing you to easily edit the command line. [2]

Programs that use ReadLine are now mostly Bash, gdb,ftp and so on. ReadLine pay for these programs powerful Emacs-like command-line editing, you can freely bind your keyboard, search command history, etc.


This article is from the "Work Experience" blog, please be sure to keep this source http://chlipeng.blog.51cto.com/8928892/1704495

Centos7 compiled python backspace delete character not recognized

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.