Annotation of GNUtools/emacs/src/s-template.h, revision 1.1.1.1

1.1       root        1: /* Template for s- header files.
                      2:    This file describes the parameters that s- files should define or not.
                      3:    Copyright (C) 1985, 1986 Free Software Foundation, Inc.
                      4: 
                      5: This file is part of GNU Emacs.
                      6: 
                      7: GNU Emacs is free software; you can redistribute it and/or modify
                      8: it under the terms of the GNU General Public License as published by
                      9: the Free Software Foundation; either version 1, or (at your option)
                     10: any later version.
                     11: 
                     12: GNU Emacs is distributed in the hope that it will be useful,
                     13: but WITHOUT ANY WARRANTY; without even the implied warranty of
                     14: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                     15: GNU General Public License for more details.
                     16: 
                     17: You should have received a copy of the GNU General Public License
                     18: along with GNU Emacs; see the file COPYING.  If not, write to
                     19: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
                     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 UNIPLUS */
                     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 "berkeley-unix"
                     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.  'a' means it is /dev/ptya0  */
                     71: 
                     72: #define FIRST_PTY_LETTER 'a'
                     73: 
                     74: /*
                     75:  *     Define HAVE_TIMEVAL if the system supports the BSD style clock values.
                     76:  *     Look in <sys/time.h> for a timeval structure.
                     77:  */
                     78: 
                     79: #define HAVE_TIMEVAL
                     80: 
                     81: /*
                     82:  *     Define HAVE_SELECT if the system supports the `select' system call.
                     83:  */
                     84: 
                     85: /* #define HAVE_SELECT */
                     86: 
                     87: /*
                     88:  *     Define HAVE_PTYS if the system supports pty devices.
                     89:  */
                     90: 
                     91: #define HAVE_PTYS
                     92: 
                     93: /*
                     94:  *     Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
                     95:  *      The 4.2 opendir, etc., library functions.
                     96:  */
                     97: 
                     98: #define NONSYSTEM_DIR_LIBRARY
                     99: 
                    100: /* Define this symbol if your system has the functions bcopy, etc. */
                    101: 
                    102: #define BSTRING
                    103: 
                    104: /* subprocesses should be defined if you want to
                    105:    have code for asynchronous subprocesses
                    106:    (as used in M-x compile and M-x shell).
                    107:    This is generally OS dependent, and not supported
                    108:    under most USG systems. */
                    109: 
                    110: #define subprocesses
                    111: 
                    112: /* If your system uses COFF (Common Object File Format) then define the
                    113:    preprocessor symbol "COFF". */
                    114: 
                    115: /* #define COFF */
                    116: 
                    117: /* define MAIL_USE_FLOCK if the mailer uses flock
                    118:    to interlock access to /usr/spool/mail/$USER.
                    119:    The alternative is that a lock file named
                    120:    /usr/spool/mail/$USER.lock.  */
                    121: 
                    122: #define MAIL_USE_FLOCK
                    123: 
                    124: /* Define CLASH_DETECTION if you want lock files to be written
                    125:    so that Emacs can tell instantly when you try to modify
                    126:    a file that someone else has modified in his Emacs.  */
                    127: 
                    128: #define CLASH_DETECTION
                    129: 
                    130: /* Here, on a separate page, add any special hacks needed
                    131:    to make Emacs work on this system.  For example,
                    132:    you might define certain system call names that don't
                    133:    exist on your system, or that do different things on
                    134:    your system and must be used only through an encapsulation
                    135:    (Which you should place, by convention, in sysdep.c).  */
                    136: 
                    137: /* Some compilers tend to put everything declared static
                    138:    into the initialized data area, which becomes pure after dumping Emacs.
                    139:    On these systems, you must #define static as nothing to foil this.
                    140:    Note that emacs carefully avoids static vars inside functions.  */
                    141: 
                    142: /* #define static */

unix.superglobalmegacorp.com

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