Mercurial > emacs
annotate src/s/irix3-3.h @ 76248:d3c5626daefb
*** empty log message ***
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 01 Mar 2007 10:01:32 +0000 |
parents | e90d04cd455a |
children | f06998349cfc 95d0cdf160ea |
rev | line source |
---|---|
457 | 1 /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 3.3. |
75227
e90d04cd455a
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
68651
diff
changeset
|
2 Copyright (C) 1987, 1990, 1999, 2001, 2002, 2003, 2004, |
e90d04cd455a
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
68651
diff
changeset
|
3 2005, 2006, 2007 Free Software Foundation, Inc. |
457 | 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 | |
3699 | 9 the Free Software Foundation; either version 2, or (at your option) |
457 | 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. */ | |
457 | 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 USG | |
29 #define USG5 | |
30 #define IRIS | |
1491
5d0527284372
(HAVE_SETSID, IRIX): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
31 #ifndef IRIX |
5d0527284372
(HAVE_SETSID, IRIX): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
32 #define IRIX |
5d0527284372
(HAVE_SETSID, IRIX): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
33 #endif |
457 | 34 |
35 /* SYSTEM_TYPE should indicate the kind of system you are using. | |
36 It sets the Lisp variable system-type. */ | |
37 | |
38 #define SYSTEM_TYPE "irix" | |
39 | |
40 /* nomultiplejobs should be defined if your system's shell | |
41 does not have "job control" (the ability to stop a program, | |
42 run some other program, then continue the first one). */ | |
43 | |
44 /* #define NOMULTIPLEJOBS */ | |
45 | |
46 /* Default is to set interrupt_input to 0: don't do input buffering within Emacs */ | |
47 | |
48 /* #define INTERRUPT_INPUT */ | |
49 | |
50 /* Letter to use in finding device name of first pty, | |
51 if system supports pty's. 'a' means it is /dev/ptya0 */ | |
52 | |
53 #define FIRST_PTY_LETTER 'a' | |
54 | |
55 /* | |
56 * Define HAVE_TERMIO if the system provides sysV-style ioctls | |
57 * for terminal control. | |
58 */ | |
59 | |
60 #define HAVE_TERMIO | |
61 | |
62 /* | |
63 * Define HAVE_PTYS if the system supports pty devices. | |
64 */ | |
65 | |
66 #define HAVE_PTYS | |
67 | |
68 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | |
69 | |
70 #define HAVE_SOCKETS | |
71 | |
72 /* | |
73 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | |
74 * The 4.2 opendir, etc., library functions. | |
75 */ | |
76 | |
77 /* #define NONSYSTEM_DIR_LIBRARY */ | |
78 | |
79 /* Define this symbol if your system has the functions bcopy, etc. */ | |
80 | |
81 #define BSTRING | |
82 | |
83 /* subprocesses should be defined if you want to | |
84 have code for asynchronous subprocesses | |
85 (as used in M-x compile and M-x shell). | |
86 This is generally OS dependent, and not supported | |
87 under most USG systems. */ | |
88 | |
89 #define subprocesses | |
90 | |
91 /* If your system uses COFF (Common Object File Format) then define the | |
92 preprocessor symbol "COFF". */ | |
93 | |
94 /* #define COFF */ | |
95 | |
96 /* define MAIL_USE_FLOCK if the mailer uses flock | |
97 to interlock access to /usr/spool/mail/$USER. | |
98 The alternative is that a lock file named | |
99 /usr/spool/mail/$USER.lock. */ | |
100 | |
9916
3014a91ade7a
(MAIL_USE_FLOCK): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
8892
diff
changeset
|
101 #define MAIL_USE_FLOCK |
457 | 102 |
103 /* Define CLASH_DETECTION if you want lock files to be written | |
104 so that Emacs can tell instantly when you try to modify | |
105 a file that someone else has modified in his Emacs. */ | |
106 | |
107 /* #define CLASH_DETECTION */ | |
108 | |
109 /* The file containing the kernel's symbol table is called /unix. */ | |
110 | |
111 #define KERNEL_FILE "/unix" | |
112 | |
113 /* The symbol in the kernel where the load average is found | |
114 is named _avenrun. */ | |
115 | |
116 #define LDAV_SYMBOL "avenrun" | |
117 | |
118 | |
119 /* setjmp and longjmp can safely replace _setjmp and _longjmp, | |
120 but they will run slower. */ | |
121 | |
122 #define _setjmp setjmp | |
123 #define _longjmp longjmp | |
124 | |
125 /* On USG systems these have different names */ | |
126 | |
127 #define index strchr | |
128 #define rindex strrchr | |
129 | |
130 /* USG systems tend to put everything declared static | |
131 into the initialized data area, which becomes pure after dumping Emacs. | |
132 Foil this. Emacs carefully avoids static vars inside functions. */ | |
133 | |
134 /* #define static */ | |
135 | |
136 /* This is how to get the device name of the tty end of a pty. */ | |
137 #define PTY_TTY_NAME_SPRINTF \ | |
138 sprintf (ptyname, "/dev/ttyq%d", minor (stb.st_rdev)); | |
139 | |
140 | |
141 #define HAVE_SYSVIPC | |
1491
5d0527284372
(HAVE_SETSID, IRIX): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
142 |
2990
436215600247
* m/iris4d.h (NEED_SIOCTL): Move this to...
Jim Blandy <jimb@redhat.com>
parents:
2641
diff
changeset
|
143 /* sioctl.h should be included where appropriate. */ |
436215600247
* m/iris4d.h (NEED_SIOCTL): Move this to...
Jim Blandy <jimb@redhat.com>
parents:
2641
diff
changeset
|
144 |
436215600247
* m/iris4d.h (NEED_SIOCTL): Move this to...
Jim Blandy <jimb@redhat.com>
parents:
2641
diff
changeset
|
145 #define NEED_SIOCTL |
5183
d8758a4a0280
(SETPGRP_RELEASES_CTTY): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3699
diff
changeset
|
146 |
d8758a4a0280
(SETPGRP_RELEASES_CTTY): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3699
diff
changeset
|
147 /* This affects child_setup. */ |
d8758a4a0280
(SETPGRP_RELEASES_CTTY): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3699
diff
changeset
|
148 |
d8758a4a0280
(SETPGRP_RELEASES_CTTY): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3699
diff
changeset
|
149 #define SETPGRP_RELEASES_CTTY |
12670 | 150 |
151 /* This was formerly in LIBS_MACHINE in iris4d.h, | |
152 but it is not needed for newer system versions. */ | |
153 #define LIBS_SYSTEM -lsun | |
52401 | 154 |
155 /* arch-tag: cccdd761-2ae9-4e71-a33e-749681c01889 | |
156 (do not change this comment) */ |