Ubuntu – Ctrl-C behavior in gnome-terminal

charactersgnomegnome-terminalshellubuntu-10.04

I have installed Ubuntu 10.04. It works fine, but when I press Ctrl-C in gnome-terminal I get:

user@desktop:~$ ^C
user@desktop:~$ ^C
user@desktop:~$

In Ubuntu 9.04 (I did have it before) it was so:

user@desktop:~$ 
user@desktop:~$ 
user@desktop:~$

Who knows how can I fix this?

Best Answer

  • Give this a try, it will affect other control characters, too:

    stty -echoctl