Imported from the Apple Support Forums via the Wayback Machine 🔗
I can't get ctrl-C to work in Terminal. For instance, in a long "man" session, if I type ctrl-C, the terminal just beeps at me. It seems like the only way I can get out is with ctrl-Z, which leaves me with a stopped process. I've check Terminal's preferences and don't seem to find anything that affects this. What's going on? (BTW, as far as I know, I'm using the default bash.)
Imported from the Apple Support Forums via the Wayback Machine 🔗
drum365 wrote:
I can't get ctrl-C to work in Terminal. For instance, in a long "man" session, if I type ctrl-C, the terminal just beeps at me.
You quit man with q
The colon is the give-away.
Message was edited by: nerowolfe
0
glsmith·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Does ctrl-c never work?
When you view a man page from the command line, you're really running the "less" command. This command will trap a ctrl-c and not kill the program. You quit out of "less" (or a man page) by typing the "q" key.
Try this to see if ctrl-c works:
$ cat >/dev/null
ctrl-c
This should break you out of the "cat" command...
Message was edited by: glsmith
0
nerowolfe·
Imported from the Apple Support Forums via the Wayback Machine 🔗
drum365 wrote:
I can't get ctrl-C to work in Terminal. For instance, in a long "man" session, if I type ctrl-C, the terminal just beeps at me.
You quit man with q
The colon is the give-away.
Message was edited by: nerowolfe
0
drum365·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Thank you both! Of course, the colon was the giveaway. But I had a web page right in front of me that said press ctrl-C any time to exit man. Duh!