Lowercase L key does not work in cygwin terminal

0

This is probably the weirdest software problem I have ever come across.

When I press L key in cygwin command line I see no reaction whatsoever. All other buttons on the keyboard work perfectly. In ALL other programs (including vi and cmd.exe, as shown on the screencast) L works.

Does anyone have ideas what could cause this? Reboot, cygwin reinstallations did not help. Reproducible in both cygwin 32 and 64 bit.

I have Windows 8 64bit.

Captured a small video describing the problem (sorry, youtube messed up the quality and the sound, as usual): http://www.youtube.com/watch?v=yjJ9FEwWVBs

Aleksei Petrenko

Posted 2014-06-15T22:00:07.673

Reputation: 215

1

I suggest asking on the cygwin mailing list http://www.cygwin.com/lists.html (email a blank message to cygwin-subscribe@cygwin.com ) that should then subscribe you and say how to email the mailing list (probably will be cygwin@cygwin.com or something) can unsubscribe when done. cygwin-unsubscribe@cygwin.com in case it's high volume.

– barlop – 2014-06-15T22:09:42.640

1out of interest is it mintty.exe or is it from the command prompt running cygwin.bat and is there a difference in whether 'l' is recognised? and can you paste an 'l' in from charmap? just things that may be worth looking into. – barlop – 2014-06-15T22:45:38.300

>

  • This is cygwin.bat, but there is no difference; 2) I cannot paste this character from anywhere else to command line; 3) RAlt+108 does not work either
  • < – Aleksei Petrenko – 2014-06-15T22:48:33.713

    1re '2' I guess you mean to cygwin command line cos cmd command line is fine – barlop – 2014-06-15T23:13:10.270

    1so if you copy the text elelelel(8 character to the clipboard) what does it paste? eeee ? – barlop – 2014-06-15T23:14:21.227

    yes, exactly :) I get eeee and this is very funny – Aleksei Petrenko – 2014-06-15T23:18:35.627

    1

    Let us continue this discussion in chat.

    – barlop – 2014-06-16T06:01:09.230

    1

    Probably your key bindings are messed up (this is as easy as this: bind -r l). A very good explanation is given by Dennis Williamson on SO.

    – mpy – 2014-06-16T20:28:15.193

    Thank you very much, Dennis! I had somehow messed up inputrc script. The solution from SO answer works perfectly. You can add an answer and I'll accept it (otherwise I'll do it myself for other people who may need help). – Aleksei Petrenko – 2014-06-16T20:44:28.730

    Answers

    1

    The problem turned out to be related to corrupted ~/.inputrc file

    bind '"l":self-insert'
    

    this is what solved the issue for me. Also look at this answer for more details.

    Aleksei Petrenko

    Posted 2014-06-15T22:00:07.673

    Reputation: 215