|
|
1.1 ! root 1: /* Definitions file for GNU Emacs running on UniSoft's UniPlus 5.0 ! 2: Support for this system is not finished; don't expect this to work. ! 3: Copyright (C) 1985, 1986 Free Software Foundation, Inc. ! 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 UNIPLUS ! 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 "unisoft-unix" ! 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. 'a' means it is /dev/ptya0 */ ! 51: ! 52: /* #define FIRST_PTY_LETTER 'a' */ ! 53: ! 54: /* ! 55: * Define HAVE_TERMIO if the system provides sysV-style ioctls ! 56: * for terminal control. ! 57: */ ! 58: ! 59: #define HAVE_TERMIO ! 60: ! 61: /* ! 62: * Define HAVE_TIMEVAL if the system supports the BSD style clock values. ! 63: * Look in <sys/time.h> for a timeval structure. ! 64: */ ! 65: ! 66: /* #define HAVE_TIMEVAL */ ! 67: ! 68: /* ! 69: * Define HAVE_SELECT if the system supports the `select' system call. ! 70: */ ! 71: ! 72: /* #define HAVE_SELECT */ ! 73: ! 74: /* ! 75: * Define HAVE_PTYS if the system supports pty devices. ! 76: */ ! 77: ! 78: /* #define HAVE_PTYS */ ! 79: ! 80: /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ ! 81: ! 82: /* #define HAVE_SOCKETS */ ! 83: ! 84: /* ! 85: * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate ! 86: * The 4.2 opendir, etc., library functions. ! 87: */ ! 88: ! 89: #define NONSYSTEM_DIR_LIBRARY ! 90: ! 91: /* Define this symbol if your system has the functions bcopy, etc. */ ! 92: ! 93: /* #define BSTRING */ ! 94: ! 95: /* subprocesses should be defined if you want to ! 96: have code for asynchronous subprocesses ! 97: (as used in M-x compile and M-x shell). ! 98: This is generally OS dependent, and not supported ! 99: under most USG systems. */ ! 100: ! 101: /* #define subprocesses */ ! 102: ! 103: /* If your system uses COFF (Common Object File Format) then define the ! 104: preprocessor symbol "COFF". */ ! 105: ! 106: /* #define COFF */ ! 107: ! 108: /* define MAIL_USE_FLOCK if the mailer uses flock ! 109: to interlock access to /usr/spool/mail/$USER. ! 110: The alternative is that a lock file named ! 111: /usr/spool/mail/$USER.lock. */ ! 112: ! 113: /* #define MAIL_USE_FLOCK */ ! 114: ! 115: /* Define CLASH_DETECTION if you want lock files to be written ! 116: so that Emacs can tell instantly when you try to modify ! 117: a file that someone else has modified in his Emacs. */ ! 118: ! 119: /* #define CLASH_DETECTION */ ! 120: ! 121: /* Define SHORTNAMES if the C compiler can distinguish only ! 122: short names. It means that the stuff in ../shortnames ! 123: must be run to convert the long names to short ones. ! 124: ! 125: Some USG systems support long names. ! 126: If yours is one, DO NOT change this file! ! 127: Do #undef SHORTNAMES in the m- file or in config.h. */ ! 128: ! 129: #define SHORTNAMES ! 130: ! 131: /* We do NOT use the Berkeley (and usg5.2.2) interface to nlist. */ ! 132: ! 133: /* #define NLIST_STRUCT */ ! 134: ! 135: /* The file containing the kernel's symbol table is called /unix. */ ! 136: ! 137: #define KERNEL_FILE "/unix" ! 138: ! 139: /* The symbol in the kernel where the load average is found ! 140: is named avenrun. */ ! 141: ! 142: #define LDAV_SYMBOL "avenrun" ! 143: ! 144: /* Special hacks needed to make Emacs run on this system. */ ! 145: ! 146: /* ! 147: * Make the sigsetmask function go away. Don't know what the ! 148: * ramifications of this are, but doesn't seem possible to ! 149: * emulate it properly anyway at this point. ! 150: */ ! 151: ! 152: #define sigsetmask(mask) /* Null expansion */ ! 153: ! 154: /* setjmp and longjmp can safely replace _setjmp and _longjmp, ! 155: but they will run slower. */ ! 156: ! 157: #define _setjmp setjmp ! 158: #define _longjmp longjmp ! 159: ! 160: /* On USG systems the system calls are interruptable by signals ! 161: that the user program has elected to catch. Thus the system call ! 162: must be retried in these cases. To handle this without massive ! 163: changes in the source code, we remap the standard system call names ! 164: to names for our own functions in sysdep.c that do the system call ! 165: with retries. */ ! 166: ! 167: #define read sys_read ! 168: #define open sys_open ! 169: #define write sys_write ! 170: ! 171: #define INTERRUPTABLE_OPEN ! 172: #define INTERRUPTABLE_IO ! 173: ! 174: /* On USG systems these have different names */ ! 175: ! 176: #define index strchr ! 177: #define rindex strrchr ! 178: ! 179: /* Compiler bug bites when default ADDR_CORRECT is used. */ ! 180: ! 181: #define ADDR_CORRECT(x) (x) ! 182: ! 183: /* Special library needed for linking for Uniplus */ ! 184: ! 185: #define LIBS_SYSTEM -lnet ! 186: ! 187: /* A system-specific loader switch is needed. */ ! 188: ! 189: #define LD_SWITCH_SYSTEM -N -L/lib/libg /usr/lib/unshared.ld
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.