Prevent logout if there's stopped jobs ...
Bob Brown - Turboweb <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.dunedin.general |
|---|---|
| Organization | Turboweb Ltd - www.turboweb.co.nz |
| Message-ID | <[email protected]> |
Hi, It drives me nuts when I have a job in the background (normally a suspended vim) and I hit Ctrl-D to log out, I'm told that I have stopped jobs but another Ctrl-D (purely out of habit) logs me out and kills those processes. Does anyone have a bright idea that would solve this? E.g. I'd like it to be able to say "You have stopped jobs - use 'exit -f' to force a logout". I use bash. This is someone else having the same problem: http://unix.stackexchange.com/questions/40678/can-i-make-there-are-stopped-jobs-harder-to-kill I don't use screen or tmux but I don't think they would solve the problem either. Cheers, - Bob - -- *Bob Brown* (about me <http://www.turboweb.co.nz/team/3/Bob-Brown-Lead-Web-Developer?ref=email>) Lead Web Developer *Turboweb Limited* Office: +64 3 474 5953 Web: www.turboweb.co.nz Twitter: twitter.com/turboweb <http://twitter.com/turboweb> Facebook: facebook.com/turboweb <http://facebook.com/turboweb> Turboweb Limited 23 Vogel St Dunedin 9016 New Zealand /Need help? Please email [email protected] <mailto:[email protected]>/ _______________________________________________ DunLUG mailing list [email protected] http://lists.ethernal.org/listinfo/dunlug DunLUG Wiki - http://dunlug.kallisti.net.nz/