|
|
1.1 root 1: /* Definitions file for GNU Emacs running on HPUX release 5.0.
2: Based on AT&T System V.2.
3: Copyright (C) 1985 Richard M. Stallman.
4:
5: This file is part of GNU Emacs.
6:
7: GNU Emacs is distributed in the hope that it will be useful,
8: but WITHOUT ANY WARRANTY. No author or distributor
9: accepts responsibility to anyone for the consequences of using it
10: or for whether it serves any particular purpose or works at all,
11: unless he says so in writing. Refer to the GNU Emacs General Public
12: License for full details.
13:
14: Everyone is granted permission to copy, modify and redistribute
15: GNU Emacs, but only under the conditions described in the
16: GNU Emacs General Public License. A copy of this license is
17: supposed to have been given to you along with GNU Emacs so you
18: can know your rights and responsibilities. It should be in a
19: file named COPYING. Among other things, the copyright notice
20: and this notice must be preserved on all copies. */
21:
22:
23: /*
24: * Define symbols to identify the version of Unix this is.
25: * Define all the symbols that apply correctly.
26: */
27:
28: #define USG /* System III, System V, etc */
29:
30: #define USG5
31:
32: #define HPUX
33:
34: /* SYSTEM_TYPE should indicate the kind of system you are using.
35: It sets the Lisp variable system-type. */
36:
37: #define SYSTEM_TYPE "hpux"
38:
39: /* nomultiplejobs should be defined if your system's shell
40: does not have "job control" (the ability to stop a program,
41: run some other program, then continue the first one). */
42:
43: #define NOMULTIPLEJOBS
44:
45: /* Default is to set interrupt_input to 0: don't do input buffering within Emacs */
46:
47: /* #define INTERRUPT_INPUT */
48:
49: /* Letter to use in finding device name of first pty,
50: if system supports pty's. 'p' means it is /dev/ptym/ptyp0 */
51:
52: #define FIRST_PTY_LETTER 'p'
53:
54: /*
55: * Define HAVE_TIMEVAL if the system supports the BSD style clock values.
56: * Look in <sys/time.h> for a timeval structure.
57: */
58:
59: #define HAVE_TIMEVAL
60:
61: /*
62: * Define HAVE_SELECT if the system supports the `select' system call.
63: */
64:
65: #define HAVE_SELECT
66:
67: /*
68: * Define HAVE_PTYS if the system supports pty devices.
69: * HPUX has them, but csh and some other things work badly with them.
70: */
71:
72: #undef HAVE_PTYS
73:
74: /*
75: * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
76: * The 4.2 opendir, etc., library functions.
77: */
78:
79: /* #define NONSYSTEM_DIR_LIBRARY */
80:
81: /* Define this symbol if your system has the functions bcopy, etc. */
82:
83: /* #define BSTRING */
84:
85: /* subprocesses should be defined if you want to
86: have code for asynchronous subprocesses
87: (as used in M-x compile and M-x shell).
88: This is generally OS dependent, and not supported
89: under most USG systems. */
90:
91: #define subprocesses
92:
93: /* If your system uses COFF (Common Object File Format) then define the
94: preprocessor symbol "COFF". */
95:
96: /* #define COFF */
97:
98: /* define MAIL_USE_FLOCK if the mailer uses flock
99: to interlock access to /usr/spool/mail/$USER.
100: The alternative is that a lock file named
101: /usr/spool/mail/$USER.lock. */
102:
103: /* #define MAIL_USE_FLOCK */
104:
105: /* Define CLASH_DETECTION if you want lock files to be written
106: so that Emacs can tell instantly when you try to modify
107: a file that someone else has modified in his Emacs. */
108:
109: /* #define CLASH_DETECTION */
110:
111: /* Define SHORTNAMES if the C compiler can distinguish only
112: short names. It means that the stuff in ../shortnames
113: must be run to convert the long names to short ones.
114:
115: Some USG systems support long names.
116: If yours is one, DO NOT change this file!
117: Do #undef SHORTNAMES in the m- file or in config.h. */
118:
119: /* #define SHORTNAMES */
120:
121: /* We use the Berkeley (and usg5.2.2) interface to nlist. */
122:
123: #define NLIST_STRUCT
124:
125: /* Special hacks needed to make Emacs run on this system. */
126:
127: /* Define this to cause -N to be passed to ld. This is needed
128: in uniplus because of its funny memory space layout. */
129:
130: /* #define LOADER_N_SWITCH */
131:
132: /*
133: * Make the sigsetmask function go away. Don't know what the
134: * ramifications of this are, but doesn't seem possible to
135: * emulate it properly anyway at this point.
136: */
137:
138: /* HPUX has sigsetmask */
139: /* #define sigsetmask(mask) / * Null expansion * / */
140:
141: /* setjmp and longjmp can safely replace _setjmp and _longjmp,
142: but they will run slower. */
143:
144: /* HP-UX has _setjmp and _longjmp */
145: /*
146: #define _setjmp setjmp
147: #define _longjmp longjmp
148: */
149:
150: /* On USG systems the system calls are interruptable by signals
151: that the user program has elected to catch. Thus the system call
152: must be retried in these cases. To handle this without massive
153: changes in the source code, we remap the standard system call names
154: to names for our own functions in sysdep.c that do the system call
155: with retries. */
156:
157: #define read sys_read
158: #define open sys_open
159: #define write sys_write
160:
161: /* Use the system provided termcap(3) library */
162: #define TERMINFO
163:
164: /* On USG systems these have different names */
165:
166: #define index strchr
167: #define rindex strrchr
168:
169: /* The 48-bit versions are more winning for Emacs. */
170:
171: #define rand lrand48
172: #define srand srand48
173:
174: /* In hpux, for unknown reasons, S_IFLNK is defined
175: even though symbolic links do not exist.
176: Make sure our conditionals based on S_IFLNK are not confused.
177:
178: Here we assume that stat.h is included before config.h
179: so that we can override it here. */
180:
181: #undef S_IFLNK
182:
183: /* In hpux, the symbol SIGIO is defined, but the feature
184: does not really exist.
185:
186: Here we assume that signal.h is included before config.h
187: so that we can override it here. */
188:
189: #undef SIGIO
190:
191: /* USG systems tend to put everything declared static
192: into the initialized data area, which becomes pure after dumping Emacs.
193: Foil this. Emacs carefully avoids static vars inside functions. */
194:
195: #define static
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.