Ctrl+C won't close man pages
Solution 1:
You can quit man
(which uses less
) by pressing q.
Solution 2:
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.