bugWeeChat - Bugs: bug #37045, Impossible to bind Ctrl+Bksp,...


bug #37045: Impossible to bind Ctrl+Bksp, possibly other similar keys

Submitter:  Georgiy T. <sal9000>
Submitted:  Tue 07 Aug 2012 05:51:38 AM UTC
Category:  core commands Severity:  3 - Normal
Item Group:  other Status:  Invalid
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.3.8 IRC nick:  SAL9000
* Mandatory Fields

Add a New Comment Rich Markup

Tue 14 Mar 2023 08:41:40 PM UTC, comment #2: 

Keys backspace and ctrl-backspace should be received with different codes in WeeChat (if not, as Mantas said, the terminal is guilty, not WeeChat).

For example, with command `showkey -a`:

$ showkey -a

Press any keys - Ctrl-D will terminate this program

^?         127 0177 0x7f        <-- pressed: backspace
^H           8 0010 0x08        <-- pressed: ctrl+backspace

If you have this, you can then bind `ctrl-H` for ctrl + backspace.

Closing the issue as invalid.

Sebastien Helleu <flashcode>
Group administrator
Wed 06 Mar 2013 03:14:41 PM UTC, comment #1: 

Not a Weechat bug. Some terminals (especially vte) simply do not send different key codes for Bksp and Ctrl+Bksp, and [afaik] there is nothing Weechat, as a terminal program, can do about this.

grawity <grawity>
Tue 07 Aug 2012 05:51:38 AM UTC, original submission:  

Alt+K then Ctrl+Bksp gives Ctrl+?, same as just Bksp, therefore it is impossible to bind Ctrl+Bksp to something else (e.g. erase-last-word).

Georgiy T. <sal9000>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by grawity (Posted a comment)
  • -email is unavailable- added by sal9000 (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-03-14 flashcode Open/ClosedOpen Closed
    2023-03-14 flashcode Item GroupNone other
        StatusNone Invalid
        Assigned toNone flashcode

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code