|
|
1.1 ! root 1: /* Definitions file for GNU Emacs running SCO Xenix 386 Release 2.2 ! 2: Copyright (C) 1988 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: * Define symbols to identify the version of Unix this is. ! 23: * Define all the symbols that apply correctly. ! 24: */ ! 25: ! 26: /* #define UNIPLUS */ ! 27: #define XENIX ! 28: #define USG5 ! 29: #define USG ! 30: /* #define HPUX */ ! 31: /* #define UMAX */ ! 32: /* #define BSD4_1 */ ! 33: /* #define BSD4_2 */ ! 34: /* #define BSD4_3 */ ! 35: /* #define BSD */ ! 36: /* #define VMS */ ! 37: ! 38: /* SYSTEM_TYPE should indicate the kind of system you are using. ! 39: It sets the Lisp variable system-type. */ ! 40: ! 41: #define SYSTEM_TYPE "xenix" ! 42: ! 43: /* NOMULTIPLEJOBS should be defined if your system's shell ! 44: does not have "job control" (the ability to stop a program, ! 45: run some other program, then continue the first one). */ ! 46: ! 47: #define NOMULTIPLEJOBS ! 48: ! 49: /* Emacs can read input using SIGIO and buffering characters itself, ! 50: or using CBREAK mode and making C-g cause SIGINT. ! 51: The choice is controlled by the variable interrupt_input. ! 52: Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) ! 53: ! 54: SIGIO can be used only on systems that implement it (4.2 and 4.3). ! 55: CBREAK mode has two disadvatages ! 56: 1) At least in 4.2, it is impossible to handle the Meta key properly. ! 57: I hear that in system V this problem does not exist. ! 58: 2) Control-G causes output to be discarded. ! 59: I do not know whether this can be fixed in system V. ! 60: ! 61: Another method of doing input is planned but not implemented. ! 62: It would have Emacs fork off a separate process ! 63: to read the input and send it to the true Emacs process ! 64: through a pipe. ! 65: */ ! 66: ! 67: /* #define INTERRUPT_INPUT */ ! 68: ! 69: /* Letter to use in finding device name of first pty, ! 70: if system supports pty's. 'p' means it is /dev/ptyp0 */ ! 71: ! 72: /* #define FIRST_PTY_LETTER 'p' */ ! 73: ! 74: /* ! 75: * Define HAVE_TERMIO if the system provides sysV-style ioctls ! 76: * for terminal control. ! 77: */ ! 78: ! 79: #define HAVE_TERMIO ! 80: ! 81: /* ! 82: * Define HAVE_TIMEVAL if the system supports the BSD style clock values. ! 83: * Look in <sys/time.h> for a timeval structure. ! 84: */ ! 85: ! 86: /* #define HAVE_TIMEVAL */ ! 87: ! 88: /* ! 89: * Define HAVE_SELECT if the system supports the `select' system call. ! 90: */ ! 91: ! 92: /* #define HAVE_SELECT */ ! 93: ! 94: /* ! 95: * Define HAVE_PTYS if the system supports pty devices. ! 96: */ ! 97: ! 98: /* #define HAVE_PTYS */ ! 99: ! 100: /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ ! 101: ! 102: /* #define HAVE_SOCKETS */ ! 103: ! 104: /* ! 105: * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate ! 106: * The 4.2 opendir, etc., library functions. ! 107: */ ! 108: ! 109: #define NONSYSTEM_DIR_LIBRARY ! 110: ! 111: /* Define this symbol if your system has the functions bcopy, etc. */ ! 112: ! 113: /* #define BSTRING */ ! 114: ! 115: /* subprocesses should be defined if you want to ! 116: have code for asynchronous subprocesses ! 117: (as used in M-x compile and M-x shell). ! 118: This is supposed to work now on system V release 2. */ ! 119: ! 120: #define subprocesses ! 121: ! 122: /* If your system uses COFF (Common Object File Format) then define the ! 123: preprocessor symbol "COFF". */ ! 124: ! 125: /* #define COFF */ ! 126: ! 127: /* Xenix requires completely different unexec code ! 128: which lives in a separate file. Specify the file name. */ ! 129: ! 130: #define UNEXEC unexenix.o ! 131: ! 132: /* define MAIL_USE_FLOCK if the mailer uses flock ! 133: to interlock access to /usr/spool/mail/$USER. ! 134: The alternative is that a lock file named ! 135: /usr/spool/mail/$USER.lock. */ ! 136: ! 137: #define MAIL_USE_FLOCK ! 138: ! 139: /* Define CLASH_DETECTION if you want lock files to be written ! 140: so that Emacs can tell instantly when you try to modify ! 141: a file that someone else has modified in his Emacs. */ ! 142: ! 143: /* The way this is implemented requires long filenames... */ ! 144: /* #define CLASH_DETECTION */ ! 145: ! 146: /* Define SHORTNAMES if the C compiler can distinguish only ! 147: short names. It means that the stuff in ../shortnames ! 148: must be run to convert the long names to short ones. */ ! 149: ! 150: /* #define SHORTNAMES */ ! 151: ! 152: /* We do not use the Berkeley (and usg5.2.2) interface to nlist. */ ! 153: ! 154: /* #define NLIST_STRUCT */ ! 155: ! 156: /* Compensate for one incompatibility between Xenix and V.0. */ ! 157: #define n_zeroes n_name[0] ! 158: ! 159: /* The file containing the kernel's symbol table is called /xenix. */ ! 160: ! 161: #define KERNEL_FILE "/xenix" ! 162: ! 163: /* The symbol in the kernel where the load average is found ! 164: is named avenrun. */ ! 165: ! 166: #define LDAV_SYMBOL "_avenrun" ! 167: ! 168: /* Special hacks needed to make Emacs run on this system. */ ! 169: ! 170: /* ! 171: * Make the sigsetmask function go away. Don't know what the ! 172: * ramifications of this are, but doesn't seem possible to ! 173: * emulate it properly anyway at this point. ! 174: */ ! 175: ! 176: #define sigsetmask(mask) /* Null expansion */ ! 177: ! 178: /* setjmp and longjmp can safely replace _setjmp and _longjmp, ! 179: but they will run slower. */ ! 180: ! 181: #define _setjmp setjmp ! 182: #define _longjmp longjmp ! 183: ! 184: /* On USG systems the system calls are interruptable by signals ! 185: that the user program has elected to catch. Thus the system call ! 186: must be retried in these cases. To handle this without massive ! 187: changes in the source code, we remap the standard system call names ! 188: to names for our own functions in sysdep.c that do the system call ! 189: with retries. */ ! 190: ! 191: #define read sys_read ! 192: #define open sys_open ! 193: #define write sys_write ! 194: ! 195: #define INTERRUPTABLE_OPEN ! 196: #define INTERRUPTABLE_IO ! 197: ! 198: /* On USG systems these have different names */ ! 199: ! 200: #define index strchr ! 201: #define rindex strrchr ! 202: ! 203: /* Compiler bug bites on many systems when default ADDR_CORRECT is used. */ ! 204: ! 205: #define ADDR_CORRECT(x) (x) ! 206: ! 207: /* Prevent -lg from being used for debugging. Not implemented? */ ! 208: ! 209: #define LIBS_DEBUG ! 210: ! 211: /* Switches for linking temacs. */ ! 212: ! 213: #define LD_SWITCH_SYSTEM -i ! 214: ! 215: /* Xenix implements sysV style IPC. */ ! 216: ! 217: #define HAVE_SYSVIPC ! 218: ! 219: /* Use terminfo instead of termcap. */ ! 220: ! 221: /* Tell Emacs to use Terminfo. */ ! 222: ! 223: #define TERMINFO ! 224: ! 225: /* Tell Xenix curses to BE Terminfo. */ ! 226: #define M_TERMINFO ! 227: ! 228: /* Control program name for etc/fakemail to run. */ ! 229: ! 230: #ifdef SMAIL ! 231: #define MAIL_PROGRAM_NAME "/usr/bin/smail -q0" ! 232: #else ! 233: #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail" ! 234: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.