Annotation of 43BSD/contrib/emacs/src/s-bsd4.1.h, revision 1.1

1.1     ! root        1: /* Definitions file for GNU Emacs running on bsd 4.1.
        !             2:    Support for 4.1 is not fully implemented; don't expect this to work.
        !             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 BSD4_1
        !            29: 
        !            30: #define BSD
        !            31: 
        !            32: /* SYSTEM_TYPE should indicate the kind of system you are using.
        !            33:  It sets the Lisp variable system-type.  */
        !            34: 
        !            35: #define SYSTEM_TYPE "berkeley-unix"
        !            36: 
        !            37: /* nomultiplejobs should be defined if your system's shell
        !            38:  does not have "job control" (the ability to stop a program,
        !            39:  run some other program, then continue the first one).  */
        !            40: 
        !            41: /* #define NOMULTIPLEJOBS */
        !            42: 
        !            43: /* Default is to set interrupt_input to 1: do input buffering within Emacs */
        !            44: 
        !            45: #define INTERRUPT_INPUT
        !            46: 
        !            47: /* First pty name is /dev/ptyp0.  */
        !            48: 
        !            49: #define FIRST_PTY_LETTER 'p'
        !            50:  
        !            51: /*
        !            52:  *     Define HAVE_TIMEVAL if the system supports the BSD style clock values.
        !            53:  *     Look in <sys/time.h> for a timeval structure.
        !            54:  */
        !            55: 
        !            56: #undef HAVE_TIMEVAL
        !            57:  
        !            58: /*
        !            59:  *     Define HAVE_SELECT if the system supports the `select' system call.
        !            60:  */
        !            61: 
        !            62: /* #define HAVE_SELECT */
        !            63: 
        !            64: /*
        !            65:  *     Define HAVE_PTYS if the system supports pty devices.
        !            66:  */
        !            67: 
        !            68: /* #define HAVE_PTYS */
        !            69: 
        !            70: /*
        !            71:  *     Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
        !            72:  *      The 4.2 opendir, etc., library functions.
        !            73:  */
        !            74: 
        !            75: #define NONSYSTEM_DIR_LIBRARY
        !            76: 
        !            77: /* Define this symbol if your system has the functions bcopy, etc. */
        !            78: 
        !            79: /* #define BSTRING */
        !            80: 
        !            81: /* subprocesses should be defined if you want to
        !            82:    have code for asynchronous subprocesses
        !            83:    (as used in M-x compile and M-x shell).
        !            84:    This is generally OS dependent, and not supported
        !            85:    under most USG systems. */
        !            86: 
        !            87: #define subprocesses
        !            88: 
        !            89: /* If your system uses COFF (Common Object File Format) then define the
        !            90:    preprocessor symbol "COFF". */
        !            91: 
        !            92: /* #define COFF */
        !            93: 
        !            94: /* define MAIL_USE_FLOCK if the mailer uses flock
        !            95:    to interlock access to /usr/spool/mail/$USER.
        !            96:    The alternative is that a lock file named
        !            97:    /usr/spool/mail/$USER.lock.  */
        !            98: 
        !            99: /* #define MAIL_USE_FLOCK */
        !           100: 
        !           101: /* Define CLASH_DETECTION if you want lock files to be written
        !           102:    so that Emacs can tell instantly when you try to modify
        !           103:    a file that someone else has modified in his Emacs.  */
        !           104: 
        !           105: #undef CLASH_DETECTION    /* Might work; not tried yet.  */
        !           106: 
        !           107: /* Special hacks needed to make Emacs run on this system.  */
        !           108: 
        !           109: /* Make the function `signal' act as in 4.2.  */
        !           110: 
        !           111: #define signal sigset
        !           112: 
        !           113: #define _longjmp longjmp
        !           114: #define _setjmp setjmp
        !           115: 
        !           116: #define lstat stat
        !           117: 
        !           118: /* sys_open handles the necessary 4.2 features for open.  */
        !           119: 
        !           120: #define open sys_open
        !           121: 
        !           122: /* Names of flags for open.  */
        !           123: #define O_RDONLY 0
        !           124: #define O_WRONLY 1
        !           125: #define O_RDWR 2
        !           126: #define O_EXCL 2000
        !           127: #define O_CREAT 1000

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.