Interact properly with shells lacking job control (sh, rc, es...)
authorJim Blandy <jimb@redhat.com>
Fri, 11 Jun 1993 16:22:03 +0000 (16:22 +0000)
committerJim Blandy <jimb@redhat.com>
Fri, 11 Jun 1993 16:22:03 +0000 (16:22 +0000)
commit9ae8f99795aca3345dec8e258d126f571ac118c3
treeb3ef7db4f8bf30161365c91f082a92dccfa34162
parent9b37b1c26c4f4aa46aece198382e24b40ec4cc82
Interact properly with shells lacking job control (sh, rc, es...)
* sysdep.c [BSD] (inherited_pgroup): New variable.
(narrow_foreground_group, widen_foreground_group): New functions.
(init_sys_modes): Call narrow_foreground_group.
(reset_sys_modes): Call widen_foreground_group.
* emacs.c [BSD] (inherited_pgroup): Add extern declaration.
[BSD] (main): Set inherited_pgroup, and put ourselves in our own
pgroup.
src/emacs.c
src/sysdep.c