[Top][All Lists]

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

Re: 'Ins' and 'Del' don't works after updating from bash 2.05

From: Chet Ramey
Subject: Re: 'Ins' and 'Del' don't works after updating from bash 2.05
Date: Sat, 08 Jan 2005 23:02:53 -0500
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)

vifrrg wrote:
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share//locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2
uname output: Linux yebbs 2.4.28 #2 Срд Янв 5 18:23:45 MSK 2005 i686 unknown
Machine Type: i686-pc-linux-gnu

Bash Version: 3.0
Patch Level: 0
Release Status: release

In command line while editing a command I press 'Delete' key. It's suggested: character at right side of cursor to be erased. But nothing happends with character. Only symbol '~' and beep sound appears.
For example I type a command ('$' is a command prompt):
$ man bash
When I set cursor between space character and letter 'b' and press 'Del' twice I hear two beep sounds and get the following command line content:
$ man ~~bash
instead of suggested $ man sh

For some reason, you don't have the key sequences output by the `Del'
and `Ins' keys bound to what you expect.

To find out the key sequences, if any, are bound to the `delete-char'
function (which deletes the character to the right of the cursor), run

bind -p | grep delete-char

You can run `cat -v' to see the key sequence output by the Del key.

Once you have that, you can bind it to the delete-char function in
your .inputrc.


reply via email to

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