MacOS – Why does Terminal ignore capital “B”

bashitermmacosterminal

this happens to me from time to time: when I am using the Terminal, suddenly the terminal starting to ignore the capital 'B', regular 'b' works fine, other capital letter work fine. other applications in the system (browser, mail, etc) have not problems.

I tried to:

  • restart the Terminal application
  • switch to iTerm
  • switch to guest user and open Terminal there
  • Write a word in other window and Copy/Paste into terminal

all the above failed. next is restarting my machine.

Best Answer

Ok, The solution was not simple. but I found it in http://www.softpanorama.org/Scripting/Shellorama/inputrc.shtml.

When I ran bind -p i've noticed that I have a line like this per each char:

"A": self-insert

but not for "B". so I've ran:

bind -p > ~/.inputrc

then I've edited the file and added the letter.

Great Success.