|
|
1.1 ! root 1: /* Definitions file for GNU Emacs running on RTU 3.0, ucb universe. ! 2: Copyright (C) 1986 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: /* ! 23: * Define symbols to identify the version of Unix this is. ! 24: * Define all the symbols that apply correctly. ! 25: */ ! 26: ! 27: #define BSD4_2 ! 28: #define BSD ! 29: #define RTU ! 30: ! 31: /* SYSTEM_TYPE should indicate the kind of system you are using. ! 32: It sets the Lisp variable system-type. */ ! 33: ! 34: #define SYSTEM_TYPE "rtu" ! 35: ! 36: /* NOMULTIPLEJOBS should be defined if your system's shell ! 37: does not have "job control" (the ability to stop a program, ! 38: run some other program, then continue the first one). */ ! 39: ! 40: #define NOMULTIPLEJOBS ! 41: ! 42: /* Emacs can read input using SIGIO and buffering characters itself, ! 43: or using CBREAK mode and making C-g cause SIGINT. ! 44: The choice is controlled by the variable interrupt_input. ! 45: Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) ! 46: ! 47: SIGIO can be used only on systems that implement it (4.2 and 4.3). ! 48: CBREAK mode has two disadvatages ! 49: 1) At least in 4.2, it is impossible to handle the Meta key properly. ! 50: I hear that in system V this problem does not exist. ! 51: 2) Control-G causes output to be discarded. ! 52: I do not know whether this can be fixed in system V. ! 53: ! 54: Another method of doing input is planned but not implemented. ! 55: It would have Emacs fork off a separate process ! 56: to read the input and send it to the true Emacs process ! 57: through a pipe. ! 58: */ ! 59: ! 60: #undef INTERRUPT_INPUT ! 61: ! 62: /* Letter to use in finding device name of first pty, ! 63: if system supports pty's. 'a' means it is /dev/ptya0 */ ! 64: ! 65: #define FIRST_PTY_LETTER 'z' /* i.e. no PTY_LETTERs */ ! 66: ! 67: /* ! 68: * Define HAVE_TIMEVAL if the system supports the BSD style clock values. ! 69: * Look in <sys/time.h> for a timeval structure. ! 70: */ ! 71: ! 72: #define HAVE_TIMEVAL ! 73: ! 74: /* ! 75: * Define HAVE_SELECT if the system supports the `select' system call. ! 76: */ ! 77: ! 78: #define HAVE_SELECT ! 79: ! 80: /* ! 81: * Define HAVE_PTYS if the system supports pty devices. ! 82: */ ! 83: ! 84: #define HAVE_PTYS ! 85: ! 86: /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ ! 87: ! 88: #define HAVE_SOCKETS ! 89: ! 90: /* ! 91: * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate ! 92: * The 4.2 opendir, etc., library functions. ! 93: */ ! 94: ! 95: #define NONSYSTEM_DIR_LIBRARY ! 96: ! 97: /* Define this symbol if your system has the functions bcopy, etc. */ ! 98: /* The system library bcopy() is broken in RTU. For one thing, it expects ! 99: the length to be less than 64k. */ ! 100: #undef BSTRING ! 101: ! 102: /* subprocesses should be defined if you want to ! 103: have code for asynchronous subprocesses ! 104: (as used in M-x compile and M-x shell). ! 105: This is generally OS dependent, and not supported ! 106: under most USG systems. */ ! 107: ! 108: #define subprocesses ! 109: ! 110: /* If your system uses COFF (Common Object File Format) then define the ! 111: preprocessor symbol "COFF". */ ! 112: ! 113: #undef COFF ! 114: ! 115: /* define MAIL_USE_FLOCK if the mailer uses flock ! 116: to interlock access to /usr/spool/mail/$USER. ! 117: The alternative is that a lock file named ! 118: /usr/spool/mail/$USER.lock. */ ! 119: ! 120: #undef MAIL_USE_FLOCK ! 121: ! 122: /* Define CLASH_DETECTION if you want lock files to be written ! 123: so that Emacs can tell instantly when you try to modify ! 124: a file that someone else has modified in his Emacs. */ ! 125: ! 126: #undef CLASH_DETECTION ! 127: ! 128: /* We use the Berkeley (and usg5.2.2) interface to nlist. */ ! 129: ! 130: #define NLIST_STRUCT ! 131: ! 132: /* The symbol in the kernel where the load average is found ! 133: is named _avenrun. */ ! 134: ! 135: #define LDAV_SYMBOL "_avenrun" ! 136: ! 137: /* Special hacks needed to make Emacs run on this system. */ ! 138: ! 139: /* On RTU systems (like USG) the system calls are interruptable by signals ! 140: that the user program has elected to catch. Thus the system call ! 141: must be retried in these cases. To handle this without massive ! 142: changes in the source code, we remap the standard system call names ! 143: to names for our own functions in sysdep.c that do the system call ! 144: with retries. */ ! 145: ! 146: #define read sys_read ! 147: #define open sys_open ! 148: #define write sys_write ! 149: ! 150: #define INTERRUPTABLE_OPEN ! 151: #define INTERRUPTABLE_IO ! 152: ! 153: /* The "fsync" call on RTU versions 3.0 and 3.1 is badly broken! ! 154: This hack below isn't the best solution, but without it this ! 155: program will cause the whole system to hang! !@#$#%$ Masscomp! */ ! 156: ! 157: #define fsync(x) 0 /* "Comment out" fsync calls */ ! 158: ! 159: /* RTU has IPC instead of Unix-domain sockets. */ ! 160: ! 161: #define HAVE_SYSVIPC
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.