(Fdefvar): Doc fix.
[emacs.git] / src / s / ptx4.h
blob2505a5dfa032e9f250304dc9115bbc978d31ff4a
1 /* s/ file for Sequent "ptx 4", which is a modified SVR5.4. */
3 /* Tell usg5-4.h not to include filio.h. */
4 #define NO_FILIO_H
6 #include "usg5-4.h"
8 /* Marcus Daniels <marcus@sysc.pdx.edu> says that SIGINFO is defined
9 on ptx4 but it is not a signal. Prevent process.c from doing the
10 wrong thing. */
11 #define BROKEN_SIGINFO
13 /* pae@dim.com (Phil Ernhardt) says this correction to
14 the definition in usg5-4.h is needed to prevent
15 all asynchronous subprocesses from exiting right away. */
17 /* James Youngman <jay@gnu.org> found that on "DYNIX/ptx ARNIE 4.0
18 * V4.4.2 i386", the push of the ttcompat module would fail. It seems
19 * that PTX 4.4.2 doesn't have that module, so if the push fails we
20 * don't kill ourselves. While this version lacks ttcompat, it also
21 * has ptem, but the manual page for ptem indicates that it should
22 * be pushed onto the slave side before the line discipline module.
23 * See also the streampty manual page, if you're curious (and have
24 * a ptx system).
27 /* rms: I hope that older versions which do have ttcompat
28 will not get confused by the code to use ptem. */
30 #undef SETUP_SLAVE_PTY
31 #define SETUP_SLAVE_PTY \
32 if (ioctl (xforkin, I_PUSH, "ptem") == -1 && errno != EINVAL) \
33 fatal ("ioctl I_PUSH ptem", errno); \
34 if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \
35 fatal ("ioctl I_PUSH ldterm", errno); \
36 if (ioctl (xforkin, I_PUSH, "ttcompat") == -1 && errno != EINVAL) \
37 fatal ("ioctl I_PUSH ttcompat", errno);