aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s/dgux.h70
1 files changed, 46 insertions, 24 deletions
diff --git a/src/s/dgux.h b/src/s/dgux.h
index 747afa65d66..e35988ed70e 100644
--- a/src/s/dgux.h
+++ b/src/s/dgux.h
@@ -63,14 +63,18 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
63 It would have Emacs fork off a separate process 63 It would have Emacs fork off a separate process
64 to read the input and send it to the true Emacs process 64 to read the input and send it to the true Emacs process
65 through a pipe. 65 through a pipe.
66*/
67 66
68#define INTERRUPT_INPUT 67NOTE: On DGUX, there is a problem using INTERRUPT_INPUT: When invoked
68under X11 using a job control shell (csh, ksh) in the background,
69emacs will stop on tty output. I suspect this is a kernel problem and
70have reported it and a sample program to DGC. Meanwhile, a workaround
71is to define BROKEN_FIONREAD and not use INTERRUPT_INPUT.
69 72
70/* Letter to use in finding device name of first pty, 73-pmr@rock.concert.net
71 if system supports pty's. 'a' means it is /dev/ptya0 */ 74*/
72 75
73#define FIRST_PTY_LETTER 'p' 76#define BROKEN_FIONREAD
77/* #define INTERRUPT_INPUT */
74 78
75/* 79/*
76 * Define HAVE_TIMEVAL if the system supports the BSD style clock values. 80 * Define HAVE_TIMEVAL if the system supports the BSD style clock values.
@@ -89,7 +93,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
89 * Define HAVE_SETSID if the system supports POSIX disassociate 93 * Define HAVE_SETSID if the system supports POSIX disassociate
90 * terminal. 94 * terminal.
91 */ 95 */
96
92#define HAVE_SETSID 97#define HAVE_SETSID
98
93/* 99/*
94 * Define HAVE_SOCKETS if the system supports sockets. 100 * Define HAVE_SOCKETS if the system supports sockets.
95 */ 101 */
@@ -100,13 +106,19 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
100 * Define HAVE_UNIX_DOMAIN if the system supports Unix 106 * Define HAVE_UNIX_DOMAIN if the system supports Unix
101 * domain sockets. 107 * domain sockets.
102 */ 108 */
109
103#define HAVE_UNIX_DOMAIN 110#define HAVE_UNIX_DOMAIN
111
104/* 112/*
105 * Define HAVE_PTYS if the system supports pty devices. 113 * Define HAVE_PTYS if the system supports pty devices.
106 */ 114 */
107 115
108#define HAVE_PTYS 116#define HAVE_PTYS
109 117
118/* (Assume) we do have vfork. */
119
120#define HAVE_VFORK
121
110/* 122/*
111 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate 123 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
112 * The 4.2 opendir, etc., library functions. 124 * The 4.2 opendir, etc., library functions.
@@ -228,10 +240,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
228 240
229/* 241/*
230 * Define HAVE_TERMIOS since this is POSIX, 242 * Define HAVE_TERMIOS since this is POSIX,
231 * for terminal control. 243 * for terminal control. Prevent redundant inclusion of termio.h.
232 */ 244 */
233 245
234#define HAVE_TERMIOS 246#define HAVE_TERMIOS
247#define NO_TERMIO
235 248
236/* 249/*
237 * Use a Berkeley style sys/wait.h. 250 * Use a Berkeley style sys/wait.h.
@@ -285,9 +298,8 @@ CC=gcc
285#endif /* not THIS_IS_YMAKEFILE */ 298#endif /* not THIS_IS_YMAKEFILE */
286 299
287#define LD_SWITCH_SYSTEM 300#define LD_SWITCH_SYSTEM
288/* Cannot depend on /lib/crt0.o because make does not understand an elink(1) */
289#define START_FILES pre-crt0.o 301#define START_FILES pre-crt0.o
290#define LIBS_SYSTEM -ldgc /lib/crt0.o 302#define LIBS_SYSTEM -ldgc
291#define LIB_GCC /usr/lib/gcc/libgcc.a 303#define LIB_GCC /usr/lib/gcc/libgcc.a
292 304
293#ifdef _M88KBCS_TARGET 305#ifdef _M88KBCS_TARGET
@@ -299,41 +311,51 @@ CC=gcc
299 311
300/* definitions for xmakefile production */ 312/* definitions for xmakefile production */
301#ifdef COFF 313#ifdef COFF
302 314
315/* Define the following to use all of the available pty's. */
316
317#define PTY_ITERATION \
318 for (c = 'p'; c < 't'; c++) \
319 for (i = 0; (((c == 'p') && (i < 64)) || ((c != 'p') && (i < 16))); i++)
320
321#define PTY_NAME_SPRINTF \
322 if (c == 'p') \
323 sprintf (pty_name, "/dev/pty%c%d", c, i); \
324 else \
325 sprintf (pty_name, "/dev/pty%c%x", c, i);
326
327#define PTY_TTY_NAME_SPRINTF \
328 if (c == 'p') \
329 sprintf (pty_name, "/dev/tty%c%d", c, i); \
330 else \
331 sprintf (pty_name, "/dev/tty%c%x", c, i);
332
303#define C_COMPILER \ 333#define C_COMPILER \
304 TARGET_BINARY_INTERFACE=m88kdguxcoff gcc -traditional 334 TARGET_BINARY_INTERFACE=m88kdguxcoff gcc -traditional
305 335
306#define LINKER \ 336#define LINKER \
307 TARGET_BINARY_INTERFACE=m88kdguxcoff gcc -nostdlib 337 TARGET_BINARY_INTERFACE=m88kdguxcoff gcc
308 338
309#define MAKE_COMMAND \ 339#define MAKE_COMMAND \
310 TARGET_BINARY_INTERFACE=m88kdguxcoff make 340 TARGET_BINARY_INTERFACE=m88kdguxcoff make
311 341
312#define C_DEBUG_SWITCH 342#define C_DEBUG_SWITCH -g
343
313#else /* not COFF */ 344#else /* not COFF */
314 345
315#define C_COMPILER \ 346#define C_COMPILER \
316 TARGET_BINARY_INTERFACE=m88kdguxelf gcc -traditional 347 TARGET_BINARY_INTERFACE=m88kdguxelf gcc -traditional
317 348
318#define LINKER \ 349#define LINKER \
319 TARGET_BINARY_INTERFACE=m88kdguxelf gcc -nostdlib 350 TARGET_BINARY_INTERFACE=m88kdguxelf gcc
320 351
321#define MAKE_COMMAND \ 352#define MAKE_COMMAND \
322 TARGET_BINARY_INTERFACE=m88kdguxelf make 353 TARGET_BINARY_INTERFACE=m88kdguxelf make
323 354
324#define C_DEBUG_SWITCH -g -V2 -mversion-03.00 -mstandard 355#define C_DEBUG_SWITCH -g -V2 -mversion-03.00 -mstandard
325#endif /* COFF */ 356#endif /* COFF */
326/* Define switches affecting x/ymakefile */
327#define C_OPTIMIZE_SWITCH
328 357
329/* Paul M Reilly <pmr@rock.concert.net> writes: 358/* Extra stuff which probably should be someplace else but is here out
330 On some systems (DGUX comes to mind real fast) FASYNC causes 359 of expediency. */
331 background writes to the terminal to stop all processes in the
332 process group when invoked under the csh (and probably any shell
333 with job control). This stops Emacs dead in its tracks when coming
334 up under X11. */
335#define BROKEN_FASYNC
336 360
337/* (Assume) we do have vfork. */ 361#define LIB_X11_LIB -lX11
338
339#define HAVE_VFORK