Typical scenario:
I temporarily need to access a file that my vhost prevents me from accessing. I fire up vim, edit the settings and background vim to tell apache to reload its configuration.
Problem:
If I now forget about this, my shell will tell me "There are stopped jobs", when I CTRL+D the session. However, since I have a habit of having shells in shells in shells, due to ssh, tmux and similar, I also frequently repeatedly send EOF when I wrap my work up and close my windows. This in turn causes me to accidentally kill the shell, despite the warning.
Can I make it harder to kill such shells?
:! service apache reload
instead of backgrounding vim? (Doesn't solve your question, but maybe solves your problem?) – Ulrich Schwarz Jun 13 '12 at 09:54