4

This is a bit of a strange one. I'm running Ubuntu 12.04. It's been working well but today, I ran into a hell of strange phenomenon. I can no longer type a lower-case 'c' in bash. At first I thought it was a misconfiguration for the gnome terminal but I tried both a stock xterm and directly at the console (ctrl+alt+F1) and the issue was the same.

I can type an upper-case C without any difficulty and I can type lower-case 'c' in any other terminal based program (vim, bash, less, etc.). The lower 'c' also works if I jump into plain old sh.

I looked at all the configuration files I know of and haven't found anything incriminating in there. I suspect it's not going to be that simple anyway because if I run bash with the '--norc' option from within sh, the problem remains.

I don't know what else to check. In fact, if I wanted to cause this problem on a given machine, I have no idea how it could be done. Total mystery.

gavin
  • 41
  • 2

2 Answers2

7

I'd suspect some error in ~/.inputrc or /etc/inputrc. Those file are read even if you call Bash with --norc.

Florian Diesch
  • 86,013
  • 17
  • 224
  • 214
  • 1
    It was indeed my ~/.inputrc. It's contents were completion-ignore-case=on. Should have been set completion-ignore-case On – gavin Jun 21 '12 at 04:16
1

I had bind TAB:menu-complete instead of just TAB:menu-complete and until I fixed it I couldn't type lowercase b!

whatIsLife
  • 11
  • 2