On 2012-02-20 14:37:51 +0100, Axel Beckert wrote: > Hi, > > just some _opinion_ on this issue. > > Vincent Lefevre wrote: > > With zsh, the whole function is suspended. > > That's actually what I would expect from any shell function I call > from the commandline. Everything else causes undetermined behaviour > and is annoying. (Or said otherwise: Yet another reason to use zsh. > It's a feature, not a bug! :-)
Well, suspending the whole function also causes undetermined behavior in case it is intended to modify the shell environment. I think there are two possibilities that avoid such a problem: 1. Suspend the whole shell. 2. Ignore the TSTP signal (temporarily or completely). Possibly, when receiving a TSTP signal, if interactive, zsh could give the choice between several behaviors. -- Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

