On 11/2/21 1:26 PM, Budi wrote:
What is the Backspace code in the readline, i.e. .inputrc file (as the source come with explanation Ctrl-Backspace ( \b ) but not Backspace) ?
Backspace is Control-H (^H, C-h). The default binding in emacs mode is backward-delete-char: $ bind -p | grep backward-delete-char "\C-h": backward-delete-char That binding usually comes in from the stty `erase' special character, but it's the default in the source. The usual result is that both DEL and BS are bound to backward-delete-char. This is not a bash bug. The question is more appropriate for help-bash. -- ``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/