Author Archive

Signalling for your process’s attention

April 13, 2011 by DMA57361. 1 comments

Recently, Eonil asked the question about keyboard combinations in Mac OS X that let him stop programs in a terminal window:

What’s different between Ctrl+Z and Ctrl+C in Unix command line?

I’m using Mac OS X Terminal. And I use Ctrl+Z or Ctrl+C to stop some programs. But I realized that I don’t know exactly what they’re doing. What are they and what’s the difference between them?

This received quite a bit of interest, and while Mark’s answer is spot-on, we thought we’d take a closer look at what signals are, what they are used for and how you (as a user) might be using them.

more »