456
|
1 /* Definitions file for GNU Emacs running on RTU 3.0, ucb universe.
|
75227
|
2 Copyright (C) 1986, 1999, 2001, 2002, 2003, 2004,
|
79756
|
3 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
456
|
4
|
|
5 This file is part of GNU Emacs.
|
|
6
|
|
7 GNU Emacs is free software; you can redistribute it and/or modify
|
|
8 it under the terms of the GNU General Public License as published by
|
78259
|
9 the Free Software Foundation; either version 3, or (at your option)
|
456
|
10 any later version.
|
|
11
|
|
12 GNU Emacs is distributed in the hope that it will be useful,
|
|
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15 GNU General Public License for more details.
|
|
16
|
|
17 You should have received a copy of the GNU General Public License
|
|
18 along with GNU Emacs; see the file COPYING. If not, write to
|
64083
|
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
20 Boston, MA 02110-1301, USA. */
|
456
|
21
|
|
22
|
|
23 /*
|
|
24 * Define symbols to identify the version of Unix this is.
|
|
25 * Define all the symbols that apply correctly.
|
|
26 */
|
|
27
|
|
28 #define BSD4_2
|
16220
|
29 #define BSD_SYSTEM
|
456
|
30 #define RTU
|
|
31
|
|
32 /* SYSTEM_TYPE should indicate the kind of system you are using.
|
|
33 It sets the Lisp variable system-type. */
|
|
34
|
|
35 #define SYSTEM_TYPE "rtu"
|
|
36
|
|
37 /* NOMULTIPLEJOBS should be defined if your system's shell
|
|
38 does not have "job control" (the ability to stop a program,
|
|
39 run some other program, then continue the first one). */
|
|
40
|
|
41 #define NOMULTIPLEJOBS
|
|
42
|
|
43 /* Emacs can read input using SIGIO and buffering characters itself,
|
|
44 or using CBREAK mode and making C-g cause SIGINT.
|
|
45 The choice is controlled by the variable interrupt_input.
|
|
46 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO)
|
|
47
|
|
48 SIGIO can be used only on systems that implement it (4.2 and 4.3).
|
3591
|
49 CBREAK mode has two disadvantages
|
456
|
50 1) At least in 4.2, it is impossible to handle the Meta key properly.
|
|
51 I hear that in system V this problem does not exist.
|
|
52 2) Control-G causes output to be discarded.
|
|
53 I do not know whether this can be fixed in system V.
|
|
54
|
|
55 Another method of doing input is planned but not implemented.
|
|
56 It would have Emacs fork off a separate process
|
|
57 to read the input and send it to the true Emacs process
|
|
58 through a pipe.
|
|
59 */
|
|
60
|
|
61 #undef INTERRUPT_INPUT
|
|
62
|
|
63 /* Letter to use in finding device name of first pty,
|
|
64 if system supports pty's. 'a' means it is /dev/ptya0 */
|
|
65
|
|
66 #define FIRST_PTY_LETTER 'z' /* i.e. no PTY_LETTERs */
|
|
67
|
|
68 /*
|
|
69 * Define HAVE_PTYS if the system supports pty devices.
|
|
70 */
|
|
71
|
|
72 #define HAVE_PTYS
|
|
73
|
|
74 /* Define this macro if system defines a type `union wait'. */
|
|
75
|
|
76 #define HAVE_UNION_WAIT
|
|
77
|
|
78 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
|
|
79
|
|
80 #define HAVE_SOCKETS
|
|
81
|
|
82 /*
|
|
83 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
|
|
84 * The 4.2 opendir, etc., library functions.
|
|
85 */
|
|
86
|
|
87 #define NONSYSTEM_DIR_LIBRARY
|
|
88
|
|
89 /* Define this symbol if your system has the functions bcopy, etc. */
|
|
90 /* The system library bcopy() is broken in RTU. For one thing, it expects
|
|
91 the length to be less than 64k. */
|
|
92 #undef BSTRING
|
|
93
|
|
94 /* subprocesses should be defined if you want to
|
|
95 have code for asynchronous subprocesses
|
|
96 (as used in M-x compile and M-x shell).
|
|
97 This is generally OS dependent, and not supported
|
|
98 under most USG systems. */
|
|
99
|
|
100 #define subprocesses
|
|
101
|
|
102 /* If your system uses COFF (Common Object File Format) then define the
|
|
103 preprocessor symbol "COFF". */
|
|
104
|
|
105 #undef COFF
|
|
106
|
|
107 /* define MAIL_USE_FLOCK if the mailer uses flock
|
|
108 to interlock access to /usr/spool/mail/$USER.
|
|
109 The alternative is that a lock file named
|
|
110 /usr/spool/mail/$USER.lock. */
|
|
111
|
|
112 #undef MAIL_USE_FLOCK
|
|
113
|
|
114 /* Define CLASH_DETECTION if you want lock files to be written
|
|
115 so that Emacs can tell instantly when you try to modify
|
|
116 a file that someone else has modified in his Emacs. */
|
|
117
|
|
118 #undef CLASH_DETECTION
|
|
119
|
|
120 /* The symbol in the kernel where the load average is found
|
|
121 is named _avenrun. */
|
|
122
|
|
123 #define LDAV_SYMBOL "_avenrun"
|
|
124
|
|
125 /* Special hacks needed to make Emacs run on this system. */
|
|
126
|
|
127 /* The "fsync" call on RTU versions 3.0 and 3.1 is badly broken!
|
|
128 This hack below isn't the best solution, but without it this
|
|
129 program will cause the whole system to hang! !@#$#%$ Masscomp! */
|
|
130
|
|
131 #define fsync(x) 0 /* "Comment out" fsync calls */
|
|
132
|
|
133 /* RTU has IPC instead of Unix-domain sockets. */
|
|
134
|
|
135 #define HAVE_SYSVIPC
|
|
136
|
|
137 /* This is how to get the device name of the tty end of a pty. */
|
|
138 #define PTY_TTY_NAME_SPRINTF \
|
620
|
139 sprintf (pty_name, "/dev/ttyp%x", i);
|
456
|
140
|
|
141 /* This is how to get the device name of the control end of a pty. */
|
|
142 #define PTY_NAME_SPRINTF \
|
620
|
143 sprintf (pty_name, "/dev/pty%x", i);
|
4485
|
144
|
5966
|
145 /* Process groups work in the traditional BSD manner. */
|
|
146
|
|
147 #define BSD_PGRPS
|
52401
|
148
|
|
149 /* arch-tag: 0908970b-1cc0-4d57-b866-61b9bd029a0d
|
|
150 (do not change this comment) */
|