Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15679
| Path | csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Dennis Williamson <dennistwilliamson@gmail.com> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: No way to 'bind -x' symbolic character names |
| Date | Sat, 30 Nov 2019 08:57:20 -0600 |
| Lines | 27 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.31.1575125861.13035.bug-bash@gnu.org> (permalink) |
| References | <1575045558200.80219@kth.se> <CANaoh6K4oSmxRhOsHazus0bwEOz0uqG1GwdwQZjMg5BVufJQFg@mail.gmail.com> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Trace | usenet.stanford.edu 1575125861 16619 209.51.188.17 (30 Nov 2019 14:57:41 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | bug-bash <bug-bash@gnu.org> |
| To | Nikolaos Kakouros <nkak@kth.se> |
| Envelope-to | bug-bash@gnu.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UIUHK+25i9VIgSSYytz6U7mJtT2IHt6lRqgSwDiwZlU=; b=FUAk6dXYRO3gVsdTls1TSnrwyB1Fv4Cm2RsMB8ubJuqaDpagGCwzm7WLteV+ZeYoZG vNXzeQiW14+SdUFI4T4IN6/irvWdikjFk3SVja1hyEUL+/6tLuzVUwQyDo87XbaLcXCl lBngeFC0/hMvha4gvz/QBlEDB8+kv2ZYS4cBi+aQzRFDIRJGVRps0kKoX5yAItd7lK23 WR0eCa1FDD8D5PS3LcglU2SVRkidPtcwFRBS+4eQsosYI5gG2fAAHB1YhjxfULSb3fAU 3DWro+xZmMJzGSlXSXCazrq/Ia+D66fiXBpwcIkm3zcqgQGDInTRSuNunF1qocv6pLd+ 8Ubw== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UIUHK+25i9VIgSSYytz6U7mJtT2IHt6lRqgSwDiwZlU=; b=R2QAo0969tnH2KzwEcy0IfV3wvcpny6oLzIHKWk1R0z+bSfeftV+K2+TQAxDDWW3H5 g/mqbk1sV0EwXbs/qPz8LtnoxOtAI6tWeiH/1tvYXFljWipKRywQcjfMGILXRLSTnFml Gry8aAr6WaiHDNW3OfTwQy5Gdq3VWZX6VYaRgcw+U2CGqT34fzJB0vXYAwpMXIBIOAKB o71W3Cft/uj1jzTGviny6vCbVU1biC2C8LKvzEcV+xIYsAYejSuJiFowUuZAd/BUhI9g trBBzYppRVpnPPSUVP3WrrPa1d3sezgw03pRhF+NaN588+sDJ18+HzEfn84LC5M4d+Cx 3NeA== |
| X-Gm-Message-State | APjAAAXh8vG/iAx64Gb/zvkIQHYu/XOtlj3Hdn8I/QMx11wnM42jFplf Ne7QaNk5NSOWm+oz2h+WsaxqRG0ehiPsFRr3ng== |
| X-Google-Smtp-Source | APXvYqwKzOD1/k4c71g58Kwu1zD9n9PobQVczVQqhxwuJsR1fEZrQlxjfksdgFCop+bju5X8tkaqFLNy9J8KqAIA1oY= |
| X-Received | by 2002:a7b:ce86:: with SMTP id q6mr19373447wmj.20.1575125851854; Sat, 30 Nov 2019 06:57:31 -0800 (PST) |
| In-Reply-To | <1575045558200.80219@kth.se> |
| X-detected-operating-system | by eggs.gnu.org: Genre and OS details not recognized. |
| X-Received-From | 2a00:1450:4864:20::32f |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.23 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| 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 | <https://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> |
| X-Mailman-Original-Message-ID | <CANaoh6K4oSmxRhOsHazus0bwEOz0uqG1GwdwQZjMg5BVufJQFg@mail.gmail.com> |
| X-Mailman-Original-References | <1575045558200.80219@kth.se> |
| Xref | csiph.com gnu.bash.bug:15679 |
Show key headers only | View raw
On Fri, Nov 29, 2019, 10:40 AM Nikolaos Kakouros <nkak@kth.se> wrote: > Using bash version: > > GNU bash, version 5.0.11(1)-release (x86_64-pc-linux-gnu) > > > Trying to map Backspace to execute a function, I try to do: > > bind -x '"Rubout": my_func' > > This, as expected, binds the string 'Rubout' to the function. Omitting the > double quotes makes bind fail. Escaping, like `\Rubout`, works neither. > > 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 terminal emulator, `C-v Backspace` prints `^?` which I haven't > managed to use with bind. > Backspace is a terminal setting which has precedence. You have to first undefine it. stty erase undef bind -x '"\C-?":my_func' >
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: No way to 'bind -x' symbolic character names Dennis Williamson <dennistwilliamson@gmail.com> - 2019-11-30 08:57 -0600
csiph-web