Mercurial > hg > xemacs-beta
annotate src/s/bsd4-1.h @ 593:5fd7ba8b56e7
[xemacs-hg @ 2001-05-31 12:45:27 by ben]
xemacs-faq.texi: Major rewrite.
Update all MS Windows info to current.
Redo section 6.1 almost completely.
Incorporate sections 1 and 2 of Hrvoje's FAQ.
etags.el: Fix infloop when going up to the root.
s\cygwin32.h: Don't unilaterally include ntplay, but only when we're compiling
with native sound (look in configure now).
event-msw.c: Fix yet more problems with C-g handling.
Implement debug-mswindows-events.
event-stream.c, events.h, signal.c, sysdep.h:
Rearrange the signal-handling code to eliminate the former
spaghetti logic paths in it. Document clearly what
"low-level" and "high-level" timeouts are. Rename some
functions with unclear names (e.g. "...alarm...") to names
that reflect what they actually do (e.g. "...async_timeout...").
Fix numerous bugs discovered in the process.
console-x.h, event-Xt.c, event-msw.c, frame-x.c:
Hopefully make XEmacs properly maintain the "iconified"
state on frames at all times. This should fix the "can't
delete a frame with C-x 5 0 when there's another iconified
frame out there" bug.
Put a notice in of further changes that should probably
be made to clean up the frame-visibility support.
(especially directed at Jan Vroonhof)
lisp.h, miscplay.c:
Rename SBufbyte to CBufbyte to avoid a misleading name.
Eliminate UChar, which is not used anywhere and contributes
no semantic info. Add a comment about the documentation-only
properties of the char/unsigned char typedefs. Add
SChar_Binary as an explicitly `signed' version of Char_Binary
and put back the `signed' declarations in miscplay.c.
alloc.c:
Use char typedefs.
console-msw.c, device-msw.c, dialog-msw.c, editfns.c, fileio.c, glyphs-eimage.c, menubar-msw.c, ntplay.c, objects-msw.c, realpath.c, redisplay-msw.c, select-msw.c, syswindows.h, win32.c:
Eliminate numerous C++ errors.
frame-msw.c:
Eliminate numerous C++ errors and Mule-ize.
glyphs-msw.c:
Eliminate numerous C++ errors and use char typedefs.
configure.in:
Fix problems detecting both native and Linux sound on Cygwin
when compiled with --with-msw=no.
Rearrange file-coding handling a bit to avoid warning when
compiling with Mule.
configure.in, configure.usage, INSTALL:
Document XEMACS_CC and corresponding compiler option --xemacs-compiler.
Explain how to build xemacs using a C++ compiler.
author | ben |
---|---|
date | Thu, 31 May 2001 12:45:41 +0000 |
parents | c69610198c35 |
children | 023b83f4e54b |
rev | line source |
---|---|
428 | 1 /* Definitions file for GNU Emacs running on bsd 4.1. |
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 | |
8 the Free Software Foundation; either version 2, or (at your option) | |
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 XEmacs; see the file COPYING. If not, write to | |
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
19 Boston, MA 02111-1307, USA. */ | |
20 | |
21 /* Synched up with: FSF 19.31. */ | |
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 | |
30 #define BSD | |
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 /* First pty name is /dev/ptyp0. */ | |
38 | |
39 #define FIRST_PTY_LETTER 'p' | |
40 | |
41 /* If your system uses COFF (Common Object File Format) then define the | |
42 preprocessor symbol "COFF". */ | |
43 | |
44 /* #define COFF */ | |
45 | |
46 /* define MAIL_USE_FLOCK if the mailer uses flock | |
47 to interlock access to /usr/spool/mail/$USER. | |
48 The alternative is that a lock file named | |
49 /usr/spool/mail/$USER.lock. */ | |
50 | |
51 /* #define MAIL_USE_FLOCK */ | |
52 | |
53 /* The file containing the kernel's symbol table is called /vmunix. */ | |
54 | |
55 #define KERNEL_FILE "/vmunix" | |
56 | |
57 /* The symbol in the kernel where the load average is found | |
58 is named _avenrun. */ | |
59 | |
60 #define LDAV_SYMBOL "_avenrun" | |
61 | |
62 /* Special hacks needed to make Emacs run on this system. */ | |
63 | |
64 #define lstat stat | |
65 | |
66 /* sys_open handles the necessary 4.2 features for open. */ | |
67 | |
68 #define ENCAPSULATE_OPEN | |
69 | |
70 /* Names of flags for open. */ | |
71 #define O_RDONLY 0 | |
72 #define O_WRONLY 1 | |
73 #define O_RDWR 2 | |
74 #define O_EXCL 2000 | |
75 #define O_CREAT 1000 | |
76 | |
77 /* Special library needed for linking for 4.1. */ | |
78 #define LIBS_SYSTEM "-ljobs" |