Mercurial > emacs
changeset 21145:469c3de61eb1
(SETUP_SLAVE_PTY): New definition.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 12 Mar 1998 06:59:25 +0000 |
parents | 6988880cc529 |
children | 0d20aa45f493 |
files | src/s/ptx4.h |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/s/ptx4.h Thu Mar 12 05:50:33 1998 +0000 +++ b/src/s/ptx4.h Thu Mar 12 06:59:25 1998 +0000 @@ -13,3 +13,12 @@ /* Marcus Daniels <marcus@sysc.pdx.edu> says vfork does exist. */ #define HAVE_VFORK +/* pae@dim.com (Phil Ernhardt) says this correction to + the definition in usg5-4.h is needed to prevent + all asynchronous subprocesses from exiting right away. */ +#undef SETUP_SLAVE_PTY +#define SETUP_SLAVE_PTY \ + if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \ + fatal ("ioctl I_PUSH ldterm", errno); \ + if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ + fatal ("ioctl I_PUSH ttcompat", errno);