home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / e20313sr.zip / emacs / 20.3.1 / src / s / umax.h < prev    next >
Text File  |  1999-06-27  |  5KB  |  175 lines

  1. /* Definitions file for GNU Emacs running on UMAX 4.2
  2.    Copyright (C) 1985, 1986 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  19. Boston, MA 02111-1307, 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 BSD4_1 */
  31. #define BSD4_2
  32. /* #define BSD4_3 */
  33. #define BSD_SYSTEM
  34. #define UMAX4_2
  35. #define UMAX
  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 disadvantages
  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 'p'
  73.  
  74. /*
  75.  *    Define HAVE_PTYS if the system supports pty devices.
  76.  */
  77.  
  78. #define HAVE_PTYS
  79.  
  80. /* Define this macro if system defines a type `union wait'.  */
  81.  
  82. #define HAVE_UNION_WAIT
  83.  
  84. /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets.  */
  85.  
  86. #define HAVE_SOCKETS
  87.  
  88. /*
  89.  *    Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
  90.  *      The 4.2 opendir, etc., library functions.
  91.  */
  92.  
  93. /* #define NONSYSTEM_DIR_LIBRARY */
  94.  
  95. /* Define this symbol if your system has the functions bcopy, etc. */
  96.  
  97. #define BSTRING
  98.  
  99. /* subprocesses should be defined if you want to
  100.    have code for asynchronous subprocesses
  101.    (as used in M-x compile and M-x shell).
  102.    This is generally OS dependent, and not supported
  103.    under most USG systems. */
  104.  
  105. #define subprocesses
  106.  
  107. /* If your system uses COFF (Common Object File Format) then define the
  108.    preprocessor symbol "COFF". */
  109.  
  110. #define COFF
  111.  
  112. /* define MAIL_USE_FLOCK if the mailer uses flock
  113.    to interlock access to /usr/spool/mail/$USER.
  114.    The alternative is that a lock file named
  115.    /usr/spool/mail/$USER.lock.  */
  116.  
  117. #define MAIL_USE_FLOCK
  118.  
  119. /* Define CLASH_DETECTION if you want lock files to be written
  120.    so that Emacs can tell instantly when you try to modify
  121.    a file that someone else has modified in his Emacs.  */
  122.  
  123. #define CLASH_DETECTION
  124.  
  125. /* We use the Berkeley (and usg5.2.2) interface to nlist.  */
  126.  
  127. #define NLIST_STRUCT
  128.  
  129. /* The file containing the kernel's symbol table is called /vmunix.  */
  130.  
  131. #define KERNEL_FILE "/vmunix"
  132.  
  133. /* The symbol in the kernel where the load average is found
  134.    is named _avenrun.  */
  135.  
  136. #define LDAV_SYMBOL "_avenrun"
  137.  
  138. /* Here, on a separate page, add any special hacks needed
  139.    to make Emacs work on this system.  For example,
  140.    you might define certain system call names that don't
  141.    exist on your system, or that do different things on
  142.    your system and must be used only through an encapsulation
  143.    (Which you should place, by convention, in sysdep.c).  */
  144.  
  145. /* Specify alignment requirement for start of text and data sections
  146.    in the executable file.  */
  147.  
  148. #define SECTION_ALIGNMENT pagemask
  149.  
  150.  
  151. #define SEGMENT_MASK    (64 * 1024 - 1)
  152.  
  153.  
  154. /* crt0.c needs this for compilation because it uses asm.  */  
  155.  
  156. #define C_SWITCH_ASM -q nodirect_code
  157.  
  158. /* Encore machines with APC processor boards align sections on 4M
  159.    boundaries, so it is not easy to remap the start of the text segment
  160.    in the unexec() routine.  For them you need the following two lines.
  161.    For DPC processors you can enable these or not, as you wish, but
  162.    you will get better performance without them.  */
  163.  
  164. /* #define NO_REMAP
  165.    #define TEXT_START 0
  166. */
  167.  
  168. /* (Assume) we do have vfork.  */
  169.  
  170. #define HAVE_VFORK
  171.  
  172. /* Process groups work in the traditional BSD manner.  */
  173.  
  174. #define BSD_PGRPS
  175.