bug-bash  

Re: echo ^C

Greg Wooledge
Wed, 24 Feb 2010 05:30:46 -0800

On Tue, Feb 23, 2010 at 05:23:00PM -0500, Chet Ramey wrote:
> That capability (readline echoing the key that generated a signal if the
> ECHOCTL bit was set with stty) was not added until bash-4.0.  It's a
> settable variable in bash-4.1, so you may not want to rely on it.

... Ah, there it is.  In readline.

bind 'set echo-control-characters off'
echo 'set echo-control-characters off' >> ~/.inputrc