Mercurial > emacs
annotate src/s/bsd4-1.h @ 70850:b90abedf3b79
* xlwmenu.c: Include xterm.h if emacs instead of declaring functions
used.
(string_width): Declare as static.
(Start, pop_up_menu): Set is_hint to 0 before calling
handle_motion_event.
(pop_up_menu): Return value and parameters for x_catch_errors and
x_uncatch_errors changed.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Tue, 23 May 2006 07:19:45 +0000 |
parents | 3bd95f4f2941 |
children | e90d04cd455a c5406394f567 |
rev | line source |
---|---|
457 | 1 /* Definitions file for GNU Emacs running on bsd 4.1. |
64769
6358e3c6075c
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64083
diff
changeset
|
2 Copyright (C) 1985, 1986, 1999, 2002, 2003, 2004, |
68651
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64769
diff
changeset
|
3 2005, 2006 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 BSD4_1 | |
29 | |
16220
02044b05d8e0
Replaced symbol BSD with BSD_SYSTEM.
Karl Heuer <kwzh@gnu.org>
parents:
14186
diff
changeset
|
30 #define BSD_SYSTEM |
457 | 31 |
32 /* SYSTEM_TYPE should indicate the kind of system you are using. | |
33 It sets the Lisp variable system-type. */ | |
34 | |
35 #define SYSTEM_TYPE "berkeley-unix" | |
36 | |
37 /* nomultiplejobs should be defined if your system's shell | |
38 does not have "job control" (the ability to stop a program, | |
39 run some other program, then continue the first one). */ | |
40 | |
41 /* #define NOMULTIPLEJOBS */ | |
42 | |
43 /* Default is to set interrupt_input to 1: do input buffering within Emacs */ | |
44 | |
45 #define INTERRUPT_INPUT | |
46 | |
47 /* First pty name is /dev/ptyp0. */ | |
48 | |
49 #define FIRST_PTY_LETTER 'p' | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
28594
diff
changeset
|
50 |
457 | 51 /* |
52 * Define HAVE_PTYS if the system supports pty devices. | |
53 */ | |
54 | |
55 /* #define HAVE_PTYS */ | |
56 | |
57 /* Define this macro if system defines a type `union wait'. */ | |
58 | |
59 #define HAVE_UNION_WAIT | |
60 | |
61 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | |
62 | |
63 /* #define HAVE_SOCKETS */ | |
64 | |
65 /* | |
66 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | |
67 * The 4.2 opendir, etc., library functions. | |
68 */ | |
69 | |
70 #define NONSYSTEM_DIR_LIBRARY | |
71 | |
72 /* Define this symbol if your system has the functions bcopy, etc. */ | |
73 | |
74 /* #define BSTRING */ | |
75 | |
76 /* subprocesses should be defined if you want to | |
77 have code for asynchronous subprocesses | |
78 (as used in M-x compile and M-x shell). | |
79 This is generally OS dependent, and not supported | |
80 under most USG systems. */ | |
81 | |
82 #define subprocesses | |
83 | |
84 /* If your system uses COFF (Common Object File Format) then define the | |
85 preprocessor symbol "COFF". */ | |
86 | |
87 /* #define COFF */ | |
88 | |
89 /* define MAIL_USE_FLOCK if the mailer uses flock | |
90 to interlock access to /usr/spool/mail/$USER. | |
91 The alternative is that a lock file named | |
92 /usr/spool/mail/$USER.lock. */ | |
93 | |
94 /* #define MAIL_USE_FLOCK */ | |
95 | |
96 /* Define CLASH_DETECTION if you want lock files to be written | |
97 so that Emacs can tell instantly when you try to modify | |
98 a file that someone else has modified in his Emacs. */ | |
99 | |
100 #undef CLASH_DETECTION /* Might work; not tried yet. */ | |
101 | |
102 /* The file containing the kernel's symbol table is called /vmunix. */ | |
103 | |
104 #define KERNEL_FILE "/vmunix" | |
105 | |
106 /* The symbol in the kernel where the load average is found | |
107 is named _avenrun. */ | |
108 | |
109 #define LDAV_SYMBOL "_avenrun" | |
110 | |
111 /* Special hacks needed to make Emacs run on this system. */ | |
112 | |
113 /* Make the function `signal' act as in 4.2. */ | |
114 | |
115 #define signal sigset | |
116 | |
117 #define _longjmp longjmp | |
118 #define _setjmp setjmp | |
119 | |
120 #define lstat stat | |
121 | |
122 /* Names of flags for open. */ | |
123 #define O_RDONLY 0 | |
124 #define O_WRONLY 1 | |
125 #define O_RDWR 2 | |
126 #define O_EXCL 2000 | |
127 #define O_CREAT 1000 | |
128 | |
129 /* Special library needed for linking for 4.1. */ | |
130 #define LIBS_SYSTEM -ljobs | |
52401 | 131 |
132 /* arch-tag: de56716a-ed9b-4851-a5c5-c882efaf9931 | |
133 (do not change this comment) */ |