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


Groups > gnu.bash.bug > #14444 > unrolled thread

bind -u not working for keyseq starting with \e

Started byHugo Gabriel Eyherabide <hugogabriel.eyherabide@gmail.com>
First post2018-08-06 16:33 +0300
Last post2018-08-06 16:33 +0300
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug


Contents

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

#14444 — bind -u not working for keyseq starting with \e

FromHugo Gabriel Eyherabide <hugogabriel.eyherabide@gmail.com>
Date2018-08-06 16:33 +0300
Subjectbind -u not working for keyseq starting with \e
Message-ID<mailman.4744.1533562412.1292.bug-bash@gnu.org>
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.

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web