Plugging the AC adapter in or out causes bash to think that some key is pressed

Bug #1202760 reported by Oleksandr Pikozh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash (Ubuntu)
New
Undecided
Unassigned

Bug Description

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 when using bash in Konsole and when using bash on 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 thinks that some key is pressed when I plug in or plug out my AC adapter.

description: updated
summary: - Plugging the ac adapter in or out causes bash to think that some key is
+ Plugging the AC adapter in or out causes bash to think that some key is
pressed
Revision history for this message
Oleksandr Pikozh (o-pikozh) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1202760/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Quinn Balazs (qbalazs) wrote :

This is just strange...

affects: ubuntu → bash (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.