Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14444

bind -u not working for keyseq starting with \e

From Hugo Gabriel Eyherabide <hugogabriel.eyherabide@gmail.com>
Newsgroups gnu.bash.bug
Subject bind -u not working for keyseq starting with \e
Date 2018-08-06 16:33 +0300
Message-ID <mailman.4744.1533562412.1292.bug-bash@gnu.org> (permalink)

Show all headers | View raw


Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu'
-DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/locale$
uname output: Linux hugo-agile 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu
May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-unknown-linux-gnu

Bash Version: 4.4
Patch Level: 18
Release Status: release

Description:

bind -u not working for keyseq starting with \e

Repeat-By:

# Shows two keyseq, one starting with \C, the other with \e
$ bind -p | grep forward-search-history | grep -v \#
"\C-t": forward-search-history
"\en": non-incremental-forward-search-history

# Attempt to erase the one starting with \C using bind -u
$ bind -u forward-search-history
$ bind -p | grep forward-search-history | grep -v \#
"\en": non-incremental-forward-search-history
# It worked!

# Attempt to erase the one starting with \e using bind -u
hugo@hugo-agile:~$ bind -u non-incremental-forward-search-history
hugo@hugo-agile:~$ bind -p | grep forward-search-history | grep -v \#
"\en": non-incremental-forward-search-history
# It did not work!

The problem occurs with other functions as well.

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

bind -u not working for keyseq starting with \e Hugo Gabriel Eyherabide <hugogabriel.eyherabide@gmail.com> - 2018-08-06 16:33 +0300

csiph-web