(terminal-composition-base-character-p): New
[bpt/emacs.git] / src / s / usg5-2.h
CommitLineData
9b71f02b 1/* Definitions file for GNU Emacs running on AT&T's System V Release 2.0
4b158629
GM
2 Copyright (C) 1985, 1986, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
3 2007, 2008 Free Software Foundation, Inc.
9b71f02b
JB
4
5This file is part of GNU Emacs.
6
4b158629 7GNU Emacs is free software: you can redistribute it and/or modify
9b71f02b 8it under the terms of the GNU General Public License as published by
4b158629
GM
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
9b71f02b
JB
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
4b158629 18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
9b71f02b
JB
19
20
21/*
22 * Define symbols to identify the version of Unix this is.
23 * Define all the symbols that apply correctly.
24 */
25
26#define USG /* System III, System V, etc */
27
28#define USG5
29
30/* SYSTEM_TYPE should indicate the kind of system you are using.
31 It sets the Lisp variable system-type. */
32
33#define SYSTEM_TYPE "usg-unix-v"
34
35/* nomultiplejobs should be defined if your system's shell
36 does not have "job control" (the ability to stop a program,
37 run some other program, then continue the first one). */
38
39#define NOMULTIPLEJOBS
40
41/* Default is to set interrupt_input to 0: don't do input buffering within Emacs */
42
43/* #define INTERRUPT_INPUT */
44
45/* Letter to use in finding device name of first pty,
46 if system supports pty's. 'p' means it is /dev/ptyp0 */
47
48#define FIRST_PTY_LETTER 'p'
49
50/*
51 * Define HAVE_TERMIO if the system provides sysV-style ioctls
52 * for terminal control.
53 */
54
55#define HAVE_TERMIO
56
9b71f02b
JB
57/*
58 * Define HAVE_PTYS if the system supports pty devices.
59 */
60
61/* #define HAVE_PTYS */
62
63/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
64
65/* #define HAVE_SOCKETS */
66
67/*
68 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
69 * The 4.2 opendir, etc., library functions.
70 */
71
72#define NONSYSTEM_DIR_LIBRARY
73
74/* Define this symbol if your system has the functions bcopy, etc. */
75
76/* #define BSTRING */
77
78/* subprocesses should be defined if you want to
79 have code for asynchronous subprocesses
80 (as used in M-x compile and M-x shell).
81 This is supposed to work now on system V release 2. */
82
83#define subprocesses
84
85/* If your system uses COFF (Common Object File Format) then define the
86 preprocessor symbol "COFF". */
87
88#define COFF
89
90/* define MAIL_USE_FLOCK if the mailer uses flock
91 to interlock access to /usr/spool/mail/$USER.
92 The alternative is that a lock file named
93 /usr/spool/mail/$USER.lock. */
94
95/* #define MAIL_USE_FLOCK */
96
97/* Define CLASH_DETECTION if you want lock files to be written
98 so that Emacs can tell instantly when you try to modify
99 a file that someone else has modified in his Emacs. */
100
101/* #define CLASH_DETECTION */
102
9b71f02b
JB
103/* The file containing the kernel's symbol table is called /unix. */
104
105#define KERNEL_FILE "/unix"
106
107/* The symbol in the kernel where the load average is found
108 is named avenrun. */
109
110#define LDAV_SYMBOL "avenrun"
111\f
112/* Special hacks needed to make Emacs run on this system. */
113
114/*
115 * Make the sigsetmask function go away. Don't know what the
116 * ramifications of this are, but doesn't seem possible to
117 * emulate it properly anyway at this point.
118 */
119
120#define sigsetmask(mask) /* Null expansion */
121
122/* setjmp and longjmp can safely replace _setjmp and _longjmp,
123 but they will run slower. */
124
125#define _setjmp setjmp
126#define _longjmp longjmp
127
9b71f02b
JB
128/* On USG systems these have different names */
129
130#define index strchr
131#define rindex strrchr
132
133/* USG systems tend to put everything declared static
134 into the initialized data area, which becomes pure after dumping Emacs.
135 Foil this. Emacs carefully avoids static vars inside functions. */
136
137#define static
138
139/* Compiler bug bites on many systems when default ADDR_CORRECT is used. */
140
141#define ADDR_CORRECT(x) (x)
142
143/* Prevent -lg from being used for debugging. Not implemented? */
144
145#define LIBS_DEBUG
146
147/* Use terminfo instead of termcap. */
148
149#define TERMINFO
ab5796a9
MB
150
151/* arch-tag: cfd9500f-0284-4a88-8f07-3f56b42db13b
152 (do not change this comment) */