Comment 0 for bug 1202760

Revision history for this message
Oleksandr Pikozh (o-pikozh) wrote :

What I do:
1. Start interactive bash (either by launching Konsole, or by pressing Ctrl+Alt+F1 and filling login/password).
2. Plug AC adapter in (if it is not plugged) OR plug it out (if it's plugged).

What happens:
Bash asks me "Display all 4354 possibilities? (y or n)".
Actually, it executes the menu-complete command, which is bound on Ctrl+` in my ~/.inputrc ("Ctrl-`: menu-complete").
Never-the-less it's quite strange for bash to accept Plugging-AC-in-or-out as "Ctrl-`".

No other software that I tested (e.g. kate) accepts Plugging-AC-in-or-out as "Ctrl-`".
Note, that it happens both in Konsole and in tty1-6.

1)
Description: Ubuntu 12.04.2 LTS
Release: 12.04
2)
bash:
  Installed: 4.2-2ubuntu2.1
  Candidate: 4.2-2ubuntu2.1
  Version table:
 *** 4.2-2ubuntu2.1 0
        500 http://mirror.mirohost.net/ubuntu/ precise-updates/main i386 Packages
        100 /var/lib/dpkg/status
     4.2-2ubuntu2 0
        500 http://mirror.mirohost.net/ubuntu/ precise/main i386 Packages
3)
I expected nothing to happen in bash when I plug in or plug out my AC adapter.
4)
Bash think that some key is pressed when I plug in or plug out my AC adapter.