annotate src/s/ptx.h @ 14171:e8e99446ef2c

Comment fixes.
author Karl Heuer <kwzh@gnu.org>
date Sun, 14 Jan 1996 14:30:11 +0000
parents c3611dff7bba
children ee40177f6c68
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8969
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 /* Definitions file for GNU Emacs running on Sequent DYNIX/ptx 1.x/2.x
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 Copyright (C) 1987, 1990 Free Software Foundation, Inc.
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 This file is part of GNU Emacs.
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 any later version.
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 GNU General Public License for more details.
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 /* This file was written by Bill Burton <billb@progress.com>. Parts were
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 adapted from m-ptx1-2.h and process.c as distributed with the Emacs 18.57
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 on the Sequent Public software tape. Other parts were adapted from
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 usg5-4.h. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 /* Use the SysVr3 file for base configuration even though much is changed. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 #include "usg5-3.h"
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 /* Undo these defines because they are incorrect or need to be changed. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 #undef LIB_X11_LIB
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 #undef LIBX10_SYSTEM
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 #undef LIBX11_SYSTEM
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 #undef USG_SHARED_LIBRARIES
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 /* <sys/stat.h> *defines* stat as a static function. If "static"
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 is blank, then many files will have a public definition for stat. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 #undef static
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 /* PTX supports job control. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 #undef NOMULTIPLEJOBS
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 /* PTX has System V streams. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 #define SYSV_STREAMS
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 /* Leave out -lPW since it conflicts with term.o and because we're not sure
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 if the alloca found there by autoconf should be trusted on PTX. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 #define LIB_STANDARD -lc
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 /* Local define. If TCP/IP is not installed, comment this out. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 #define TCPIP_INSTALLED
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 #ifdef TCPIP_INSTALLED
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 #define HAVE_SOCKETS
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 #else
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 #undef subprocesses
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 #endif
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 #ifdef HAVE_X_WINDOWS
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 #define LIBX11_SYSTEM -lsocket -linet -lnsl
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 /* This is also defined so that lib-src/profile can link. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 #define LIBS_SYSTEM -lseq
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 #else /* ! HAVE_X_WINDOWS */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65 #ifdef HAVE_SOCKETS
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 #define LIBS_SYSTEM -lsocket -linet -lnsl -lseq
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 #else
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 #define LIBS_SYSTEM -lseq
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69 #endif
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 #endif /* ! HAVE_X_WINDOWS */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73 /* No <sioctl.h> */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74 #define NO_SIOCTL_H
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 /* If we have X windows, configure should find gettimeofday in -lX11.
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 Since we emulate gettimeofday below, we really have it anyway. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 #ifndef HAVE_GETTIMEOFDAY
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 #define HAVE_GETTIMEOFDAY
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 #endif
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 #ifdef emacs
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 #include <sys/stropts.h> /* Support for pty's */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84 #include <sys/conf.h>
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
85
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86 /*#undef SIGIO*/ /* SIGIO is already undef'd elsewhere. PTX
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 has SIGIO, but it's just an alias for
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88 SIGPOLL. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
90 /* Emulate gettimeofday() except for the time zone information which Emacs
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91 doesn't use anyway. Get_process_stats() is in -lseq. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 #include <sys/procstats.h>
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93 #define gettimeofday(tp, tzp) get_process_stats (tp, PS_SELF, 0, 0)
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 /* Define timezone since it's not in sys/time.h. Unfortunately, this causes
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96 trouble when building with X since this struct is defined in
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97 <X11/Xos.h>. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98 struct timezone
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99 {
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
100 int tz_minuteswest;
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101 int tz_dsttime;
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102 };
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104 /* Unfortunately, this define is not checked in all files including
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105 <X11/Xos.h> so we can't use it. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
106 /* #define XOS_NEEDS_TIME_H */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108 /* In ptx/WINDOWS, this prevents problems with the timezone struct being
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 redefined in <X11/Xos.h>. It seems the necessary include files are
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 included via systime.h so leaving them out here is not a problem. This
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111 may not work in X11R5 or X11R6. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112 #define __TIMEVAL__
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
114 #endif /* emacs */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116 /* PTX doesn't have FIONREAD at all. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117 #undef INTERRUPT_INPUT
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
118 #define BROKEN_FIONREAD
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
119
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
120 /* We can support this */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
121 #define CLASH_DETECTION
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123 /* PTX has termios */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
124 #define HAVE_TERMIOS
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
125 #undef HAVE_TERMIO
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
126 #undef BROKEN_TIOCGWINSZ
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
127 #undef BROKEN_TIOCGETC
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
128
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
129 /* It is possible to receive SIGCHLD when there are no children
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
130 waiting, because a previous waitsys cleaned up the carcass of child
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
131 without clearing the SIGCHLD pending info. So, use a non-blocking
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
132 wait3 instead, which maps to waitpid in SysVr4. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
133 /* Not sure if this is used but PTX does support waitpid. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
134 /*#define HAVE_WAIT_HEADER*/
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
135 /*#define WAITTYPE int*/
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
136 #define wait3(status, options, rusage) \
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
137 waitpid ((pid_t) -1, (status), (options))
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
138 /*#define WRETCODE(w) (w >> 8)*/
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
139
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
140 /* PTX has pty's but not like System V */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
141 #define HAVE_PTYS
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
142 #undef SYSV_PTYS
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
143
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
144 /* Provide pty support which is defined into process.c:allocate_pty.
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
145 Basic ideas for handling getpseudotty were lifted from process.c in
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
146 Emacs 18.57 included on the Sequent Public Software tape. However, this
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
147 implementation bears almost no resemblance to the original and does not
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
148 require that process.c be patched. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
149 #define PTY_ITERATION \
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
150 char *mastername, *slavename; \
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
151 while (1)
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
152
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
153 #define PTY_OPEN \
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
154 if (failed_count++ >= 5) break; \
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
155 if ((fd = getpseudotty (&slavename, &mastername)) < 0) { \
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
156 error("Out of ptys."); \
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
157 continue; \
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
158 } \
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
159 strcpy (pty_name, slavename);
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
160
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
161 /* Define these to prevent the default logic in process.c:allocate_pty
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
162 from being used. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
163 #define PTY_NAME_SPRINTF
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
164 #define PTY_TTY_NAME_SPRINTF
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
165
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
166 /* PTX doesn't seem to have memmove. */
d62a9fd47cb2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
167 #define MEMMOVE_MISSING