Hello : my environment is : stty-a /etc/inputrc
I am currently using readline8.2, the problem still exists. Do you have any other suggestions to solve this problem,thanks. Chet Ramey<chet.ra...@case.edu> 在 2024年3月21日 周四 23:40 写道: On 3/20/24 11:56 PM, 高剑平 wrote: > hello : > 1. Find out what key sequence your backspace key emits. This is terminal- > specific, but you might be able to find it in your terminal app's > settings. Let's say it's \033[3~ > > I modified the code like this The key sequence I gave was just an example, not something that your backspace key might output. If you don't have success with the options in Branden's message, you could look at the output of `stty -a' and see what your terminal erase character is. And you don't need to modify the source code; modifying ~/.inputrc or /etc/inputrc is sufficient. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/