Backspace=^H in docker container, how to resolve this issue?

Joined
Apr 16, 2023
Messages
147
Reaction score
16
Credits
1,443
My backspaces are being converted to ^H, arrow keys are also being converted to weird symbols, how do I resolve this issue?


Code:
# ^H^H^H^H^H^H^H^Hd^H^H^H^[[D^[[D^[[D^[[D^[[C^[[C^[[C^[[B^[[A^[[A^[[B
/bi: not found
 


You could try and reset the backspace key with:
Code:
stty erase <pressBackspaceKey>
or
Code:
stty erase <cntl+v> <pressBackspaceKey>
where <cntl+v> is pressing the cntl key and the letter v, and, <pressBackspaceKey> means to press the Backspace Key, and not print the string. Press enter of course at the end. It may or may not work but these things depend on terminal type. In xterm for example, one can configure some functions by holding down the cntl key and hitting the left mouse button and then clicking on some relevant config option if it's there.
 
Last edited:

Members online


Latest posts

Top