Delete key and bash

Chris Rouch crouch at pobox.com
Tue Jan 18 16:51:43 UTC 2005


On Tue, 18 Jan 2005 14:59:20 +0000
Jonathan Underwood <j.underwood at open.ac.uk> wrote:

> Hi,
> 
> With FC3 I am seeing that pressing the delete (the key under insert, 
> i.e. not backspace) produces just a tilde at the command line with 
> either gnome-terminal or xterm running bash, but not tcsh.  My 
> understanding is that the line in /etc/inputrc that reads
> 
> "\e[3~": delete-char
> 
> should set all programs using readline, such as bash, to use the
> delete key to delete the character under the cursor. I have verified
> that the delete key is returning the correct escape sequence using
> Ctrl-v press-delete which returns ^[[3~, as expected. Any ideaas? Is
> this a bug?
> 

Do you have INPUTRC set. Mine is set to $HOME/.inputrc and I had to add
that line there to get it to work.

Chris




More information about the users mailing list