(latexenc-find-file-coding-system): Don't inherit the EOL part of the
[emacs.git] / src / s / bsd4-1.h
blob624f7090f80bf608f57e6e2c109394f4e5c8910a
1 /* Definitions file for GNU Emacs running on bsd 4.1.
2 Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
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.
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.
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
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
23 * Define symbols to identify the version of Unix this is.
24 * Define all the symbols that apply correctly.
27 #define BSD4_1
29 #define BSD_SYSTEM
31 /* SYSTEM_TYPE should indicate the kind of system you are using.
32 It sets the Lisp variable system-type. */
34 #define SYSTEM_TYPE "berkeley-unix"
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). */
40 /* #define NOMULTIPLEJOBS */
42 /* Default is to set interrupt_input to 1: do input buffering within Emacs */
44 #define INTERRUPT_INPUT
46 /* First pty name is /dev/ptyp0. */
48 #define FIRST_PTY_LETTER 'p'
51 * Define HAVE_PTYS if the system supports pty devices.
54 /* #define HAVE_PTYS */
56 /* Define this macro if system defines a type `union wait'. */
58 #define HAVE_UNION_WAIT
60 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
62 /* #define HAVE_SOCKETS */
65 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
66 * The 4.2 opendir, etc., library functions.
69 #define NONSYSTEM_DIR_LIBRARY
71 /* Define this symbol if your system has the functions bcopy, etc. */
73 /* #define BSTRING */
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. */
81 #define subprocesses
83 /* If your system uses COFF (Common Object File Format) then define the
84 preprocessor symbol "COFF". */
86 /* #define COFF */
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. */
93 /* #define MAIL_USE_FLOCK */
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. */
99 #undef CLASH_DETECTION /* Might work; not tried yet. */
101 /* The file containing the kernel's symbol table is called /vmunix. */
103 #define KERNEL_FILE "/vmunix"
105 /* The symbol in the kernel where the load average is found
106 is named _avenrun. */
108 #define LDAV_SYMBOL "_avenrun"
110 /* Special hacks needed to make Emacs run on this system. */
112 /* Make the function `signal' act as in 4.2. */
114 #define signal sigset
116 #define _longjmp longjmp
117 #define _setjmp setjmp
119 #define lstat stat
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
128 /* Special library needed for linking for 4.1. */
129 #define LIBS_SYSTEM -ljobs
131 /* arch-tag: de56716a-ed9b-4851-a5c5-c882efaf9931
132 (do not change this comment) */