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

Path csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
From Hugo Gabriel Eyherabide <hugogabriel.eyherabide@gmail.com>
Newsgroups gnu.bash.bug
Subject bind -u not working for keyseq starting with \e
Date Mon, 6 Aug 2018 16:33:27 +0300
Lines 39
Approved bug-bash@gnu.org
Message-ID <mailman.4744.1533562412.1292.bug-bash@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace usenet.stanford.edu 1533562413 28577 208.118.235.17 (6 Aug 2018 13:33:33 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=T03jbh43sNL8GqVGk8rxTChtpOy98lik9em/LdfeAVk=; b=NaIGgxqGHxFbOXK9HxYasFCZIVyXYhdbhOxB/rOFKrVfcFUmIQc33dYi0KSPVE0fmY RuQKebV91hIUBnHJefFr3NfeNoNk3awXRs7SqZf+mxUEh4lzo/vD70BctSCnb+EueCwV 7RhdMrOwCpkCkWsJPNuqVBHrxbOoZnDG+siGZbM4ekO0ddBy7IpmWVIv3zPjbAnBzL3a xbFtA3z6mdwrwidK5aKO7pceRNtWYuozoajiah4V1z5gVhxCo0jcaWcVNoMvmnKbMq39 Yrk94EcBgm7lS87L0d5OaisoXuIgp6yRQAV0wdehILTZmKkj00/wXZaTOHO0M+WiJCRM G6WA==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=T03jbh43sNL8GqVGk8rxTChtpOy98lik9em/LdfeAVk=; b=p8DaD8pPBx+Bzsyxqw/IjtjpgjaDKKO/4XCKBSX4Lq+j56RAGzUuy2lnoeqN1IyOeq lAXkn+CQfmasi+MBiW+5K+NCslMi5dT6PEIotNjreW+ksPmIgde2eAAKNpVkkDKorCJ1 7RWdVMzDDcH+5FnTMKankrIoMMdV7kyzsiZacenKPgmNe/JCAoqLa2T2XyPV7Dpc+DdR 4l1vRird1YNDVVIn0Av0n4zHU/hU4fmM9gk7pVPgzt2EmXL4NaASw2tS4Oz0oTXPWhD+ w3JZuiHyqRc8AElAB846oBdWXSsz41P9AL5DRCmqnh5v3iqDRUDElLBLH038MdG7X4hU Rfsw==
X-Gm-Message-State AOUpUlFoymqL2VZRIcD3onCnEnrVKIbWuen6XNY7CIhtMVWQmyT2nYpK 42LHuUcDr9lBxLcrFFh3kwtayOxoSeSFoyjB/HWMpzDI
X-Google-Smtp-Source AAOMgpf+UzSemuSL62Rb/MECIHckRhRJ17TSdRUBblOrAeimRb6SNc7VKr4MHPfa7ZQrec7MBiwiM6LO8D/DGW9BBx4=
X-Received by 2002:ac8:705a:: with SMTP id y26-v6mr14996172qtm.118.1533562408168; Mon, 06 Aug 2018 06:33:28 -0700 (PDT)
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2607:f8b0:400d:c0d::232
X-Content-Filtered-By Mailman/MimeDel 2.1.21
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:14444

Show key headers only | 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