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?
You can quit
man
(which usesless
) 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.