On 2012-08-28 11:05:45 +0000, Gerrit Pape wrote: > this bug log now suggests that zsh is in the same boat and the bug > possibly lies within emacs.
Well, contrary to dash, zsh is not meant to be a POSIX shell, and cannot (must not) be used as /bin/sh (zsh has a sh emulation mode, but it is not perfect, and its status is quite unclear). This is one major point. However I think that any application that uses the INTR character for its own, internal purpose should put itself in its own process group to avoid side effects. But if developers don't agree, the problem must be dealt with in the shell. Note that http://pubs.opengroup.org/onlinepubs/9699919799/functions/system.html (see "Application Usage" and "Rationale") suggests that it's up to the callers (the system() implementation and, by extension, the sh implementation) to do the necessary to ignore signals when need be. The fact that dash implements WUE instead of IUE avoids the most important problems mentioned at the above URL, though. Moreover gdb has the same problem as Emacs, though problems are less likely to appear in practice than with Emacs (an editor is much more often called by system() than gdb). > Do you still think it's a release-critical bug in dash? I think that the current status may badly affect the usual use of some applications like Emacs. The fact that there are, AFAIK, no workarounds (except by not using dash, e.g. by changing the /bin/sh symlink) makes me think that it should still be a RC bug. -- 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]

