1 /* Synched up with: FSF 19.31. */
18 #define SYSTEM_TYPE "irix"
20 #ifdef SETUP_SLAVE_PTY
21 #undef SETUP_SLAVE_PTY
24 /* No need to use sprintf to get the tty name--we get that from _getpty. */
25 #ifdef PTY_TTY_NAME_SPRINTF
26 #undef PTY_TTY_NAME_SPRINTF
28 #define PTY_TTY_NAME_SPRINTF
29 /* No need to get the pty name at all. */
30 #ifdef PTY_NAME_SPRINTF
31 #undef PTY_NAME_SPRINTF
33 #define PTY_NAME_SPRINTF
37 /* We need only try once to open a pty. */
39 /* Here is how to do it. */
40 /* It is necessary to prevent SIGCHLD signals within _getpty.
46 EMACS_BLOCK_SIGCHLD; \
47 name = _getpty (&fd, O_RDWR | O_NDELAY, 0600, 0); \
48 EMACS_UNBLOCK_SIGCHLD; \
53 if (fstat (fd, &stb) < 0) \
55 strcpy (pty_name, name); \
58 /* jpff@maths.bath.ac.uk reports `struct exception' is not defined
59 on this system, so inhibit use of matherr. */
62 /* Ulimit(UL_GMEMLIM) is busted... */
63 #define ULIMIT_BREAK_VALUE 0x14000000
65 /* Tell process_send_signal to use VSUSP instead of VSWTCH. */
68 /* define MAIL_USE_FLOCK if the mailer uses flock
69 to interlock access to /usr/spool/mail/$USER.
70 The alternative is that a lock file named
71 /usr/spool/mail/$USER.lock. */
73 #define MAIL_USE_FLOCK
76 /* XEmacs change -- use ANSI, not K&R */
78 #define C_SWITCH_SYSTEM "-xansi"
81 /* jackr@engr.sgi.com says that you can't mix different kinds of
82 signal-handling functions under IRIX 5.3. I'm going to assume
83 that that was the reason this got broken. Now that the
84 signal routines are fixed up, maybe this will work. --ben */
85 /* Nope, it doesn't. I've tried lots of things; it must be
87 /* XEmacs addition: People on IRIX 5.2 and IRIX 5.3 systems have
88 reported that they can't break out of (while t) using C-g or C-G.
89 This does not occur on other systems, so let's assume that SIGIO
90 is broken on these systems. */