I'm not sure how it happened, but after using the upgrade manager and doing a reboot yesterday, when I hit the left arrow cursor key it outputs a hyphen character. This happens in all applications, not just bash but also eg. firefox (even while typing this post, aggravating). I am running Linux Mint 13 KDE.
I ran cat and checked all the cursor keys, and sure enough I can see the dash being generated. Here is what I get:
Up arrow - ^[[A^[[3~
Down arrow - ^[[B
Left arrow - ^[[D-
Right arrow - ^[[C^C
Note the extraneous "-" on the down arrow cursor key. For some reason, the extra characters on the Up and Right arrows don't seem to cause a problem. Can anyone suggest a place to fix this? I thought it might be in the X Window System's keyboard map, but this happens on the consoles as well. It happens whether the TERM is xterm or linux, so I am thinking it isn't a terminfo problem.
Any help appreciated. Thanks.