[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing Backspace command in the readline

From: Chet Ramey
Subject: Re: Missing Backspace command in the readline
Date: Tue, 2 Nov 2021 15:54:16 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.2.1

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

$ 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    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]