Don't hang on the tty if called from a shell script.
authorKaroly Lorentey <lorentey@elte.hu>
Sun, 8 Feb 2004 15:44:33 +0000 (15:44 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Sun, 8 Feb 2004 15:44:33 +0000 (15:44 +0000)
commit4edd8a5c9030d748c33242e39ac42d4df72a8525
tree7c05f0bda4d58f71c73c5ae824a5b42c36da3a81
parentd743c8f1dbb655051f49f72c3d37484df5a2bea8
Don't hang on the tty if called from a shell script.

src/sysdep.c (narrow_foreground_group): Set the process group to
inherited_pgroup before calling EMACS_SET_TTY_PGRP.  Removed confusing
inherited_pgroup initialization (it is done in emacs.c).  (Reported by
Istvan Marko <mi-mtty at kismala dot com>.)

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-75
README.multi-tty
src/sysdep.c