]> code.delx.au - gnu-emacs/blob - src/s/irix3-3.h
bb5785c611598f11c928f01f8e4bcbc260d61975
[gnu-emacs] / src / s / irix3-3.h
1 /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 3.3.
2 Copyright (C) 1987, 1990, 1999, 2001, 2002, 2003, 2004,
3 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
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
9 the Free Software Foundation; either version 3, or (at your option)
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
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
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
31 #ifndef IRIX
32 #define IRIX
33 #endif
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
101 #define MAIL_USE_FLOCK
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 \f
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
142
143 /* sioctl.h should be included where appropriate. */
144
145 #define NEED_SIOCTL
146
147 /* This affects child_setup. */
148
149 #define SETPGRP_RELEASES_CTTY
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
154
155 /* arch-tag: cccdd761-2ae9-4e71-a33e-749681c01889
156 (do not change this comment) */