情況介紹
點擊退格鍵,刪除輸錯字符時,退格鍵失效,點擊退格鍵出現^H
字符。
解決辦法
docker容器中解決出現:^H^H^H^H
環境:docker容器是debain系統
解決:
把stty erase ^H 添加到.bash_profile中
vim /etc/profile
stty erase ^H
su root
source /etc/profile
點擊退格鍵,刪除輸錯字符時,退格鍵失效,點擊退格鍵出現^H
字符。
docker容器中解決出現:^H^H^H^H
環境:docker容器是debain系統
解決:
把stty erase ^H 添加到.bash_profile中
vim /etc/profile
stty erase ^H
su root
source /etc/profile
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。