Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In zsh when I try and press CTRL-C nothing happens (it works fine in bash) when I run bindkey | grep \\^C I get "^C" Applications so something must've happened... how do I bind ^-C to the default?

share|improve this question
    
What are you trying to do with Ctrl-c? What does stty -a show (with respect to intr and ^C (in a freshly started zsh session)? – Dennis Williamson Mar 5 '11 at 1:30
    
go to a new line in the shell, and intr = ^C; – errorhandler Mar 5 '11 at 2:09

stty sane is usually a good starting place; outside of the zsh command line editor, it's a function of the terminal driver.

share|improve this answer
    
now bindkey | grep \\^C returns nothing... – errorhandler Mar 5 '11 at 0:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .