Path: csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Nikolaos Kakouros Newsgroups: gnu.bash.bug Subject: No way to 'bind -x' symbolic character names Date: Fri, 29 Nov 2019 16:39:17 +0000 Lines: 17 Approved: bug-bash@gnu.org Message-ID: References: <1575045558200.80219@kth.se> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1575045571 2765 209.51.188.17 (29 Nov 2019 16:39:31 GMT) X-Complaints-To: action@cs.stanford.edu To: "bug-bash@gnu.org" Envelope-to: bug-bash@gnu.org X-Virus-Scanned: by amavisd-new at kth.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default; t=1575045559; bh=h6U5Q1GqtcDxWS9uk5TOWcWIPFnGBFYn8PNeHYVIl8s=; h=From:To:Subject:Date; b=MuCv91shTl+9Xhs0hgDtbQKEG6WEYlBBek2qnMNUoar+vHdCFExysOmfDrmW7KLXs Ls0gtI8Go6szDdXkimy/r7mZjUai541/tYUhMCOcHON5K2tb2JwCF7IRkMzHH8yN4K KNSQlOMPRnEiRLmZZR4N7Q/OUT3Mz9Wbu3TmQoQA= Thread-Topic: No way to 'bind -x' symbolic character names Thread-Index: AQHVptDQym12DHLRj0uGnTUaWlmtkQ== Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [84.216.244.244] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:6b0:1:1300:250:56ff:fea6:2de2 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <1575045558200.80219@kth.se> Xref: csiph.com gnu.bash.bug:15678 Using bash version:=0A= =0A= GNU bash, version 5.0.11(1)-release (x86_64-pc-linux-gnu)=0A= =0A= =0A= Trying to map Backspace to execute a function, I try to do:=0A= =0A= bind -x '"Rubout": my_func'=0A= =0A= This, as expected, binds the string 'Rubout' to the function. Omitting the = double quotes makes bind fail. Escaping, like `\Rubout`, works neither.=0A= =0A= This is important in the case of Backspace, as there is no (to my knowledge= ) other way to bind the backspace than using Rubout. Using Konsole as my te= rminal emulator, `C-v Backspace` prints `^?` which I haven't managed to use= with bind.=