[haiku-development] Re: Bash and Jobs
- From: "François Revol" <revol@xxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Wed, 29 Aug 2007 13:47:23 +0200 CEST
> Interestingly, when the shell is "exit"ed, jobs will only be sent a
> SIGHUP,
> if that had explicitly been specified before (via "shopt -s
> huponexit").
> That is normally all jobs will continue to enjoy their good health
> even
> after the terminal has gone.
>
> Personally I find this more than a bit inconsistent and wonder, if we
> want
> to change that behavior. Any opinions?
>
The user might think closing the window is the correct way, but to the
shell it's a horrible death, and not the correct way to exit it. It's
not the same, and those using the shell shall know that.
Also sometimes one starts a terminal to [re]start a gui app, and it's
always a shame to discover closing that terminal killed the gui app you
just started :)
Now you can always put that shopt command somewhere in /etc/profile or
bashrc or whatever.
Btw, we should upgrade to bash3 someday...
François.
- Follow-Ups:
- [haiku-development] Re: Bash and Jobs
- From: Ingo Weinhold
- References:
- [haiku-development] Bash and Jobs
- From: Ingo Weinhold
Other related posts:
- » [haiku-development] Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- » [haiku-development] Re: Bash and Jobs
- [haiku-development] Re: Bash and Jobs
- From: Ingo Weinhold
- [haiku-development] Bash and Jobs
- From: Ingo Weinhold