Package: bash
Version: 3.1-5
Severity: normal
Binding "\M-\C-i" (Alt-Tab) to any function results in a broken
binding, only binding "\C-\M-i" (also Alt-Tab) works. In Sarge's
bash3 package, this bug is absent.
Details
-------
First, we remove any potential bindings:
$ bind -r '\C-\M-i'; bind -r '\M-\C-i'
$ bind -P | grep menu-complete
menu-complete is not bound to any keys
$
Then we try to bind \M-\C-i (Alt-Tab) to "menu-complete" (just as
an example, the bug is not related to a particular function):
$ bind '"\M-\C-i": menu-complete'
$ bind -P | grep menu-complete
menu-complete can be found on "ÜC-i". # "U-umlaut, C, -, i"
$
which doesn't work:
- Alt-Tab only beeps and does nothing otherwise,
- U-umlaut (nothing is displayed) + Tab (now U-umlaut is displayed)
only beeps and does nothing otherwise, either.
In Sarge's bash3-3.0-12 (version 3.00.16(1)), binding "\M-\C-i" works
flawlessly:
$ bind -r '\C-\M-i'; bind -r '\M-\C-i'
$ bind -P | grep menu-complete
menu-complete is not bound to any keys
$ bind '"\M-\C-i": menu-complete'
$ bind -P | grep menu-complete
menu-complete can be found on "\M-\C-i".
$
Workaround
----------
Binding (the less intuitive) "\C-\M-i" (as opposed to "\M-\C-i"),
denoting the same key combination, works, although "bind -P" re-sorts
the letters:
$ bind -r '\C-\M-i'; bind -r '\M-\C-i'
$ bind -P | grep menu-complete
menu-complete is not bound to any keys
$ bind '"\C-\M-i": menu-complete'
$ bind -P | grep menu-complete
menu-complete can be found on "\M-\C-i".
$
Severity
--------
I categorized this bug as "normal", as I think cosmetic errors (given
as example for "minor" by reportbug) are only optical and don't need
user interaction. This bug, however, forced me to actively work around
it by editing a file in /etc to make the key binding work again, so I
chose "normal". If this is inappropriate, please let me know why, so
that I can find the right severity category next time.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US, [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages bash depends on:
ii base-files 3.1.14 Debian base system miscellaneous f
ii debianutils 2.17 Miscellaneous utilities specific t
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libncurses5 5.5-2 Shared libraries for terminal hand
bash recommends no packages.
-- no debconf information