|
|
1.1 root 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 distributed in the hope that it will be useful,
7: but WITHOUT ANY WARRANTY. No author or distributor
8: accepts responsibility to anyone for the consequences of using it
9: or for whether it serves any particular purpose or works at all,
10: unless he says so in writing. Refer to the GNU Emacs General Public
11: License for full details.
12:
13: Everyone is granted permission to copy, modify and redistribute
14: GNU Emacs, but only under the conditions described in the
15: GNU Emacs General Public License. A copy of this license is
16: supposed to have been given to you along with GNU Emacs so you
17: can know your rights and responsibilities. It should be in a
18: file named COPYING. Among other things, the copyright notice
19: and this notice must be preserved on all copies. */
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:
50: /*
51: * Define HAVE_TIMEVAL if the system supports the BSD style clock values.
52: * Look in <sys/time.h> for a timeval structure.
53: */
54:
55: #undef HAVE_TIMEVAL
56:
57: /*
58: * Define HAVE_SELECT if the system supports the `select' system call.
59: */
60:
61: /* #define HAVE_SELECT */
62:
63: /*
64: * Define HAVE_PTYS if the system supports pty devices.
65: */
66:
67: /* #define HAVE_PTYS */
68:
69: /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
70:
71: /* #define HAVE_SOCKETS */
72:
73: /*
74: * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
75: * The 4.2 opendir, etc., library functions.
76: */
77:
78: #define NONSYSTEM_DIR_LIBRARY
79:
80: /* Define this symbol if your system has the functions bcopy, etc. */
81:
82: /* #define BSTRING */
83:
84: /* subprocesses should be defined if you want to
85: have code for asynchronous subprocesses
86: (as used in M-x compile and M-x shell).
87: This is generally OS dependent, and not supported
88: under most USG systems. */
89:
90: #define subprocesses
91:
92: /* If your system uses COFF (Common Object File Format) then define the
93: preprocessor symbol "COFF". */
94:
95: /* #define COFF */
96:
97: /* define MAIL_USE_FLOCK if the mailer uses flock
98: to interlock access to /usr/spool/mail/$USER.
99: The alternative is that a lock file named
100: /usr/spool/mail/$USER.lock. */
101:
102: /* #define MAIL_USE_FLOCK */
103:
104: /* Define CLASH_DETECTION if you want lock files to be written
105: so that Emacs can tell instantly when you try to modify
106: a file that someone else has modified in his Emacs. */
107:
108: #undef CLASH_DETECTION /* Might work; not tried yet. */
109:
110: /* We use the Berkeley (and usg5.2.2) interface to nlist. */
111:
112: #define NLIST_STRUCT
113:
114: /* The file containing the kernel's symbol table is called /vmunix. */
115:
116: #define KERNEL_FILE "/vmunix"
117:
118: /* The symbol in the kernel where the load average is found
119: is named _avenrun. */
120:
121: #define LDAV_SYMBOL "_avenrun"
122:
123: /* Special hacks needed to make Emacs run on this system. */
124:
125: /* Make the function `signal' act as in 4.2. */
126:
127: #define signal sigset
128:
129: #define _longjmp longjmp
130: #define _setjmp setjmp
131:
132: #define lstat stat
133:
134: /* sys_open handles the necessary 4.2 features for open. */
135:
136: #define open sys_open
137:
138: /* Names of flags for open. */
139: #define O_RDONLY 0
140: #define O_WRONLY 1
141: #define O_RDWR 2
142: #define O_EXCL 2000
143: #define O_CREAT 1000
144:
145: /* Special library needed for linking for 4.1. */
146: #define LIBS_SYSTEM -ljobs
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.