Mercurial > emacs
annotate src/s/bsd4-3.h @ 28747:6f90293e6ccb
(slurp_file): New function.
(xbm_image_p): Handle case of in-memory XBM files.
(xbm_scan): Rewritten to work on memory buffers instead of files.
(xbm_read_bitmap_data): Renamed from xbm_read_bitmap_file_data.
Work on memory buffers instead of files. If DATA is null test
if buffer looks like an in-memory XBM file.
(xbm_load_image): Renamed from xbm_load_image_file. Work on
memory buffers instead of files.
(xbm_file_p): New function.
(xbm_load): Accept :data DATA where DATA is an in-memory XBM file.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 27 Apr 2000 19:11:04 +0000 |
parents | e36f3a1efa2b |
children | 695cf19ef79e d7ddb3e565de |
rev | line source |
---|---|
456 | 1 /* Definitions file for GNU Emacs running on bsd 4.3 |
2 Copyright (C) 1985, 1986 Free Software Foundation, Inc. | |
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 | |
3699 | 8 the Free Software Foundation; either version 2, or (at your option) |
456 | 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 | |
14186
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
8892
diff
changeset
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
8892
diff
changeset
|
19 Boston, MA 02111-1307, USA. */ |
456 | 20 |
21 | |
22 /* | |
23 * Define symbols to identify the version of Unix this is. | |
24 * Define all the symbols that apply correctly. | |
25 */ | |
26 | |
1113 | 27 /* We give these symbols the numeric values found in <sys/param.h> to |
28 avoid warnings about redefined macros. */ | |
456 | 29 #ifndef BSD4_3 |
1113 | 30 #define BSD4_3 1 |
456 | 31 #endif /* BSD4_3 */ |
32 | |
16220
02044b05d8e0
Replaced symbol BSD with BSD_SYSTEM.
Karl Heuer <kwzh@gnu.org>
parents:
14186
diff
changeset
|
33 #ifndef BSD_SYSTEM |
02044b05d8e0
Replaced symbol BSD with BSD_SYSTEM.
Karl Heuer <kwzh@gnu.org>
parents:
14186
diff
changeset
|
34 #define BSD_SYSTEM 43 |
02044b05d8e0
Replaced symbol BSD with BSD_SYSTEM.
Karl Heuer <kwzh@gnu.org>
parents:
14186
diff
changeset
|
35 #endif /* BSD_SYSTEM */ |
456 | 36 |
37 /* SYSTEM_TYPE should indicate the kind of system you are using. | |
38 It sets the Lisp variable system-type. */ | |
39 | |
40 #define SYSTEM_TYPE "berkeley-unix" | |
41 | |
42 /* nomultiplejobs should be defined if your system's shell | |
43 does not have "job control" (the ability to stop a program, | |
44 run some other program, then continue the first one). */ | |
45 | |
46 /* #define NOMULTIPLEJOBS */ | |
47 | |
48 /* Do not use interrupt_input = 1 by default, because in 4.3 | |
49 we can make noninterrupt input work properly. */ | |
50 | |
51 #undef INTERRUPT_INPUT | |
52 | |
53 /* First pty name is /dev/ptyp0. */ | |
54 | |
55 #define FIRST_PTY_LETTER 'p' | |
56 | |
57 /* | |
58 * Define HAVE_PTYS if the system supports pty devices. | |
59 */ | |
60 | |
61 #define HAVE_PTYS | |
62 | |
63 /* Define this macro if system defines a type `union wait'. */ | |
64 | |
65 #define HAVE_UNION_WAIT | |
66 | |
67 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | |
68 | |
69 #define HAVE_SOCKETS | |
70 | |
71 /* | |
72 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | |
73 * The 4.2 opendir, etc., library functions. | |
74 */ | |
75 | |
76 /* #define NONSYSTEM_DIR_LIBRARY */ | |
77 | |
78 /* Define this symbol if your system has the functions bcopy, etc. */ | |
79 | |
80 #define BSTRING | |
81 | |
82 /* subprocesses should be defined if you want to | |
83 have code for asynchronous subprocesses | |
84 (as used in M-x compile and M-x shell). | |
85 This is generally OS dependent, and not supported | |
86 under most USG systems. */ | |
87 | |
88 #define subprocesses | |
89 | |
90 /* If your system uses COFF (Common Object File Format) then define the | |
91 preprocessor symbol "COFF". */ | |
92 | |
93 /* #define COFF */ | |
94 | |
95 /* define MAIL_USE_FLOCK if the mailer uses flock | |
96 to interlock access to /usr/spool/mail/$USER. | |
97 The alternative is that a lock file named | |
98 /usr/spool/mail/$USER.lock. */ | |
99 | |
100 #define MAIL_USE_FLOCK | |
101 | |
102 /* Define CLASH_DETECTION if you want lock files to be written | |
103 so that Emacs can tell instantly when you try to modify | |
104 a file that someone else has modified in his Emacs. */ | |
105 | |
106 #define CLASH_DETECTION | |
107 | |
108 /* The file containing the kernel's symbol table is called /vmunix. */ | |
109 | |
110 #define KERNEL_FILE "/vmunix" | |
111 | |
112 /* The symbol in the kernel where the load average is found | |
113 is named _avenrun. */ | |
114 | |
115 #define LDAV_SYMBOL "_avenrun" | |
1583
260271f9cd23
* s/bsd4-2.h, s/bsd4-3.h: #define SIGNALS_VIA_CHARACTERS.
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
116 |
260271f9cd23
* s/bsd4-2.h, s/bsd4-3.h: #define SIGNALS_VIA_CHARACTERS.
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
117 /* Send signals to subprocesses by "typing" special chars at them. */ |
260271f9cd23
* s/bsd4-2.h, s/bsd4-3.h: #define SIGNALS_VIA_CHARACTERS.
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
118 |
260271f9cd23
* s/bsd4-2.h, s/bsd4-3.h: #define SIGNALS_VIA_CHARACTERS.
Jim Blandy <jimb@redhat.com>
parents:
1113
diff
changeset
|
119 #define SIGNALS_VIA_CHARACTERS |
4485 | 120 |