Annotation of 43BSD/contrib/emacs/src/s-unipl5.0.h, revision 1.1.1.1

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 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 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_TIMEVAL if the system supports the BSD style clock values.
                     56:  *     Look in <sys/time.h> for a timeval structure.
                     57:  */
                     58: 
                     59: /* #define HAVE_TIMEVAL */
                     60:  
                     61: /*
                     62:  *     Define HAVE_SELECT if the system supports the `select' system call.
                     63:  */
                     64: 
                     65: /* #define HAVE_SELECT */
                     66: 
                     67: /*
                     68:  *     Define HAVE_PTYS if the system supports pty devices.
                     69:  */
                     70: 
                     71: /* #define HAVE_PTYS */
                     72: 
                     73: /*
                     74:  *     Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
                     75:  *      The 4.2 opendir, etc., library functions.
                     76:  */
                     77: 
                     78: #define NONSYSTEM_DIR_LIBRARY
                     79: 
                     80: /* Define this symbol if your system has the functions bcopy, etc. */
                     81: 
                     82: /* #define BSTRING */
                     83: 
                     84: /* subprocesses should be defined if you want to
                     85:    have code for asynchronous subprocesses
                     86:    (as used in M-x compile and M-x shell).
                     87:    This is generally OS dependent, and not supported
                     88:    under most USG systems. */
                     89: 
                     90: /* #define subprocesses */
                     91: 
                     92: /* If your system uses COFF (Common Object File Format) then define the
                     93:    preprocessor symbol "COFF". */
                     94: 
                     95: /* #define COFF */
                     96: 
                     97: /* define MAIL_USE_FLOCK if the mailer uses flock
                     98:    to interlock access to /usr/spool/mail/$USER.
                     99:    The alternative is that a lock file named
                    100:    /usr/spool/mail/$USER.lock.  */
                    101: 
                    102: /* #define MAIL_USE_FLOCK */
                    103: 
                    104: /* Define CLASH_DETECTION if you want lock files to be written
                    105:    so that Emacs can tell instantly when you try to modify
                    106:    a file that someone else has modified in his Emacs.  */
                    107: 
                    108: /* #define CLASH_DETECTION */
                    109: 
                    110: /* Define SHORTNAMES if the C compiler can distinguish only
                    111:    short names.  It means that the stuff in ../shortnames
                    112:    must be run to convert the long names to short ones.
                    113: 
                    114:    Some USG systems support long names.
                    115:    If yours is one, DO NOT change this file!
                    116:    Do #undef SHORTNAMES in the m- file or in config.h.  */
                    117: 
                    118: #define SHORTNAMES
                    119: 
                    120: /* Special hacks needed to make Emacs run on this system.  */
                    121: 
                    122: /* Define this to cause -N to be passed to ld.  This is needed
                    123:    in uniplus because of its funny memory space layout.  */
                    124: 
                    125: #define LOADER_N_SWITCH
                    126: 
                    127: /*
                    128:  *     Make the sigsetmask function go away.  Don't know what the
                    129:  *     ramifications of this are, but doesn't seem possible to
                    130:  *     emulate it properly anyway at this point.
                    131:  */
                    132: 
                    133: #define sigsetmask(mask)       /* Null expansion */
                    134: 
                    135: /* setjmp and longjmp can safely replace _setjmp and _longjmp,
                    136:    but they will run slower.  */
                    137: 
                    138: #define _setjmp setjmp
                    139: #define _longjmp longjmp
                    140: 
                    141: /* On USG systems the system calls are interruptable by signals
                    142:  that the user program has elected to catch.  Thus the system call
                    143:  must be retried in these cases.  To handle this without massive
                    144:  changes in the source code, we remap the standard system call names
                    145:  to names for our own functions in sysdep.c that do the system call
                    146:  with retries. */
                    147: 
                    148: #define read sys_read
                    149: #define open sys_open
                    150: #define write sys_write
                    151: 
                    152: /* On USG systems these have different names */
                    153: 
                    154: #define index strchr
                    155: #define rindex strrchr
                    156: 
                    157: /* Compiler bug bites when default ADDR_CORRECT is used.  */
                    158: 
                    159: #define ADDR_CORRECT(x) (x)

unix.superglobalmegacorp.com

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