bug-bash
[Top][All Lists]
Advanced

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

bind -u not working for keyseq starting with \e


From: Hugo Gabriel Eyherabide
Subject: bind -u not working for keyseq starting with \e
Date: Mon, 6 Aug 2018 16:33:27 +0300

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.


reply via email to

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