I'm setting up a Linode server, and connecting to it via SSH with PuTTY.

When I bring up a man page, and don't want to go through the whole thing, I'm used to doing a Ctrl+C on the Unix boxes I've worked with. This doesn't do anything for me in this situation, and I end up having to close the window, and reconnect.

Is there a way to enable Ctrl+C to work normally, or is there a different key sequence in Ubuntu that will implement the break?

  • Why don't you use q key to close man "environment"? Aug 19 '11 at 19:40
  • 2
    +1 good question! I had this exactely same problem had to force reboot.
    – alexyorke
    Aug 19 '11 at 20:34

You can quit man (which uses less) by pressing q.


This incessant trapping of the interrupt signal (control C) has been bothering me for many years. When I hit CTRLC in a program, it's because I want keyboard control back, and I want that control back immediately, with prejudice. There's no reason for something like 'less' to ignore control C. It's a bad design decision.

Fortunately, there's another key combination which is not (yet) being ignored by most programs: control-\. This sends an 'abort' signal which is generally not trapped that also serves to give you back control of your terminal.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.