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