I'm using Centos 6, bash version 4.1.2.
In my old centos 5 box (I don't have it any longer), I could type part way through a command, and when I discovered I didn't want to run that command, I would hit ctrl-c to cancel and get a new line on the prompt.
With my new install, if I hit ctrl-c while typing up a command I actually get a '^C' inserted in the current position of the line before the command cancels and a new prompt line is available.
No big deal, but if I go back through my history its now full of commands with '^C' in them, which is something I'd like to avoid because I use my history a lot.
So, any idea how I can use ctrl-c to cancel, but not get a '^C' inserted in the line?