Update FSF's address in the preamble.
[bpt/emacs.git] / src / s / bsd4-1.h
CommitLineData
9b71f02b
JB
1/* Definitions file for GNU Emacs running on bsd 4.1.
2 Copyright (C) 1985, 1986 Free Software Foundation, Inc.
3
4This file is part of GNU Emacs.
5
6GNU Emacs is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
17385adc 8the Free Software Foundation; either version 2, or (at your option)
9b71f02b
JB
9any later version.
10
11GNU Emacs is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU Emacs; see the file COPYING. If not, write to
3b7ad313
EN
18the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */
9b71f02b
JB
20
21
22/*
23 * Define symbols to identify the version of Unix this is.
24 * Define all the symbols that apply correctly.
25 */
26
27#define BSD4_1
28
29#define BSD
30
31/* SYSTEM_TYPE should indicate the kind of system you are using.
32 It sets the Lisp variable system-type. */
33
34#define SYSTEM_TYPE "berkeley-unix"
35
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). */
39
40/* #define NOMULTIPLEJOBS */
41
42/* Default is to set interrupt_input to 1: do input buffering within Emacs */
43
44#define INTERRUPT_INPUT
45
46/* First pty name is /dev/ptyp0. */
47
48#define FIRST_PTY_LETTER 'p'
49
9b71f02b
JB
50/*
51 * Define HAVE_PTYS if the system supports pty devices.
52 */
53
54/* #define HAVE_PTYS */
55
56/* Define this macro if system defines a type `union wait'. */
57
58#define HAVE_UNION_WAIT
59
60/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
61
62/* #define HAVE_SOCKETS */
63
64/*
65 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
66 * The 4.2 opendir, etc., library functions.
67 */
68
69#define NONSYSTEM_DIR_LIBRARY
70
71/* Define this symbol if your system has the functions bcopy, etc. */
72
73/* #define BSTRING */
74
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. */
80
81#define subprocesses
82
83/* If your system uses COFF (Common Object File Format) then define the
84 preprocessor symbol "COFF". */
85
86/* #define COFF */
87
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. */
92
93/* #define MAIL_USE_FLOCK */
94
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. */
98
99#undef CLASH_DETECTION /* Might work; not tried yet. */
100
101/* We use the Berkeley (and usg5.2.2) interface to nlist. */
102
103#define NLIST_STRUCT
104
105/* The file containing the kernel's symbol table is called /vmunix. */
106
107#define KERNEL_FILE "/vmunix"
108
109/* The symbol in the kernel where the load average is found
110 is named _avenrun. */
111
112#define LDAV_SYMBOL "_avenrun"
113\f
114/* Special hacks needed to make Emacs run on this system. */
115
116/* Make the function `signal' act as in 4.2. */
117
118#define signal sigset
119
120#define _longjmp longjmp
121#define _setjmp setjmp
122
123#define lstat stat
124
125/* sys_open handles the necessary 4.2 features for open. */
126
127#define open sys_open
128
129/* Names of flags for open. */
130#define O_RDONLY 0
131#define O_WRONLY 1
132#define O_RDWR 2
133#define O_EXCL 2000
134#define O_CREAT 1000
135
136/* Special library needed for linking for 4.1. */
137#define LIBS_SYSTEM -ljobs