Your message dated Tue, 14 May 2024 16:48:45 +0200
with message-id <[email protected]>
and subject line Re: Bug#384025: bash: Binding "\M-\C-i" results in broken
binding, only "\C-\M-i" works.
has caused the Debian Bug report #384025,
regarding bash: Binding "\M-\C-i" results in broken binding, only "\C-\M-i"
works.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
384025: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=384025
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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, LC_CTYPE=de_DE@euro (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
--- End Message ---
--- Begin Message ---
Version 5.2.21-2
On Mon, 21 Aug 2006 14:26:56 +0200 Marc-Jano Knopp
<[email protected]> wrote:
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.
Hi,
this issue does not seem to affect version 5.2.21-2 of bash.
$ bind -r '\C-\M-i'; bind -r '\M-\C-i'
$ bind -P | grep menu-complete
menu-complete is not bound to any keys
menu-complete-backward is not bound to any keys
old-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".
menu-complete-backward is not bound to any keys
old-menu-complete is not bound to any keys
Please reopen this bug if you can still reproduce this issue.
Regards,
--
Gioele Barabucci
--- End Message ---