• Jim Blandy's avatar
    Interact properly with shells lacking job control (sh, rc, es...) · 9ae8f997
    Jim Blandy authored
    	* 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.
    9ae8f997
emacs.c 22 KB