(terminal-composition-base-character-p): New
[bpt/emacs.git] / src / s / bsd4-1.h
1 /* Definitions file for GNU Emacs running on bsd 4.1.
2 Copyright (C) 1985, 1986, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
3 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 of the License, or
10 (at your option) 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. If not, see <http://www.gnu.org/licenses/>. */
19
20
21 /*
22 * Define symbols to identify the version of Unix this is.
23 * Define all the symbols that apply correctly.
24 */
25
26 #define BSD4_1
27
28 #define BSD_SYSTEM
29
30 /* SYSTEM_TYPE should indicate the kind of system you are using.
31 It sets the Lisp variable system-type. */
32
33 #define SYSTEM_TYPE "berkeley-unix"
34
35 /* nomultiplejobs should be defined if your system's shell
36 does not have "job control" (the ability to stop a program,
37 run some other program, then continue the first one). */
38
39 /* #define NOMULTIPLEJOBS */
40
41 /* Default is to set interrupt_input to 1: do input buffering within Emacs */
42
43 #define INTERRUPT_INPUT
44
45 /* First pty name is /dev/ptyp0. */
46
47 #define FIRST_PTY_LETTER 'p'
48
49 /*
50 * Define HAVE_PTYS if the system supports pty devices.
51 */
52
53 /* #define HAVE_PTYS */
54
55 /* Define this macro if system defines a type `union wait'. */
56
57 #define HAVE_UNION_WAIT
58
59 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
60
61 /* #define HAVE_SOCKETS */
62
63 /*
64 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
65 * The 4.2 opendir, etc., library functions.
66 */
67
68 #define NONSYSTEM_DIR_LIBRARY
69
70 /* Define this symbol if your system has the functions bcopy, etc. */
71
72 /* #define BSTRING */
73
74 /* subprocesses should be defined if you want to
75 have code for asynchronous subprocesses
76 (as used in M-x compile and M-x shell).
77 This is generally OS dependent, and not supported
78 under most USG systems. */
79
80 #define subprocesses
81
82 /* If your system uses COFF (Common Object File Format) then define the
83 preprocessor symbol "COFF". */
84
85 /* #define COFF */
86
87 /* define MAIL_USE_FLOCK if the mailer uses flock
88 to interlock access to /usr/spool/mail/$USER.
89 The alternative is that a lock file named
90 /usr/spool/mail/$USER.lock. */
91
92 /* #define MAIL_USE_FLOCK */
93
94 /* Define CLASH_DETECTION if you want lock files to be written
95 so that Emacs can tell instantly when you try to modify
96 a file that someone else has modified in his Emacs. */
97
98 #undef CLASH_DETECTION /* Might work; not tried yet. */
99
100 /* The file containing the kernel's symbol table is called /vmunix. */
101
102 #define KERNEL_FILE "/vmunix"
103
104 /* The symbol in the kernel where the load average is found
105 is named _avenrun. */
106
107 #define LDAV_SYMBOL "_avenrun"
108 \f
109 /* Special hacks needed to make Emacs run on this system. */
110
111 /* Make the function `signal' act as in 4.2. */
112
113 #define signal sigset
114
115 #define _longjmp longjmp
116 #define _setjmp setjmp
117
118 #define lstat stat
119
120 /* Names of flags for open. */
121 #define O_RDONLY 0
122 #define O_WRONLY 1
123 #define O_RDWR 2
124 #define O_EXCL 2000
125 #define O_CREAT 1000
126
127 /* Special library needed for linking for 4.1. */
128 #define LIBS_SYSTEM -ljobs
129
130 /* arch-tag: de56716a-ed9b-4851-a5c5-c882efaf9931
131 (do not change this comment) */