bsd-common.h 2.94 KB
Newer Older
Jim Blandy's avatar
Jim Blandy committed
1
/* Definitions file for GNU Emacs running on bsd 4.3
2 3 4

Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
  2008, 2009, 2010  Free Software Foundation, Inc.
Jim Blandy's avatar
Jim Blandy committed
5 6 7

This file is part of GNU Emacs.

8
GNU Emacs is free software: you can redistribute it and/or modify
Jim Blandy's avatar
Jim Blandy committed
9
it under the terms of the GNU General Public License as published by
10 11
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Jim Blandy's avatar
Jim Blandy committed
12 13 14 15 16 17 18

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
19
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
Jim Blandy's avatar
Jim Blandy committed
20 21


22 23
/*      Define symbols to identify the version of Unix this is.
 *	Define all the symbols that apply correctly.   */
Jim Blandy's avatar
Jim Blandy committed
24

Jim Blandy's avatar
Jim Blandy committed
25 26
/* We give these symbols the numeric values found in <sys/param.h> to
   avoid warnings about redefined macros.  */
Jim Blandy's avatar
Jim Blandy committed
27
#ifndef BSD4_3
Jim Blandy's avatar
Jim Blandy committed
28
#define BSD4_3 1
Jim Blandy's avatar
Jim Blandy committed
29 30
#endif /* BSD4_3 */

31 32 33
#ifndef BSD_SYSTEM
#define BSD_SYSTEM 43
#endif /* BSD_SYSTEM */
Jim Blandy's avatar
Jim Blandy committed
34

35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
/* For mem-limits.h.  */
#define BSD4_2

#define TABDLY OXTABS
#define TAB3 OXTABS

/* These aren't needed, since we have getloadavg.  */
#undef KERNEL_FILE
#undef LDAV_SYMBOL

#define HAVE_TERMIOS
#define NO_TERMIO

#define SYSV_SYSTEM_DIR

#define UNEXEC unexelf.o

/* If the system's imake configuration file defines `NeedWidePrototypes'
   as `NO', we must define NARROWPROTO manually.  Such a define is
   generated in the Makefile generated by `xmkmf'.  If we don't
   define NARROWPROTO, we will see the wrong function prototypes
   for X functions taking float or double parameters.  */
#define NARROWPROTO 1

Jim Blandy's avatar
Jim Blandy committed
59 60 61 62 63 64 65 66 67 68 69
/* SYSTEM_TYPE should indicate the kind of system you are using.
 It sets the Lisp variable system-type.  */
#define SYSTEM_TYPE "berkeley-unix"

/* Do not use interrupt_input = 1 by default, because in 4.3
   we can make noninterrupt input work properly.  */
#undef INTERRUPT_INPUT

/* First pty name is /dev/ptyp0.  */
#define FIRST_PTY_LETTER 'p'

70
/* Define HAVE_PTYS if the system supports pty devices.  */
Jim Blandy's avatar
Jim Blandy committed
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
#define HAVE_PTYS

/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets.  */
#define HAVE_SOCKETS

/* Define this symbol if your system has the functions bcopy, etc. */
#define BSTRING

/* Define CLASH_DETECTION if you want lock files to be written
   so that Emacs can tell instantly when you try to modify
   a file that someone else has modified in his Emacs.  */
#define CLASH_DETECTION

/* The file containing the kernel's symbol table is called /vmunix.  */
#define KERNEL_FILE "/vmunix"

/* The symbol in the kernel where the load average is found
   is named _avenrun.  */
#define LDAV_SYMBOL "_avenrun"
90 91 92

/* Send signals to subprocesses by "typing" special chars at them.  */
#define SIGNALS_VIA_CHARACTERS
Richard M. Stallman's avatar
Richard M. Stallman committed
93

Miles Bader's avatar
Miles Bader committed
94 95
/* arch-tag: 0c367245-bde3-492e-9029-3ff6898beb95
   (do not change this comment) */