+ Stopped (tty input) rm -r %
This message tells you that the rm -r command, which you're running in the background, needs input; it has probably asked you whether or not to delete a read-only file, or something similar.
This default behavior is usually what you want. By waiting until it prints a prompt, the shell minimizes "damage" to your screen. If you want to be notified immediately when a job changes state, you should set the variable notify :
The drawback, of course, is that you may be analyzing a screenful of
output that you've laboriously constructed, only to have that screen
"destroyed" by a lot of messages from the shell. Therefore, most
users prefer to leave