Commit | Line | Data |
---|---|---|
9b71f02b | 1 | /* Definitions file for GNU Emacs running on bsd 4.1. |
bb7b4368 | 2 | Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc. |
9b71f02b JB |
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 | |
17385adc | 8 | the Free Software Foundation; either version 2, or (at your option) |
9b71f02b JB |
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 | |
3b7ad313 EN |
18 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
19 | Boston, MA 02111-1307, USA. */ | |
9b71f02b JB |
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_1 | |
28 | ||
6df54671 | 29 | #define BSD_SYSTEM |
9b71f02b JB |
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 "berkeley-unix" | |
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 | /* Default is to set interrupt_input to 1: do input buffering within Emacs */ | |
43 | ||
44 | #define INTERRUPT_INPUT | |
45 | ||
46 | /* First pty name is /dev/ptyp0. */ | |
47 | ||
48 | #define FIRST_PTY_LETTER 'p' | |
49 | ||
9b71f02b JB |
50 | /* |
51 | * Define HAVE_PTYS if the system supports pty devices. | |
52 | */ | |
53 | ||
54 | /* #define HAVE_PTYS */ | |
55 | ||
56 | /* Define this macro if system defines a type `union wait'. */ | |
57 | ||
58 | #define HAVE_UNION_WAIT | |
59 | ||
60 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | |
61 | ||
62 | /* #define HAVE_SOCKETS */ | |
63 | ||
64 | /* | |
65 | * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | |
66 | * The 4.2 opendir, etc., library functions. | |
67 | */ | |
68 | ||
69 | #define NONSYSTEM_DIR_LIBRARY | |
70 | ||
71 | /* Define this symbol if your system has the functions bcopy, etc. */ | |
72 | ||
73 | /* #define BSTRING */ | |
74 | ||
75 | /* subprocesses should be defined if you want to | |
76 | have code for asynchronous subprocesses | |
77 | (as used in M-x compile and M-x shell). | |
78 | This is generally OS dependent, and not supported | |
79 | under most USG systems. */ | |
80 | ||
81 | #define subprocesses | |
82 | ||
83 | /* If your system uses COFF (Common Object File Format) then define the | |
84 | preprocessor symbol "COFF". */ | |
85 | ||
86 | /* #define COFF */ | |
87 | ||
88 | /* define MAIL_USE_FLOCK if the mailer uses flock | |
89 | to interlock access to /usr/spool/mail/$USER. | |
90 | The alternative is that a lock file named | |
91 | /usr/spool/mail/$USER.lock. */ | |
92 | ||
93 | /* #define MAIL_USE_FLOCK */ | |
94 | ||
95 | /* Define CLASH_DETECTION if you want lock files to be written | |
96 | so that Emacs can tell instantly when you try to modify | |
97 | a file that someone else has modified in his Emacs. */ | |
98 | ||
99 | #undef CLASH_DETECTION /* Might work; not tried yet. */ | |
100 | ||
9b71f02b JB |
101 | /* The file containing the kernel's symbol table is called /vmunix. */ |
102 | ||
103 | #define KERNEL_FILE "/vmunix" | |
104 | ||
105 | /* The symbol in the kernel where the load average is found | |
106 | is named _avenrun. */ | |
107 | ||
108 | #define LDAV_SYMBOL "_avenrun" | |
109 | \f | |
110 | /* Special hacks needed to make Emacs run on this system. */ | |
111 | ||
112 | /* Make the function `signal' act as in 4.2. */ | |
113 | ||
114 | #define signal sigset | |
115 | ||
116 | #define _longjmp longjmp | |
117 | #define _setjmp setjmp | |
118 | ||
119 | #define lstat stat | |
120 | ||
9b71f02b JB |
121 | /* Names of flags for open. */ |
122 | #define O_RDONLY 0 | |
123 | #define O_WRONLY 1 | |
124 | #define O_RDWR 2 | |
125 | #define O_EXCL 2000 | |
126 | #define O_CREAT 1000 | |
127 | ||
128 | /* Special library needed for linking for 4.1. */ | |
129 | #define LIBS_SYSTEM -ljobs |