annotate src/s/vms.h @ 48:56c54cf7c5b6 r19-16b90

Import from CVS: tag r19-16b90
author cvs
date Mon, 13 Aug 2007 08:56:04 +0200
parents 376386a54a3c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 /* system description header for VMS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 Copyright (C) 1986 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 This file is part of GNU Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 along with XEmacs; see the file COPYING. If not, write to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 Boston, MA 02111-1307, USA. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 /* Synched up with: FSF 19.31. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 * Define symbols to identify the version of Unix this is.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 * Define all the symbols that apply correctly.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 #ifndef VMS /* Decus cpp doesn't define this but VAX C does */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 #define VMS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 #endif /* VMS */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 /* Note that this file is used indirectly via vms4-0.h, or some other
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 such file. These other files define a symbol VMS4_0, VMS4_2, etc. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 /* SYSTEM_TYPE should indicate the kind of system you are using.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 It sets the Lisp variable system-type. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 #define SYSTEM_TYPE "vax-vms"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 /* Letter to use in finding device name of first pty,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 if system supports pty's. 'a' means it is /dev/ptya0 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 #define FIRST_PTY_LETTER 'a'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 * Define HAVE_PTYS if the system supports pty devices.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 /* #define HAVE_PTYS */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 /*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 * The 4.2 opendir, etc., library functions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 * (This is autoconfed, but configure probably doesn't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 * work on this system.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 #define NONSYSTEM_DIR_LIBRARY
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 /* If your system uses COFF (Common Object File Format) then define the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 preprocessor symbol "COFF". */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 /* #define COFF */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 /* define MAIL_USE_FLOCK if the mailer uses flock
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 to interlock access to /usr/spool/mail/$USER.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 The alternative is that a lock file named
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 /usr/spool/mail/$USER.lock. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 /* #define MAIL_USE_FLOCK */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 /* Define the maximum record length for print strings, if needed. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 #define MAX_PRINT_CHARS 300
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 /* Here, on a separate page, add any special hacks needed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 to make Emacs work on this system. For example,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 you might define certain system call names that don't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 exist on your system, or that do different things on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 your system and must be used only through an encapsulation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 (Which you should place, by convention, in sysdep.c). */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 /* Do you have the sharable library bug? If you link with a sharable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 library that contains psects with the NOSHR attribute and also refer to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 those psects in your program, the linker give you a private version of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 the psect which is not related to the version used by the sharable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 library. The end result is that your references to variables in that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 psect have absolutely nothing to do with library references to what is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 supposed to be the same variable. If you intend to link with the standard
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 C library (NOT the sharable one) you don't need to define this. (This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 is NOT fixed in V4.4...) */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 #define SHARABLE_LIB_BUG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 /* Partially due to the above mentioned bug and also so that we don't need
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 to require that people have a sharable C library, the default for Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 is to link with the non-shared library. If you want to link with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 shared library, define this and remake xmakefile and fileio.c. This allows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 us to ship a guaranteed executable image. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 #define LINK_CRTL_SHARE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 /* Define this if you want to read the file SYS$SYSTEM:SYSUAF.DAT for user
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 information. If you do use this, you must either make SYSUAF.DAT world
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 readable or install Emacs with SYSPRV. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 /* #define READ_SYSUAF */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 /* On VMS these have a different name */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 #define unlink delete
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 #ifndef _GNUC_
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 extern double mth$dmod(double, double);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 #define drem mth$dmod
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 /* Some time routines are missing in the VAX C RTL, or needs some
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 extra bit of code */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 #define tzset sys_tzset
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 #define localtime sys_localtime
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 #define gmtime sys_gmtime
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 /* On later versions of VMS these exist in the C run time library, but
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 we are using our own implementations. Hide their names to avoid
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 linker errors */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 #define rename sys_rename
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 #define execvp sys_execvp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 #define system sys_system
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 #ifndef GNU_MALLOC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 /* Hide these names so that we don't get linker errors */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 #define malloc sys_malloc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 #define free sys_free
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 #define realloc sys_realloc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 #define calloc sys_calloc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 /* Don't use the standard brk and sbrk */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 #define sbrk sys_sbrk
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 #define brk sys_brk
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 /* On VMS we want to avoid reading and writing very large amounts of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 data at once, so we redefine read and write here. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 #define ENCAPSULATE_READ
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 #define ENCAPSULATE_WRITE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 /* sys_creat just calls the real creat with additional args of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 "rfm=var", "rat=cr" to get "normal" VMS files... */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 #define ENCAPSULATE_CREAT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 /* fwrite forces an RMS PUT on every call. This is abysmally slow, so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 we emulate fwrite with fputc, which forces buffering and is much
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 faster! */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 #define ENCAPSULATE_FWRITE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 /* getuid only returns the member number, which is not unique on most VMS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 systems. We emulate it with (getgid()<<16 | getuid()). */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 #define getuid sys_getuid
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 /* If user asks for TERM, check first for EMACS_TERM. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 #define getenv sys_getenv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 /* Standard C abort is less useful than it should be. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 #define abort sys_abort
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 /* Case conflicts with C library fread. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 #define Fread F_read
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 /* Case conflicts with C library srandom. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 #define Srandom S_random
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 /* variable length too long... maybe */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 #if 0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 #define do_line_insertion_deletion_costs do_line_insertion_deletion_cost
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 /* Cause initialization of vmsfns.c to be run. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 #define SYMS_SYSTEM syms_of_vmsfns ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 /* VAXCRTL access doesn't deal with SYSPRV very well (among other oddities...)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 Here, we use $CHKPRO to really determine access. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 #define ENCAPSULATE_ACCESS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 #define PAGESIZE 512
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 #define _longjmp longjmp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 #define _setjmp setjmp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 globalref char sdata[];
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 #define DATA_START (((int) sdata + 511) & ~511)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 #define TEXT_START 512
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 /* Baud-rate values from tty status are not standard. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 #define BAUD_CONVERT \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 { 0, 50, 75, 110, 134, 150, 300, 600, 1200, 1800, \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 2000, 2400, 3600, 4800, 7200, 9600, 19200 }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 #define SYSTEM_PURESIZE_EXTRA 50000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 /* Stdio FILE type has extra indirect on VMS, so must alter this macro. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 #define PENDING_OUTPUT_COUNT(FILE) ((*(FILE))->_ptr - (*(FILE))->_base)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 #define NULL_DEVICE "NLA0:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 #define TERMCAP_NAME "emacs_library:[etc]termcap.dat"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 #define EXEC_SUFFIXES ".exe:.com"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 /* Case conflict with Xlib XFree () */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 #define xfree emacs_xfree
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 /* What separator do we use in paths? */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 #define SEPCHAR ','