diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2008-01-06 00:56:56 +0000 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2008-01-06 00:56:56 +0000 |
commit | f3041af143f4ab74041fc918feee43aa8ac2da88 (patch) | |
tree | a84bdb93b8f941075b511480aa283e2847fbbcac /src/s | |
parent | 37d6e31370557ab868033dde113f11b54994e576 (diff) | |
download | emacs-f3041af143f4ab74041fc918feee43aa8ac2da88.tar.gz |
* configure.in: Remove references to unsupported systems.
* notes/copyright:
* MAINTAINERS: Remove references to files that have been removed.
* os.texi (System Environment): Remove references to OSes that are
not supported anymore.
* PROBLEMS:
* MACHINES: Remove references to systems not supported anymore.
* makefile.w32-in:
* Makefile.in: Remove references to Xenix.
* gnus.el (gnus-use-long-file-name): Remove reference to xenix.
* obsolete/x-apollo.el: Remove file for unsupported system.
* term/x-win.el (vendor-specific-keysyms): Remove reference to
Apollo.
* progmodes/gud.el (gud-dgux-p): Remove.
(dbx): Remove reference to dgux.
* progmodes/ps-mode.el (ps-mode-print-function):
* ps-print.el (ps-lp-system):
* paths.el (rmail-spool-directory):
* ls-lisp.el (ls-lisp-emulation):
* lpr.el (lpr-lp-system):
* dired.el (dired-chown-program): Remove references to dgux.
* m/7300.h:
* m/acorn.h:
* m/alliant-2800.h:
* m/alliant.h:
* m/alliant1.h:
* m/alliant4.h:
* m/altos.h:
* m/amdahl.h:
* m/apollo.h:
* m/att3b.h:
* m/aviion-intel.h:
* m/aviion.h:
* m/celerity.h:
* m/clipper.h:
* m/cnvrgnt.h:
* m/convex.h:
* m/cydra5.h:
* m/delta88k.h:
* m/dpx2.h:
* m/dual.h:
* m/elxsi.h:
* m/f301.h:
* m/gould-np1.h:
* m/gould.h:
* m/i860.h:
* m/ibmps2-aix.h:
* m/ibmrt-aix.h:
* m/ibmrt.h:
* m/irist.h:
* m/is386.h:
* m/isi-ov.h:
* m/mega68.h:
* m/mg1.h:
* m/news-r6.h:
* m/news-risc.h:
* m/news.h:
* m/nh3000.h:
* m/nh4000.h:
* m/ns16000.h:
* m/ns32000.h:
* m/nu.h:
* m/orion.h:
* m/orion105.h:
* m/paragon.h:
* m/pfa50.h:
* m/plexus.h:
* m/pyramid.h:
* m/pyrmips.h:
* m/sh3el.h:
* m/sps7.h:
* m/sr2k.h:
* m/stride.h:
* m/sun1.h:
* m/sun2.h:
* m/sun3-68881.h:
* m/sun3-fpa.h:
* m/sun3-soft.h:
* m/sun3.h:
* m/sun386.h:
* m/symmetry.h:
* m/tad68k.h:
* m/tahoe.h:
* m/targon31.h:
* m/tek4300.h:
* m/tekxd88.h:
* m/tower32.h:
* m/tower32v3.h:
* m/ustation.h:
* m/wicat.h:
* m/xps100.h:
* s/cxux.h:
* s/cxux7.h:
* s/dgux.h:
* s/dgux4.h:
* s/dgux5-4-3.h:
* s/dgux5-4r2.h:
* s/esix.h:
* s/esix5r4.h:
* s/hiuxmpp.h:
* s/hiuxwe2.h:
* s/iris3-5.h:
* s/iris3-6.h:
* s/isc2-2.h:
* s/isc3-0.h:
* s/isc4-0.h:
* s/isc4-1.h:
* s/newsos5.h:
* s/newsos6.h:
* s/osf1.h:
* s/osf5-0.h:
* s/riscix1-1.h:
* s/riscix12.h:
* s/sco4.h:
* s/sco5.h:
* s/sunos4-0.h:
* s/sunos4-1.h:
* s/sunos413.h:
* s/sunos4shr.h:
* s/umax.h:
* s/unipl5-2.h:
* s/xenix.h:
* cxux-crt0.s:
* unexapollo.c:
* unexconvex.c:
* unexenix.c:
* unexsni.c: Remove files for systems no longer supported.
* m/intel386.h: Remove references to unsupported systems.
* w32.c (get_emacs_configuration): Remove reference to i860.
* sysdep.c: Remove dead code.
Diffstat (limited to 'src/s')
-rw-r--r-- | src/s/cxux.h | 236 | ||||
-rw-r--r-- | src/s/cxux7.h | 10 | ||||
-rw-r--r-- | src/s/dgux.h | 355 | ||||
-rw-r--r-- | src/s/dgux4.h | 144 | ||||
-rw-r--r-- | src/s/dgux5-4-3.h | 68 | ||||
-rw-r--r-- | src/s/dgux5-4r2.h | 51 | ||||
-rw-r--r-- | src/s/esix.h | 27 | ||||
-rw-r--r-- | src/s/esix5r4.h | 27 | ||||
-rw-r--r-- | src/s/hiuxmpp.h | 67 | ||||
-rw-r--r-- | src/s/hiuxwe2.h | 67 | ||||
-rw-r--r-- | src/s/iris3-5.h | 166 | ||||
-rw-r--r-- | src/s/iris3-6.h | 163 | ||||
-rw-r--r-- | src/s/isc2-2.h | 100 | ||||
-rw-r--r-- | src/s/isc3-0.h | 70 | ||||
-rw-r--r-- | src/s/isc4-0.h | 33 | ||||
-rw-r--r-- | src/s/isc4-1.h | 35 | ||||
-rw-r--r-- | src/s/newsos5.h | 53 | ||||
-rw-r--r-- | src/s/newsos6.h | 9 | ||||
-rw-r--r-- | src/s/osf1.h | 99 | ||||
-rw-r--r-- | src/s/osf5-0.h | 25 | ||||
-rw-r--r-- | src/s/riscix1-1.h | 9 | ||||
-rw-r--r-- | src/s/riscix12.h | 29 | ||||
-rw-r--r-- | src/s/sco4.h | 145 | ||||
-rw-r--r-- | src/s/sco5.h | 175 | ||||
-rw-r--r-- | src/s/sunos4-0.h | 75 | ||||
-rw-r--r-- | src/s/sunos4-1.h | 36 | ||||
-rw-r--r-- | src/s/sunos413.h | 16 | ||||
-rw-r--r-- | src/s/sunos4shr.h | 84 | ||||
-rw-r--r-- | src/s/umax.h | 170 | ||||
-rw-r--r-- | src/s/unipl5-2.h | 160 | ||||
-rw-r--r-- | src/s/xenix.h | 212 |
31 files changed, 0 insertions, 2916 deletions
diff --git a/src/s/cxux.h b/src/s/cxux.h deleted file mode 100644 index d5abebf1ae1..00000000000 --- a/src/s/cxux.h +++ /dev/null @@ -1,236 +0,0 @@ -/* Header file for Harris CXUX. - Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, - 2006, 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - - -/* - * Define symbols to identify the version of Unix this is. - * Define all the symbols that apply correctly. - */ - -/* #define UNIPLUS */ -#define USG5 -#define USG -/* #define HPUX */ -/* #define UMAX */ -/* #define BSD4_1 */ -/* #define BSD4_2 */ -/* #define BSD4_3 */ -/* #define BSD_SYSTEM */ -/* #define VMS */ - -#ifndef _CX_UX -#define _CX_UX 1 -#endif - -/* Define this symbol if you are running CX/UX 7.0 or later (7.0 introduced - * support for ELF files, and while we still build emacs in COFF format, the - * way it is linked is different for 7.0). - */ -/* #define USING_CX_UX_7 */ - -#ifdef USING_CX_UX_7 -#define LINKER /usr/sde/coff/usr/bin/ld -#define LD_SWITCH_SYSTEM -L/usr/sde/coff/usr/lib -zzero_word -#define START_FILES pre-crt0.o /usr/sde/coff/usr/lib/crt0.o /usr/sde/coff/usr/lib/m88100.o -#else /* !USING_CX_UX_7 */ -#ifdef _M88K -#define START_FILES pre-crt0.o /lib/crt0.o -#else -#define START_FILES cxux-crt0.o /lib/crt0.o -#endif -#endif /* USING_CX_UX_7 */ - -/* SYSTEM_TYPE should indicate the kind of system you are using. - It sets the Lisp variable system-type. */ - -#define SYSTEM_TYPE "usg-unix-v" - -#define C_SWITCH_SYSTEM -Xa - -#define POSIX_SIGNALS - -/* With POSIX signals, also need to use sigaction rather than signal to - * setup signal handlers - */ -#define signal sys_signal - -/* NOMULTIPLEJOBS should be defined if your system's shell - does not have "job control" (the ability to stop a program, - run some other program, then continue the first one). */ - -/* #define NOMULTIPLEJOBS */ - -/* Emacs can read input using SIGIO and buffering characters itself, - or using CBREAK mode and making C-g cause SIGINT. - The choice is controlled by the variable interrupt_input. - - Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) - - Emacs uses the presence or absence of the SIGIO macro to indicate - whether or not signal-driven I/O is possible. It uses - INTERRUPT_INPUT to decide whether to use it by default. - - SIGIO can be used only on systems that implement it (4.2 and 4.3). - CBREAK mode has two disadvantages - 1) At least in 4.2, it is impossible to handle the Meta key properly. - I hear that in system V this problem does not exist. - 2) Control-G causes output to be discarded. - I do not know whether this can be fixed in system V. - - Another method of doing input is planned but not implemented. - It would have Emacs fork off a separate process - to read the input and send it to the true Emacs process - through a pipe. */ - -#define INTERRUPT_INPUT -/* #define BROKEN_FIONREAD */ - -/* Letter to use in finding device name of first pty, - if system supports pty's. 'a' means it is /dev/ptya0 */ - -#define FIRST_PTY_LETTER 'A' -#define PTY_ITERATION for (c = 'A'; c <= 'P'; c++) for (i = 0; i < 16; i++) - -/* - * Define HAVE_TERMIOS if the system provides POSIX-style - * functions and macros for terminal control. - * - * Define HAVE_TERMIO if the system provides sysV-style ioctls - * for terminal control. - * - * Do not define both. HAVE_TERMIOS is preferred, if it is - * supported on your system. - */ - -#define HAVE_TERMIOS -/* #define HAVE_TERMIO */ -#define NO_TERMIO - -/* - * Define HAVE_PTYS if the system supports pty devices. - */ - -#define HAVE_PTYS - -/* - * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate - * The 4.2 opendir, etc., library functions. - */ - -/* #define NONSYSTEM_DIR_LIBRARY */ - -#define SYSV_SYSTEM_DIR - -/* Define this symbol if your system has the functions bcopy, etc. */ - -#define BSTRING - -/* subprocesses should be defined if you want to - have code for asynchronous subprocesses - (as used in M-x compile and M-x shell). - This is generally OS dependent, and not supported - under most USG systems. */ - -#define subprocesses - -/* If your system uses COFF (Common Object File Format) then define the - preprocessor symbol "COFF". */ - -#define COFF - -/* define MAIL_USE_FLOCK if the mailer uses flock - to interlock access to /usr/spool/mail/$USER. - The alternative is that a lock file named - /usr/spool/mail/$USER.lock. */ - -#define MAIL_USE_FLOCK - -/* Define CLASH_DETECTION if you want lock files to be written - so that Emacs can tell instantly when you try to modify - a file that someone else has modified in his Emacs. */ - -#define CLASH_DETECTION - -/* Define this if your operating system declares signal handlers to - have a type other than the usual. `The usual' is `void' for ANSI C - systems (i.e. when the __STDC__ macro is defined), and `int' for - pre-ANSI systems. If you're using GCC on an older system, __STDC__ - will be defined, but the system's include files will still say that - signal returns int or whatever; in situations like that, define - this to be what the system's include files want. */ -/* #define SIGTYPE int */ -#define SIGTYPE void - -/* If the character used to separate elements of the executable path - is not ':', #define this to be the appropriate character constant. */ -/* #define SEPCHAR ':' */ - -/* Here, on a separate page, add any special hacks needed - to make Emacs work on this system. For example, - you might define certain system call names that don't - exist on your system, or that do different things on - your system and must be used only through an encapsulation - (Which you should place, by convention, in sysdep.c). */ - -/* Yes! The Night Hawk has sockets! */ - -#define HAVE_SOCKETS - -/* The symbol in the kernel where the load average is found - is named _avenrun. */ - -#define LDAV_SYMBOL "_avenrun" - -#define KERNEL_FILE "/unix" - -/* There are too many kludges required to redefine malloc - use the system - one */ -#define SYSTEM_MALLOC - -#define _setjmp setjmp -#define _longjmp longjmp - -/* const really does work, but I can't get configure to run the C compiler - * with the right options so it figures that out. - */ -#undef const - -#ifdef sigmask -#undef sigmask -#endif - -/* - * <pwd.h> already declares getpwuid, and with a uid_t argument in ANSI C - * mode. Define this so xrdb.c will compile - */ -#ifdef __STDC__ -#define DECLARE_GETPWUID_WITH_UID_T -#endif - -/* Some compilers tend to put everything declared static - into the initialized data area, which becomes pure after dumping Emacs. - On these systems, you must #define static as nothing to foil this. - Note that emacs carefully avoids static vars inside functions. */ - -/* #define static */ - -/* arch-tag: 5febe5fe-f0b0-49cb-9280-9d5a9fa43710 - (do not change this comment) */ diff --git a/src/s/cxux7.h b/src/s/cxux7.h deleted file mode 100644 index b9ecf45f6bb..00000000000 --- a/src/s/cxux7.h +++ /dev/null @@ -1,10 +0,0 @@ -/* Define this symbol if you are running CX/UX 7.0 or later (7.0 introduced - * support for ELF files, and while we still build emacs in COFF format, the - * way it is linked is different for 7.0). - */ -#define USING_CX_UX_7 - -#include "cxux.h" - -/* arch-tag: 520cfbad-fd5c-4b3b-ace4-66e9bcd31a60 - (do not change this comment) */ diff --git a/src/s/dgux.h b/src/s/dgux.h deleted file mode 100644 index f7ce0a6fd38..00000000000 --- a/src/s/dgux.h +++ /dev/null @@ -1,355 +0,0 @@ -/* Definitions file for GNU Emacs running on Data General's DG/UX - version 4.32 upto and including 5.4.1. - Copyright (C) 1994, 1999, 2001, 2002, 2003, 2004, - 2005, 2006, 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* - * Define symbols to identify the version of Unix this is. - * Define all the symbols that apply correctly. - */ - -/* #define UNIPLUS */ -/* #define USG5 */ -/* #define USG */ -/* #define HPUX */ -/* #define UMAX */ -/* #define BSD4_1 */ -#define BSD4_2 -#define BSD4_3 -#define BSD4_4 -#define BSD_SYSTEM - -/* SYSTEM_TYPE should indicate the kind of system you are using. - It sets the Lisp variable system-type. */ - -#define SYSTEM_TYPE "dgux" - -/* NOMULTIPLEJOBS should be defined if your system's shell - does not have "job control" (the ability to stop a program, - run some other program, then continue the first one). */ - -/* #define NOMULTIPLEJOBS */ - -/* Emacs can read input using SIGIO and buffering characters itself, - or using CBREAK mode and making C-g cause SIGINT. - The choice is controlled by the variable interrupt_input. - Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) - - SIGIO can be used only on systems that implement it (4.2 and 4.3). - CBREAK mode has two disadvantages - 1) At least in 4.2, it is impossible to handle the Meta key properly. - I hear that in system V this problem does not exist. - 2) Control-G causes output to be discarded. - I do not know whether this can be fixed in system V. - - Another method of doing input is planned but not implemented. - It would have Emacs fork off a separate process - to read the input and send it to the true Emacs process - through a pipe. - -*/ - -#define INTERRUPT_INPUT - -/* - * Define HAVE_SOCKETS if the system supports sockets. - */ - -#define HAVE_SOCKETS - -/* - * Define HAVE_UNIX_DOMAIN if the system supports Unix - * domain sockets. - */ - -#define HAVE_UNIX_DOMAIN - -/* - * Define HAVE_PTYS if the system supports pty devices. - */ - -#define HAVE_PTYS - -/* - * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate - * The 4.2 opendir, etc., library functions. - */ - -/* #define NONSYSTEM_DIR_LIBRARY */ - -/* Define this symbol if your system has the functions bcopy, etc. */ - -#define BSTRING - -/* subprocesses should be defined if you want to - have code for asynchronous subprocesses - (as used in M-x compile and M-x shell). - This is generally OS dependent, and not supported - under most USG systems. */ - -#define subprocesses - -/* If your system uses COFF (Common Object File Format) then define the - preprocessor symbol "COFF". - - DGUX can use either COFF or ELF; the default is ELF. - To compile for COFF (or BCS) use the TARGET_BINARY_INTERFACE - environment variable. */ - -#if defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) -#undef ELF -#ifndef COFF -#define COFF -#endif /* COFF */ -#else /* defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) */ -#undef COFF -#ifndef ELF -#define ELF -#endif /* ELF */ -#endif /* defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) */ - -#ifndef COFF /* People will probably find this apparently unreliable - till the NFS dumping bug is fixed. */ - -/* It is possible to undump to ELF with DG/UX 5.4, but for revisions below - 5.4.1 the undump MUST be done on a local file system, or the kernel will - panic. ELF executables have the advantage of using shared libraries, - while COFF executables will still work on 4.2x systems. */ - -#define UNEXEC unexelf.o - -/* This makes sure that all segments in the executable are undumped, - not just text, data, and bss. In the case of Mxdb and shared - libraries, additional information is stored in other sections. - It does not hurt to have this defined if you don't use Mxdb or - shared libraries. In fact, it makes no difference. */ - -/* Necessary for shared libraries and Mxdb debugging information. */ -#define USG_SHARED_LIBRARIES -#endif - -/* define MAIL_USE_FLOCK if the mailer uses flock - to interlock access to /usr/spool/mail/$USER. - The alternative is that a lock file named - /usr/spool/mail/$USER.lock. */ - -/* #define MAIL_USE_FLOCK */ - -/* Define CLASH_DETECTION if you want lock files to be written - so that Emacs can tell instantly when you try to modify - a file that someone else has modified in his Emacs. */ - -/* #define CLASH_DETECTION */ - -/* Define a replacement for the baud rate switch, since DG/UX uses a different - from BSD. */ - -#define BAUD_CONVERT { 0, 110, 134, 150, 300, 600, 1200, 1800, 2400, \ - 4800, 9600, 19200, 38400 } - -/* - * Make WM Interface Compliant. - */ - -#define XICCC - -/* Here, on a separate page, add any special hacks needed - to make Emacs work on this system. For example, - you might define certain system call names that don't - exist on your system, or that do different things on - your system and must be used only through an encapsulation - (Which you should place, by convention, in sysdep.c). */ - -/* Some compilers tend to put everything declared static - into the initialized data area, which becomes pure after dumping Emacs. - On these systems, you must #define static as nothing to foil this. - Note that emacs carefully avoids static vars inside functions. */ - -/* #define static */ - -/* DG/UX SPECIFIC ADDITIONS TO TEMPLATE FOLLOW: */ - -/* Use the Berkeley flavors of the library routines, instead of System V. */ - -#define setpgrp(pid,pgrp) setpgrp2(pid,pgrp) -#define getpgrp(pid) getpgrp2(pid) - -/* Act like Berkeley. */ - -#define _setjmp(env) sigsetjmp(env,0) -#define _longjmp(env,val) longjmp(env,val) - -/* Use TERMINFO instead of termcap */ - -#define TERMINFO - -/* - * Send signals to subprocesses using characters. - * - */ - -#define SIGNALS_VIA_CHARACTERS - -/* - * Define HAVE_TERMIOS since this is POSIX, - * for terminal control. Prevent redundant inclusion of termio.h. - */ - -#define HAVE_TERMIOS -#define NO_TERMIO - -/* - * Use a Berkeley style sys/wait.h. - * This makes WIF* macros operate on structures instead of ints. - */ - -#define _BSD_WAIT_FLAVOR - -/* - * Use BSD and POSIX-style signals. This is crucial! - */ - -/* #define SYSTEM_MALLOC */ - -/* MAKING_MAKEFILE must be defined in "ymakefile" before including config.h */ -#ifndef NOT_C_CODE - -/* Make sure signal.h is included so macros below don't mess with it. */ -/* DG/UX include files prevent multiple inclusion. */ - -#include <signal.h> - -/* but undefine the sigmask and sigpause macros since they will get - #define'd later. */ -#undef sigmask -#undef sigpause - -#define POSIX_SIGNALS - -#ifndef NO_DGUX_SIGNAL_REDEF -/* Can't use sys_signal because then etc/server.c would need sysdep.o. */ -extern struct sigaction act, oact; -#define signal(SIG,FUNC) berk_signal(SIG,FUNC) -#endif - -#endif /* not NOT_C_CODE */ - -#ifndef __GNUC__ -#error You must use GCC to compiler Emascs on DGUX -#endif - -#define ORDINARY_LINK -#define START_FILES pre-crt0.o -#define LIB_GCC /usr/lib/gcc/libgcc.a - -#ifdef _M88KBCS_TARGET -/* Karl Berry says: the environment - recommended by gcc (88/open, a.k.a. m88kbcs) doesn't support some system - functions, and gcc doesn't make it easy to switch environments. */ -#define NO_GET_LOAD_AVG -#endif - -/* definitions for xmakefile production */ -#ifdef COFF - -/* Define the following to use all of the available pty's. */ - -#define PTY_ITERATION \ - for (c = 'p'; c < 't'; c++) \ - for (i = 0; (((c == 'p') && (i < 64)) || ((c != 'p') && (i < 16))); i++) - -#define PTY_NAME_SPRINTF \ - if (c == 'p') \ - sprintf (pty_name, "/dev/pty%c%d", c, i); \ - else \ - sprintf (pty_name, "/dev/pty%c%x", c, i); - -#define PTY_TTY_NAME_SPRINTF \ - if (c == 'p') \ - sprintf (pty_name, "/dev/tty%c%d", c, i); \ - else \ - sprintf (pty_name, "/dev/tty%c%x", c, i); - -#define C_DEBUG_SWITCH -g - -#else /* not COFF */ - -/* We are generating ELF object format. This makes the system more - SVR4 like. */ - -#define SVR4 - -/* Pseudo-terminal support under SVR4 only loops to deal with errors. */ - -#define PTY_ITERATION for (i = 0; i < 1; i++) - -/* This sets the name of the master side of the PTY. */ - -#define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptmx"); - -/* This sets the name of the slave side of the PTY. On SysVr4, - grantpt(3) forks a subprocess, so keep sigchld_handler() from - intercepting that death. If any child but grantpt's should die - within, it should be caught after sigrelse(2). */ - -#define PTY_TTY_NAME_SPRINTF \ - { \ - char *ptsname(), *ptyname; \ - \ - sigblock(sigmask(SIGCLD)); \ - if (grantpt(fd) == -1) \ - fatal("could not grant slave pty"); \ - sigunblock(sigmask(SIGCLD)); \ - if (unlockpt(fd) == -1) \ - fatal("could not unlock slave pty"); \ - if (!(ptyname = ptsname(fd))) \ - fatal ("could not enable slave pty"); \ - strncpy(pty_name, ptyname, sizeof(pty_name)); \ - pty_name[sizeof(pty_name) - 1] = 0; \ - } - -/* Push various streams modules onto a PTY channel. */ - -#define SETUP_SLAVE_PTY \ - if (ioctl (xforkin, I_PUSH, "ptem") == -1) \ - fatal ("ioctl I_PUSH ptem", errno); \ - if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \ - fatal ("ioctl I_PUSH ldterm", errno); \ - if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ - fatal ("ioctl I_PUSH ttcompat", errno); - -#ifdef __GNUC__ -#define C_DEBUG_SWITCH -g -V2 -mversion-03.00 -mstandard -#endif - -#endif /* ELF */ - -/* Extra stuff which probably should be someplace else but is here out - of expediency. */ - -#define LIB_X11_LIB -lX11 -#define LIB_MOTIF -lXm -lgen - -/* Process groups work in the traditional BSD manner. */ - -#define BSD_PGRPS - -/* arch-tag: 1b6d117d-82d2-4480-a6d0-3f7a8360f658 - (do not change this comment) */ diff --git a/src/s/dgux4.h b/src/s/dgux4.h deleted file mode 100644 index bf5a1b0e597..00000000000 --- a/src/s/dgux4.h +++ /dev/null @@ -1,144 +0,0 @@ -/* Definitions file for GNU Emacs running on Data General's DG/UX - Release 4.10 and above. - Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, - 2006, 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* This file was written by Roderick Schertler <roderick@ibcinc.com>, - contact me if you have problems with or comments about running Emacs - on dgux. - - A number of things in the older dgux*.h files don't make sense to me, - but since I'm relying on memory and I don't have any older dgux - systems installed on which to test changes I'm undoing or fixing them - here rather than fixing them at the source. */ - -/* In dgux.h it says "Can't use sys_signal because then etc/server.c - would need sysdep.o." and then it #defines signal() to be - berk_signal(), but emacsserver.c does `#undef signal' anyway, so that - doesn't make sense. - - Further, sys_signal() in sysdep.c already had a special case for - #ifdef DGUX, it called berk_signal() explicitly. I've removed that - special case because it also didn't make sense: All versions of dgux - which the dgux*.h headers take into account have POSIX signals - (POSIX_SIGNALS is #defined in dgux.h). The comments in sys_signal() - even acknowledged this (saying that the special berk_signal() case - wasn't really necessary), they said that sys_signal() was using - berk_signal() instead of sigaction() for efficiency. Since both give - reliable signals neither has to be invoked within the handler. If - the efficiency that the comments were talking about is the overhead - of setting up the sigaction struct rather than just passing the - function pointer in (which is the only efficiency I can think of) - then that's a needless optimization, the Emacs sources do better - without the special case. - - The following definition will prevent dgux.h from re-defining - signal(). I can't just say `#undef signal' after including dgux.h - because signal() is already a macro, defined in <sys/signal.h>, and - the original definition would be lost. */ -#define NO_DGUX_SIGNAL_REDEF - -#include "dgux5-4-3.h" - -#define LIBS_DEBUG /* nothing, -lg doesn't exist */ -#define LIBS_SYSTEM -lsocket -lnsl - -#ifndef NOT_C_CODE - -/* dgux.h defines _setjmp() to be sigsetjmp(), but it defines _longjmp - to be longjmp() rather than siglongjmp(). Further, it doesn't define - jmp_buf, so sigsetjmp() is being called with a jmp_buf rather than a - sigjmp_buf, and the buffer is then passed to vanilla longjmp(). This - provides a more complete emulation of the Berkeley semantics. */ - -#include <setjmp.h> -#undef jmp_buf -#undef _setjmp -#undef setjmp -#undef _longjmp -#undef longjmp -#define jmp_buf sigjmp_buf -#define _setjmp(env) sigsetjmp(env, 0) -#define setjmp(env) sigsetjmp(env, 1) -#define _longjmp siglongjmp -#define longjmp siglongjmp - -/* The BAUD_CONVERT definition in dgux.h is wrong with this version - of dgux, but I'm not sure when it changed. - - With the current system Emacs' standard handling of ospeed and - baud_rate don't work. The baud values (B9600 and so on) returned by - cfgetospeed() aren't compatible with those used by ospeed. speed_t, - the type returned by cfgetospeed(), is unsigned long and speed_t - values are large. Further, it isn't possible to get at both the - SysV3 (ospeed) and POSIX (cfgetospeed()) values through symbolic - constants simultaneously because they both use the same names - (B9600). To get both baud_rate and ospeed right at the same time - it's necessary to hardcode the values for one set of values, here I'm - hardcoding ospeed. */ -#undef BAUD_CONVERT -#define INIT_BAUD_RATE() \ - struct termios sg; \ - \ - tcgetattr (input_fd, &sg); \ - switch (cfgetospeed (&sg)) { \ - case B50: baud_rate = 50; ospeed = 0x1; break; \ - case B75: baud_rate = 75; ospeed = 0x2; break; \ - case B110: baud_rate = 110; ospeed = 0x3; break; \ - case B134: baud_rate = 134; ospeed = 0x4; break; \ - case B150: baud_rate = 150; ospeed = 0x5; break; \ - case B200: baud_rate = 200; ospeed = 0x6; break; \ - case B300: baud_rate = 300; ospeed = 0x7; break; \ - case B600: baud_rate = 600; ospeed = 0x8; break; \ - default: \ - case B1200: baud_rate = 1200; ospeed = 0x9; break; \ - case B1800: baud_rate = 1800; ospeed = 0xa; break; \ - case B2400: baud_rate = 2400; ospeed = 0xb; break; \ - case B4800: baud_rate = 4800; ospeed = 0xc; break; \ - case B9600: baud_rate = 9600; ospeed = 0xd; break; \ - case B19200: baud_rate = 19200; ospeed = 0xe; break; \ - case B38400: baud_rate = 38400; ospeed = 0xf; break; \ - } \ - return; - - -#if 0 /* Ehud Karni <ehud@unix.simonwiesel.co.il> says that the problem - still exists on m88k-dg-dguxR4.11MU04 and i586-dg-dguxR4.11MU04. */ -/* The `stop on tty output' problem which occurs when using - INTERRUPT_INPUT and when Emacs is invoked under X11 using a job - control shell (csh, ksh, etc.) in the background doesn't look to be - present in R4.11. (At least, I can't reproduce it using jsh, csh, - ksh or zsh.) */ -#undef BROKEN_FIONREAD -#define INTERRUPT_INPUT -#endif /* 0 - never */ - -/* In R4.11 (or maybe R4.10, I don't have a system with that version - loaded) some of the internal stdio semantics were changed. One I - found while working on MH is that _cnt has to be 0 before _filbuf() - is called. Another is that (_ptr - _base) doesn't indicate how many - characters are waiting to be sent. I can't spot a good way to get - that info from the FILE internals. */ -#define PENDING_OUTPUT_COUNT(FILE) (1) - -#endif /* NOT_C_CODE */ - -/* arch-tag: c7013e7b-6e2e-44f2-ba61-90b6d5e2ea45 - (do not change this comment) */ diff --git a/src/s/dgux5-4-3.h b/src/s/dgux5-4-3.h deleted file mode 100644 index d959b8c6f1b..00000000000 --- a/src/s/dgux5-4-3.h +++ /dev/null @@ -1,68 +0,0 @@ -/* Definitions file for GNU Emacs running on Data General's DG/UX - version 5.4 Release 3.00 and above. - Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, - 2006, 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* NOTE: DGUX5.4R3.00 will not build with the delivered gcc-2.4.5 - compiler. You must upgraded to at least gcc-2.5.8. If you are - running DGUX 5.4R3.00 check on the system dg-rtp.dg.com:/pub/gnu - for gcc-2.5.8 or later compiler. - -pmr@pajato.com */ - -#include "dgux5-4r2.h" - -/* DGUX 5.4R3.00 brought the definition of `struct inet_addr' into - compliance with the majority of Unix systems. The workaround - introduced in 5.4R2 is no longer necessary. */ - -#ifdef HAVE_BROKEN_INET_ADDR -#undef HAVE_BROKEN_INET_ADDR -#endif - -/* The `stop on tty output' problem which occurs when using - INTERRUPT_INPUT and when Emacs is invoked under X11 using a job - control shell (csh, ksh, etc.) in the background has not been fixed in - DGUX 5.4R3.00. - -pmr@pajato.com */ - -#if 0 -#ifdef BROKEN_FIONREAD -#undef BROKEN_FIONREAD -#endif -#ifndef INTERRUPT_INPUT -#define INTERRUPT_INPUT -#endif -#endif - -/* Under DGUX 5.4R3.00, getting a debuggable executable has been - greatly simplified and applies to either COFF or ELF - environments. */ - -#ifdef C_DEBUG_SWITCH -#undef C_DEBUG_SWITCH -#define C_DEBUG_SWITCH -g -#endif - -/* This is needed according to Ehud Karni <ehud@unix.simonwiesel.co.il> - for m88k-dg-dgux5.4R3.10. */ -#undef BSD_PGRPS - -/* arch-tag: c11938c9-0cb0-4652-88aa-7eb80bf1cda9 - (do not change this comment) */ diff --git a/src/s/dgux5-4r2.h b/src/s/dgux5-4r2.h deleted file mode 100644 index 570e90e9ac1..00000000000 --- a/src/s/dgux5-4r2.h +++ /dev/null @@ -1,51 +0,0 @@ -/* Definitions file for GNU Emacs running on Data General's DG/UX - 5.4 Release 2.xx systems. - Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, - 2006, 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -#include "dgux.h" - -/* There is a known kernel bug in DGUX 5.4R2.xx when using - INTERRUPT_INPUT and invoking Emacs with a job control shell (csh, - ksh, etc.) in the background. This bug manifests itself by - outputting `stop on tty output' and hanging. The workaround is to - set BROKEN_FIONREAD. - -pmr@pajato.com */ - -#ifndef BROKEN_FIONREAD -#define BROKEN_FIONREAD -#endif -#ifdef INTERRUPT_INPUT -#undef INTERRUPT_INPUT -#endif - -/* In DGUX 5.4R2.xx the function inet_addr() returns a `struct - in_addr' instead of the more common `unsigned long'. - -pmr@pajato.com */ - -#define HAVE_BROKEN_INET_ADDR - -#if 0 /* Shawn M. Carey <smcarey@mailbox.syr.edu> found this - caused trouble on DGUX 5.4.2. */ -#define LIBS_SYSTEM -ldgc -#endif - -/* arch-tag: a14f4043-6caa-4f01-a9b9-ae0fb0d2c96e - (do not change this comment) */ diff --git a/src/s/esix.h b/src/s/esix.h deleted file mode 100644 index 357e7736476..00000000000 --- a/src/s/esix.h +++ /dev/null @@ -1,27 +0,0 @@ -/* Definitions for ESIX, a variant of v.5.3 for the 386. */ -/* These are based on reports for ESIX 5.3.2 D. */ - -#include "usg5-3.h" - -/* Some versions of V.3 have this, but not all. ESIX does. */ -#define HAVE_PTYS -#define SYSV_PTYS - -/* Have -lg be used for debugging. */ -#undef LIBS_DEBUG -#define LIBS_DEBUG -lg - -/* If using Roell's X server, define X11R4 */ -#ifdef X11R4 /* Roell's X server */ -#define select sys_select /* Emacs select() not good enough? */ -#undef LIBX11_SYSTEM -#define LIBX11_SYSTEM -lpt -#endif /* X11R4 */ - -/* ESIX does not need <sys/sioctl.h>, but needs <sys/ptem.h> */ -#define NO_SIOCTL_H -#define NEED_PTEM_H -#define BROKEN_FIONREAD - -/* arch-tag: d66e6a70-0812-437d-aa35-9b01bd474941 - (do not change this comment) */ diff --git a/src/s/esix5r4.h b/src/s/esix5r4.h deleted file mode 100644 index 4240f3d7f4a..00000000000 --- a/src/s/esix5r4.h +++ /dev/null @@ -1,27 +0,0 @@ -/* Definitions for ESIX System V 4.0.4, a variant of V.4 for the 386. */ -/* Redone by zircon!joe@uunet.uu.net (Joe Kelsey). */ - -#include "usg5-4.h" - -#define SYSTEM_MALLOC 1 -#if defined (HAVE_XFREE386) -# undef LIB_STANDARD -# define LIB_STANDARD -lc -#else -# define LIB_X11_LIB -lsocket -lc -lX11 -# undef LIB_STANDARD -# ifdef ORDINARY_LINK -# define LIB_STANDARD -lnsl -lns -lelf /usr/ucblib/libucb.a -# else -# define LIB_STANDARD -lnsl -lns -lelf /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o -# endif - -/* Resolve BSD string functions in X Window library from libucb.a. */ -# define BSTRING - -/* zircon!joe says this makes X windows work. */ -# define BROKEN_FIONREAD -#endif - -/* arch-tag: 2d314ae9-0357-4ddf-96e5-cf821071ba4b - (do not change this comment) */ diff --git a/src/s/hiuxmpp.h b/src/s/hiuxmpp.h deleted file mode 100644 index 7538adb1634..00000000000 --- a/src/s/hiuxmpp.h +++ /dev/null @@ -1,67 +0,0 @@ -/* System description file for HI-UX. - -Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 - Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - - -#define BSD 198911 /* system version (year & month) */ -#define DBL_DIG 15 /* same as the definition of <float.h> */ -#include "bsd4-3.h" - -/* Identify OSF1 for the m- files. */ - -#define OSF1 - -/* To avoid to include the non-existant header file <sys/vlimit.h>, - we define BSD4_2. - This definition does not mean that the OS is based on BSD 4.2. */ -#define BSD4_2 - -/* Define _BSD to tell the include files we're running under - the BSD universe and not the SYSV universe. - Define HITACHI and OSF for Xt's Boolean type as int intead of char. - (But for these defines, /usr/include/X11/Intrinsic.h defines - Boolean as char, but libXt.a on HI-UX/MPP requires it as int.) */ - -#define C_SWITCH_SYSTEM -D_BSD -DHITACHI -DOSF -#define LIBS_SYSTEM -lbsd - -#define GETPGRP_NO_ARG - -#define SYSV_SYSTEM_DIR - -/* If your system uses COFF (Common Object File Format) then define the - preprocessor symbol "COFF". */ - -/* #define COFF */ - -/* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option - says where to find X windows at run time. We convert it to a -rpath option - which is what OSF1 uses. */ -#define LD_SWITCH_SYSTEM - -#undef KERNEL_FILE -#define KERNEL_FILE "/mach_kernel" - -#undef LDAV_SYMBOL -#define LDAV_SYMBOL "avenrun" - -/* arch-tag: c5422584-cd86-4e10-8089-9f604523dab7 - (do not change this comment) */ diff --git a/src/s/hiuxwe2.h b/src/s/hiuxwe2.h deleted file mode 100644 index 418ea14cc99..00000000000 --- a/src/s/hiuxwe2.h +++ /dev/null @@ -1,67 +0,0 @@ -/* System description file for HI-UX. - -Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, - 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - - -#define BSD 198911 /* system version (year & month) */ -#define DBL_DIG 15 /* same as the definition of <float.h> */ -#include "bsd4-3.h" - -/* Identify OSF1 for the m- files. */ - -#define OSF1 - -/* To avoid to include the non-existant header file <sys/vlimit.h>, - we define BSD4_2. - This definition does not mean that the OS is based on BSD 4.2. */ -#define BSD4_2 - -/* Define _BSD to tell the include files we're running under - the BSD universe and not the SYSV universe. - Define HITACHI and OSF for Xt's Boolean type as int intead of char. - (But for these defines, /usr/include/X11/Intrinsic.h defines - Boolean as char, but libXt.a on HI-UX/MPP requires it as int.) */ - -#define C_SWITCH_SYSTEM -D_BSD -DHITACHI -DOSF -#define LIBS_SYSTEM -lbsd - -#define GETPGRP_NO_ARG - -#define SYSV_SYSTEM_DIR - -/* If your system uses COFF (Common Object File Format) then define the - preprocessor symbol "COFF". */ - -/* #define COFF */ - -/* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option - says where to find X windows at run time. We convert it to a -rpath option - which is what OSF1 uses. */ -#define LD_SWITCH_SYSTEM - -#undef KERNEL_FILE -#define KERNEL_FILE "/mach_kernel" - -#undef LDAV_SYMBOL -#define LDAV_SYMBOL "avenrun" - -/* arch-tag: c56449e1-6d1b-4537-a596-0b08b8e4ec73 - (do not change this comment) */ diff --git a/src/s/iris3-5.h b/src/s/iris3-5.h deleted file mode 100644 index c3d16cbf611..00000000000 --- a/src/s/iris3-5.h +++ /dev/null @@ -1,166 +0,0 @@ -/* Definitions file for GNU Emacs running on Silicon Graphics 3.5 - Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004, - 2005, 2006, 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - - -/* - * Define symbols to identify the version of Unix this is. - * Define all the symbols that apply correctly. - */ - -#define USG -#define USG5 -#define IRIS - -/* SYSTEM_TYPE should indicate the kind of system you are using. - It sets the Lisp variable system-type. */ - -#define SYSTEM_TYPE "irix" - -/* nomultiplejobs should be defined if your system's shell - does not have "job control" (the ability to stop a program, - run some other program, then continue the first one). */ - -#define NOMULTIPLEJOBS - -/* Default is to set interrupt_input to 0: don't do input buffering within Emacs */ - -/* #define INTERRUPT_INPUT */ - -/* Letter to use in finding device name of first pty, - if system supports pty's. 'a' means it is /dev/ptya0 */ - -#define FIRST_PTY_LETTER 'a' - -/* - * Define HAVE_TERMIO if the system provides sysV-style ioctls - * for terminal control. - */ - -#define HAVE_TERMIO - -/* - * Define HAVE_PTYS if the system supports pty devices. - */ - -#define HAVE_PTYS - -/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ - -#define HAVE_SOCKETS - -/* - * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate - * The 4.2 opendir, etc., library functions. - */ - -/* #define NONSYSTEM_DIR_LIBRARY */ - -/* Define this symbol if your system has the functions bcopy, etc. */ - -#define BSTRING - -/* subprocesses should be defined if you want to - have code for asynchronous subprocesses - (as used in M-x compile and M-x shell). - This is generally OS dependent, and not supported - under most USG systems. */ - -#define subprocesses - -/* If your system uses COFF (Common Object File Format) then define the - preprocessor symbol "COFF". */ - -/* #define COFF */ - -/* define MAIL_USE_FLOCK if the mailer uses flock - to interlock access to /usr/spool/mail/$USER. - The alternative is that a lock file named - /usr/spool/mail/$USER.lock. */ - -#define MAIL_USE_FLOCK - -/* Define CLASH_DETECTION if you want lock files to be written - so that Emacs can tell instantly when you try to modify - a file that someone else has modified in his Emacs. */ - -/* #define CLASH_DETECTION */ - -/* The file containing the kernel's symbol table is called /vmunix. */ - -#define KERNEL_FILE "/vmunix" - -/* The symbol in the kernel where the load average is found - is named _avenrun. */ - -#define LDAV_SYMBOL "_avenrun" - - -/* Special hacks needed to make Emacs run on this system. */ - -/* - * Make the sigsetmask function go away. Don't know what the - * ramifications of this are, but doesn't seem possible to - * emulate it properly anyway at this point. - */ - -#define sigsetmask(mask) /* Null expansion */ - -/* The IRIS defines SIGIO in signal.h, but doesn't implement it. */ -#define BROKEN_SIGIO - -#define LIBS_MACHINE -lbsd -ldbm -lPW -#define C_SWITCH_MACHINE -I/usr/include/bsd - -/* setjmp and longjmp can safely replace _setjmp and _longjmp, - but they will run slower. */ - -#define _setjmp setjmp -#define _longjmp longjmp - -/* On USG systems these have different names */ - -#define index strchr -#define rindex strrchr - -/* USG systems tend to put everything declared static - into the initialized data area, which becomes pure after dumping Emacs. - Foil this. Emacs carefully avoids static vars inside functions. */ - -/* #define static */ - -/* Compiler bug bites on many systems when default ADDR_CORRECT is used. */ - -#define ADDR_CORRECT(x) (int)((char *)(x) - (char*)0) - -/* some errno.h's don't actually allocate the variable itself */ - -#define NEED_ERRNO - -/* The symbol FIONREAD is defined, but the feature does not work. */ - -#define BROKEN_FIONREAD - -/* This is how to get the device name of the tty end of a pty. */ -#define PTY_TTY_NAME_SPRINTF \ - sprintf (ptyname, "/dev/ttyq%d", minor (stb.st_rdev)); - -/* arch-tag: 41161051-477f-44be-bb2a-0eead3142157 - (do not change this comment) */ diff --git a/src/s/iris3-6.h b/src/s/iris3-6.h deleted file mode 100644 index 85a13167ed0..00000000000 --- a/src/s/iris3-6.h +++ /dev/null @@ -1,163 +0,0 @@ -/* Definitions file for GNU Emacs running on Silicon Graphics system 3.6. - Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004, - 2005, 2006, 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - - -/* - * Define symbols to identify the version of Unix this is. - * Define all the symbols that apply correctly. - */ - -#define USG -#define USG5 -#define IRIS - -/* SYSTEM_TYPE should indicate the kind of system you are using. - It sets the Lisp variable system-type. */ - -#define SYSTEM_TYPE "irix" - -/* nomultiplejobs should be defined if your system's shell - does not have "job control" (the ability to stop a program, - run some other program, then continue the first one). */ - -#define NOMULTIPLEJOBS - -/* Default is to set interrupt_input to 0: don't do input buffering within Emacs */ - -/* #define INTERRUPT_INPUT */ - -/* Letter to use in finding device name of first pty, - if system supports pty's. 'a' means it is /dev/ptya0 */ - -#define FIRST_PTY_LETTER 'a' - -/* - * Define HAVE_TERMIO if the system provides sysV-style ioctls - * for terminal control. - */ - -#define HAVE_TERMIO - -/* - * Define HAVE_PTYS if the system supports pty devices. - */ - -#define HAVE_PTYS - -/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ - -#define HAVE_SOCKETS - -/* - * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate - * The 4.2 opendir, etc., library functions. - */ - -/* #define NONSYSTEM_DIR_LIBRARY */ - -/* Define this symbol if your system has the functions bcopy, etc. */ - -#define BSTRING - -/* subprocesses should be defined if you want to - have code for asynchronous subprocesses - (as used in M-x compile and M-x shell). - This is generally OS dependent, and not supported - under most USG systems. */ - -#define subprocesses - -/* If your system uses COFF (Common Object File Format) then define the - preprocessor symbol "COFF". */ - -/* #define COFF */ - -/* define MAIL_USE_FLOCK if the mailer uses flock - to interlock access to /usr/spool/mail/$USER. - The alternative is that a lock file named - /usr/spool/mail/$USER.lock. */ - -#define MAIL_USE_FLOCK - -/* Define CLASH_DETECTION if you want lock files to be written - so that Emacs can tell instantly when you try to modify - a file that someone else has modified in his Emacs. */ - -/* #define CLASH_DETECTION */ - -/* The file containing the kernel's symbol table is called /vmunix. */ - -#define KERNEL_FILE "/vmunix" - -/* The symbol in the kernel where the load average is found - is named _avenrun. */ - -#define LDAV_SYMBOL "_avenrun" - - -/* Special hacks needed to make Emacs run on this system. */ - -/* - * Make the sigsetmask function go away. Don't know what the - * ramifications of this are, but doesn't seem possible to - * emulate it properly anyway at this point. - */ - -#define sigsetmask(mask) /* Null expansion */ -#define sigblock(x) x - -/* The IRIS defines SIGIO in signal.h, but doesn't implement it. */ -#define BROKEN_SIGIO - -#define LIBS_MACHINE -lbsd -ldbm -lPW -#define C_SWITCH_MACHINE -I/usr/include/bsd - -/* setjmp and longjmp can safely replace _setjmp and _longjmp, - but they will run slower. */ - -#define _setjmp setjmp -#define _longjmp longjmp - -/* On USG systems these have different names */ - -#define index strchr -#define rindex strrchr - -/* USG systems tend to put everything declared static - into the initialized data area, which becomes pure after dumping Emacs. - Foil this. Emacs carefully avoids static vars inside functions. */ - -/* #define static */ - -/* Compiler bug bites on many systems when default ADDR_CORRECT is used. */ - -#define ADDR_CORRECT(x) (int)((char *)(x) - (char*)0) - -/* some errno.h's don't actually allocate the variable itself */ - -#define NEED_ERRNO - -/* This is how to get the device name of the tty end of a pty. */ -#define PTY_TTY_NAME_SPRINTF \ - sprintf (ptyname, "/dev/ttyq%d", minor (stb.st_rdev)); - -/* arch-tag: cdf2033e-a2d5-43e1-a1a2-a7243cf41a11 - (do not change this comment) */ diff --git a/src/s/isc2-2.h b/src/s/isc2-2.h deleted file mode 100644 index 34c79f17ea1..00000000000 --- a/src/s/isc2-2.h +++ /dev/null @@ -1,100 +0,0 @@ -/* system description file for Interactive (ISC) Unix version 2.2 on the 386. - - Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, - 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - - -#include "usg5-3.h" - -/* select (in -linet) works okay on X ptys, but not on the serial port. - karl@cs.umb.edu says that with that select call, subprocesses made by - (e.g.) M-x grep don't exit cleanly, they just hang. Similar problems - have been observed in ISC 3.0. */ -#define BROKEN_SELECT_NON_X - -/* karl@cs.umb.edu says that ISC's socket support (in -linet) isn't - what Emacs needs; it makes interrupt-shell-subjob and the like do - nothing. But that appears to have been another manifestation of - the broken select, so it should now be safe to define this again. */ -#define HAVE_SOCKETS - -#define NO_SOCKETS_IN_FILE_SYSTEM -#define NEED_NET_ERRNO_H - -/* This keeps the .cdbx section that gcc puts out when generating - stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu. */ -#define USG_SHARED_LIBRARIES - -/* We can support lock files. */ -#define CLASH_DETECTION -#define NO_FCHMOD - -#define HAVE_PTYS -#define MAXNAMLEN 512 -#define O_NDELAY O_NONBLOCK -#define MEMORY_IN_STRING_H - -/* Tell gmalloc.c that we don't have memmove (system include files to the - contrary!). */ -#define MEMMOVE_MISSING - -/* Send a signal to a subprocess by "typing" a signal character. */ -#define SIGNALS_VIA_CHARACTERS - -/* -lPW is only needed if not using Gcc. We used to include -lcposix here - for the rename function, but some people say ISC's rename doesn't - work correctly with Emacs so we use Emacs' emulation instead. */ -#if defined (__GNUC__) -# define LIB_STANDARD_1 -lcposix -#else /* !__GNUC__ */ -# define LIB_STANDARD_1 -lPW -#endif /* !__GNUC__ */ - -/* LIB_STANDARD_1 is used both here and in LIBS_SYSTEM - (the latter for the sake of configure). */ -#define LIB_STANDARD LIB_STANDARD_1 -lc - -#define NO_X_DESTROY_DATABASE - -/* -linet may be needed to avoid undefined symbols such as gethostname, - inet_addr, gethostbyname, socket, connect, ... */ -#define LIBS_SYSTEM -linet LIB_STANDARD_1 - -/* This system has job control. */ -#undef NOMULTIPLEJOBS - -/* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary - when -traditional is being used, but it doesn't hurt to - unconditionally define this. */ -#define NO_ASM - -/* -traditional is not necessary if the system header files are fixed to - define getc and putc in the absence of _POSIX_SOURCE. GCC's from 2.4.4 - on do this. */ -#if !defined (__GNUC__) || __GNUC__ < 2 -# define C_SWITCH_SYSTEM -traditional -#endif - -/* Some versions of ISC are said to define S_IFLNK even tho - they don't really support symlinks. */ -#undef S_IFLNK - -/* arch-tag: 4de02713-eac5-4360-9d36-fd82c7a3ae44 - (do not change this comment) */ diff --git a/src/s/isc3-0.h b/src/s/isc3-0.h deleted file mode 100644 index 3df55031778..00000000000 --- a/src/s/isc3-0.h +++ /dev/null @@ -1,70 +0,0 @@ -/* s- file for Interactive (ISC) Unix version 3.0 on the 386. - -Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, - 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - - -#include "isc2-2.h" - -/* This has been moved into isc2-2.h. */ -/* #define HAVE_SOCKETS */ - -/* This appears on 3.0, presumably as part of what SunSoft call X2. */ -#undef NO_X_DESTROY_DATABASE - -#ifdef __GNUC__ /* Currently we use -lcposix only with gcc */ -#define POSIX_SIGNALS - -/* We don't need the definition from usg5-3.h with POSIX_SIGNALS. */ -#undef sigsetmask -#undef HAVE_SYSV_SIGPAUSE -#endif - -/* People say that using -traditional causes lossage with `const', - so we might as well try getting rid of -traditional. */ -#undef C_SWITCH_SYSTEM - -/* We indirectly #include s/usg5-3.h, which says to use libX11_s and - libc_s. Martin Tomes <mt00@controls.eurotherm.co.uk> says that ISC - has no libX11_s, and that linking with libc_s causes sbrk not to work. */ -#undef LIB_X11_LIB -#undef LIBX11_SYSTEM -#define LIBX11_SYSTEM -lpt -lnls -lnsl_s - -/* TIOCGWINSZ isn't broken; you just have to know where to find it. */ -#undef BROKEN_TIOCGWINSZ -#define NEED_SIOCTL - -/* We need either _XOPEN_SOURCE or _POSIX_SOURCE to import the posix - signal symbols; might as well use _XOPEN_SOURCE. Defining _SYSV3 - ensures that we don't lose the traditional symbols as a side effect - from this or __STDC__ being defined. It can't hurt to Define - _XOPEN_SOURCE=500, the latest and greatest value as of this writing. */ -#define C_SWITCH_SYSTEM -D_XOPEN_SOURCE=500 -D_SYSV3 - -#ifdef __GNUC__ /* Currently we use -lcposix only with gcc */ -/* This works around a bug in ISC 4.0 and 3.0; it fails - to clear the "POSIX process" flag on an exec. - It won't be needed for 4.1. */ -#define EXTRA_INITIALIZE __setostype (0) -#endif - -/* arch-tag: c1aca3f2-813d-4c1c-ad64-ca6c20ec9bfb - (do not change this comment) */ diff --git a/src/s/isc4-0.h b/src/s/isc4-0.h deleted file mode 100644 index d180b5d182c..00000000000 --- a/src/s/isc4-0.h +++ /dev/null @@ -1,33 +0,0 @@ -#include "isc3-0.h" - -#undef LIBS_SYSTEM -#define LIBS_SYSTEM -linet -lcposix - -#define ISC4_0 - -/* fmcphers@csugrad.cs.vt.edu reported this was necessary. - He used GCC. I don't know what is needed with other compilers. */ -#ifdef __GNUC__ -#undef LIBX11_SYSTEM -#define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc -#endif - -/* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de> - says this is needed. */ - -#ifndef POSIX_SIGNALS -#ifndef sigblock -#ifndef SIG_BLOCK -#define SIG_BLOCK 0 -#endif -#define sigblock(sig) \ - (sigprocmask_set = SIGEMPTYMASK | (sig), \ - sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL)) -#define sigunblock(sig) \ - (sigprocmask_set = SIGFULLMASK & ~(sig), \ - sigprocmask (SIG_SETMASK, &sigprocmask_set, NULL)) -#endif -#endif /* not POSIX_SIGNALS */ - -/* arch-tag: 1278f86f-17f2-462d-88c9-85e4b5faa5c3 - (do not change this comment) */ diff --git a/src/s/isc4-1.h b/src/s/isc4-1.h deleted file mode 100644 index c37537e629c..00000000000 --- a/src/s/isc4-1.h +++ /dev/null @@ -1,35 +0,0 @@ -#include "isc3-0.h" - -/* ISC 4.1 has renamed __setostype, but also has fixed the bug - for which we needed to call it; so just do nothing. uddeborg@carmen.se. */ -#undef EXTRA_INITIALIZE - -#define ISC4_1 - -#undef LIBS_SYSTEM -#define LIBS_SYSTEM -linet - -/* uddeborg@carmen.se recommends the rest of this file. */ - -/* A special startup file is used when compiling with Posix. */ -#define START_FILES pre-crt0.o /lib/crtp1.o - -/* -lPW is only needed if not using Gcc. */ -#undef LIB_STANDARD -#if defined (__GNUC__) -# define LIB_STANDARD -lcposix -lc /lib/crtn.o -#else /* !__GNUC__ */ -# define LIB_STANDARD -lPW -lcposix -lc /lib/crtn.o -#endif /* !__GNUC__ */ - -/* We have Posix termios. */ -#define HAVE_TERMIOS -/* According to template.h HAVE_TERMIO and HAVE_TERMIOS shouldn't be */ -/* defined at the same time. */ -#undef HAVE_TERMIO - -/* ISC 4.1 has sys/wait.h but it does not work right. */ -#undef HAVE_SYS_WAIT_H - -/* arch-tag: ec5c77d9-a330-4d93-8117-d2b374531c67 - (do not change this comment) */ diff --git a/src/s/newsos5.h b/src/s/newsos5.h deleted file mode 100644 index 9e149bc5ed0..00000000000 --- a/src/s/newsos5.h +++ /dev/null @@ -1,53 +0,0 @@ -/* Definitions file for GNU Emacs running on Sony's NEWS-OS 5.0.2 - Copyright (C) 1992, 1994, 2001, 2002, 2003, 2004, - 2005, 2006, 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Use the SysVr4 file for at least base configuration. */ - -#include "usg5-4.h" - -#define NEWSOS5 - -/* These will be defined by "m-mips.h". */ -#undef START_FILES -#undef LIB_STANDARD - -#undef LIBS_SYSTEM -#define LIBS_SYSTEM -lsocket -lnsl -lgen - -/* Disable use of "unexelf.c" and shared libraries, because - "unexelf.c" doesn't work correctly on NEWS-OS. "unexmips.c" does - work correctly if the program is linked statically without ELF. */ -#undef UNEXEC -#undef USG_SHARED_LIBRARIES - -/* Use `ld' directly rather than ordinary link, because ordinary link - can't produce a non-ELF executable. */ -#undef ORDINARY_LINK -#define LINKER /usr/lib/cmplrs/cc/ld -#define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o -#define LIB_STANDARD -lc /usr/ccs/lib/crtn.o /usr/ccs/lib/values-Xt.o - -#ifndef HAVE_SOCKETS -#define HAVE_SOCKETS -#endif - -/* arch-tag: 2bb78fcd-fbc4-46dd-a14b-e4a9be957fe0 - (do not change this comment) */ diff --git a/src/s/newsos6.h b/src/s/newsos6.h deleted file mode 100644 index ca3dbe706d0..00000000000 --- a/src/s/newsos6.h +++ /dev/null @@ -1,9 +0,0 @@ -/* Definitions file for GNU Emacs running on Sony's NEWS-OS 6.x */ - -#include "usg5-4-2.h" - -#define NEWSOS6 -#define HAVE_TEXT_START - -/* arch-tag: a0db9cb0-43bb-4f9e-85fa-384e30f02d74 - (do not change this comment) */ diff --git a/src/s/osf1.h b/src/s/osf1.h deleted file mode 100644 index 7e55ce4fb6d..00000000000 --- a/src/s/osf1.h +++ /dev/null @@ -1,99 +0,0 @@ -/* Definitions file for GNU Emacs running on osf1. - Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, - 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - - -#include "bsd4-3.h" - -/* Identify OSF1 for the m- files. */ - -#define OSF1 - -#define C_SWITCH_SYSTEM -D_BSD -#define LIBS_SYSTEM -lbsd - -#define GETPGRP_NO_ARG - -#define SYSV_SYSTEM_DIR - -/* If your system uses COFF (Common Object File Format) then define the - preprocessor symbol "COFF". */ - -#define COFF - -/* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option - says where to find X windows at run time. We convert it to a -rpath option - which is what OSF1 uses. */ -#define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'` - -#define HAVE_TERMIOS - -#ifndef __GNUC__ -/* Optimize, inaccurate debugging. */ -#define C_DEBUG_SWITCH -g3 -#endif - -#ifndef NOT_C_CODE -#ifndef OSF5 /* fixed in 5.0 */ -/* Hack alert! For reasons unknown to mankind the string.h file insists - on defining bcopy etc. as taking char pointers as arguments. With - Emacs this produces an endless amount of warning which are harmless, - but tends to flood the real errors. This hack works around this problem - by not prototyping. */ -#define bcopy string_h_bcopy -#define bzero string_h_bzero -#define bcmp string_h_bcmp -#include <string.h> -#undef bcopy -#undef bzero -#undef bcmp -#endif -#endif - -#define ORDINARY_LINK - -/* Some systems seem to have this, others don't. */ -#ifdef HAVE_LIBDNET -#define LIBS_MACHINE -ldnet -#else -#define LIBS_MACHINE -ldnet_stub -#endif - -#define LIBS_DEBUG -#define START_FILES pre-crt0.o - -#define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */ -#define PTY_NAME_SPRINTF /* none */ -#define PTY_TTY_NAME_SPRINTF /* none */ -#define PTY_OPEN \ - do \ - { \ - int dummy; \ - SIGMASKTYPE mask; \ - mask = sigblock (sigmask (SIGCHLD)); \ - if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \ - fd = -1; \ - sigsetmask (mask); \ - emacs_close (dummy); \ - } \ - while (0) - -/* arch-tag: 65eaea67-fcc3-4de7-8574-d46beb82d4ed - (do not change this comment) */ diff --git a/src/s/osf5-0.h b/src/s/osf5-0.h deleted file mode 100644 index 4f22f6d641b..00000000000 --- a/src/s/osf5-0.h +++ /dev/null @@ -1,25 +0,0 @@ -#define OSF5 -#include "osf1.h" - -/* It's enough to define _OSF_SOURCE instead of _BSD. */ - -#undef C_SWITCH_SYSTEM -#define C_SWITCH_SYSTEM -D_OSF_SOURCE - -#ifndef NSIG /* _OSF_SOURCE seems to get us this */ -#define NSIG __sys_nsig -#endif - -/* We have missing/inconsistent prototypes on 5.0, at least. */ -#define INHIBIT_X11R6_XIM - -#define USE_MMAP_FOR_BUFFERS 1 - -#define TERMINFO -#define LIBS_TERMCAP -lcurses - -#define GC_SETJMP_WORKS 1 -#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS - -/* arch-tag: 89580064-dd8c-4533-a47c-0f92d8090945 - (do not change this comment) */ diff --git a/src/s/riscix1-1.h b/src/s/riscix1-1.h deleted file mode 100644 index cccbbd3b2c8..00000000000 --- a/src/s/riscix1-1.h +++ /dev/null @@ -1,9 +0,0 @@ -/* Definitions file for GNU Emacs running on RISCiX 1.1 (bsd 4.3) */ - -#define RISCiX_1_1 1 -#define RISCiX 11 -#define CRT0_O /lib/crt0.o -#include "bsd4-3.h" - -/* arch-tag: 382df034-9843-4a82-8a3a-2e50a4dd532c - (do not change this comment) */ diff --git a/src/s/riscix12.h b/src/s/riscix12.h deleted file mode 100644 index cc81c7da1c7..00000000000 --- a/src/s/riscix12.h +++ /dev/null @@ -1,29 +0,0 @@ -/* Definitions file for GNU Emacs running on RISCiX 1.2 (bsd 4.3) - Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, - 2006, 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - - -#define RISCiX_1_2 1 -#define RISCiX 12 -#define CRT0_O /usr/lib/crt0.o -#include "bsd4-3.h" - -/* arch-tag: f6b21e0a-f676-418a-9c8a-10fa8cd9dba7 - (do not change this comment) */ diff --git a/src/s/sco4.h b/src/s/sco4.h deleted file mode 100644 index d16bcbead49..00000000000 --- a/src/s/sco4.h +++ /dev/null @@ -1,145 +0,0 @@ -/* System description file for SCO 3.2v4. - Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, - 2005, 2006, 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Ian Lance Taylor, ian@cygnus.com. */ - -/* SCO is sort of like SVR3. */ -#include "usg5-3.h" -#define SCO_R4 - -#if 0 /* Turned off rather than make the Lisp code check for this. -- rms. - I am assuming that (at least most of) the tests for usg-unix-v - do the right thing for sco3.2v4 also. Things that *might* be wrong - as a result of turning off these lines include the values of - ange-ftp-remote-shell-file-name (now remsh) - dired-chown-program (now just chown) - lpr-command (now lp) - nntp-buggy-select (now t) - rmail-spool-directory (now /usr/mail?) - and the actions of the function print-region-1. */ - -/* SYSTEM_TYPE should indicate the kind of system you are using. */ -#undef SYSTEM_TYPE -#define SYSTEM_TYPE "SCO 3.2v4" -#endif - -/* SCO supports job control. */ -#undef NOMULTIPLEJOBS - -/* SCO has termios. */ -#define HAVE_TERMIOS - -/* SCO has ptys with unusual names. */ -#define HAVE_PTYS - -#define PTY_ITERATION \ - for (i = 0; ; i++) -#define PTY_NAME_SPRINTF \ - sprintf (pty_name, "/dev/ptyp%d", i); -#define PTY_TTY_NAME_SPRINTF \ - sprintf (pty_name, "/dev/ttyp%d", i); - -/* Sockets are an option on SCO. If you have X, you have them. - They also exist if you have TCP, but we don't know how to test - for that. */ -#ifdef HAVE_X_WINDOWS -#define HAVE_SOCKETS -#endif - -/* Must use 'cc' to link when build with motif toolkit. */ -#ifndef __GNUC__ -#define LINKER cc -#endif - -/* This is safe since we already assumed HAVE_SOCKET - if using X windows. */ -#undef LIBX11_SYSTEM -#define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lc_s -lsocket - -/* Motif needs -lintl on some (maybe all) ofthese systems. */ -#ifdef HAVE_LIBINTL -#define LIB_MOTIF -lXm -lintl -#endif - -#ifdef HAVE_INET_SOCKETS /* This comes from autoconf. */ -#define HAVE_SOCKETS -#endif - -#ifdef HAVE_SOCKETS -#define LIBS_SYSTEM -lsocket -lPW - -/* SCO has gettimeofday in socket library */ -/* Autoconf should determine this, but for now, - play safe to avoid error rather than deleting this - and risking the wrong result. */ -#ifndef HAVE_GETTIMEOFDAY -#define HAVE_GETTIMEOFDAY -#endif -#endif - -/* This enables configure to tell that we have alloca. */ -#ifndef LIBS_SYSTEM -#define LIBS_SYSTEM -lPW -#endif - -/* configure can't get this right linking fails unless -lsocket is used. */ -#undef HAVE_XSCREENNUMBEROFSCREEN -#define HAVE_XSCREENNUMBEROFSCREEN - -/* We don't have -loldX, and we don't need it. */ -#define LIB_XMENU_LIB - -/* SCO does have TIOCGWINSZ. */ -#undef BROKEN_TIOCGWINSZ -#define NEED_PTEM_H - -/* We need to link with crt1.o and crtn.o. */ -#define START_FILES pre-crt0.o /lib/crt1.o -#define LIB_STANDARD -lc /lib/crtn.o - -/* Send signals to subprocesses by "typing" signal chars at them. */ -#define SIGNALS_VIA_CHARACTERS - -/* Specify program for etc/fakemail to run. Define SMAIL if you are - using smail, don't for MMDF. */ - -#ifdef SMAIL -#define MAIL_PROGRAM_NAME "/bin/smail -q0" -#else -#define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail" -#endif - -/* Tell process_send_signal to use VSUSP instead of VSWTCH. */ -#define PREFER_VSUSP - -/* wjs@wang.com (William Smith) says this is needed on 3.2.4.2. */ -#define POSIX_SIGNALS - -/* wjs@wiis.wang.com says SCO 3.2 v4.2 "has sockets", - but only for network connections. - It doesn't have the kind of sockets that emacsclient.c - and emacsserver.c would use. */ -#define NO_SOCKETS_IN_FILE_SYSTEM - -#define NARROWPROTO 1 - -/* arch-tag: 4dd6fe94-bcb7-4be0-942a-ff4bc3cd914e - (do not change this comment) */ diff --git a/src/s/sco5.h b/src/s/sco5.h deleted file mode 100644 index 1f56a998014..00000000000 --- a/src/s/sco5.h +++ /dev/null @@ -1,175 +0,0 @@ -/* System description file for SCO 3.2v5. - Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, 2006, - 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Mark Diekhans <markd@grizzly.com>. */ - -/* SCO is sort of like SVR3. */ -#include "usg5-3.h" -#define SCO_R5 - -#if 0 /* Turned off rather than make the Lisp code check for this. -- rms. - I am assuming that (at least most of) the tests for usg-unix-v - do the right thing for sco3.2v4 also. Things that *might* be wrong - as a result of turning off these lines include the values of - ange-ftp-remote-shell-file-name (now remsh) - dired-chown-program (now just chown) - lpr-command (now lp) - nntp-buggy-select (now t) - rmail-spool-directory (now /usr/mail?) - and the actions of the function print-region-1. */ - -/* SYSTEM_TYPE should indicate the kind of system you are using. */ -#undef SYSTEM_TYPE -#define SYSTEM_TYPE "SCO 3.2v4" -#endif - -/* SCO supports job control. */ -#undef NOMULTIPLEJOBS - -/* SCO has termios. */ -#define HAVE_TERMIOS - -/* SCO has ptys with unusual names. */ -#define HAVE_PTYS - -#define PTY_ITERATION \ - for (i = 0; ; i++) -#define PTY_NAME_SPRINTF \ - sprintf (pty_name, "/dev/ptyp%d", i); -#define PTY_TTY_NAME_SPRINTF \ - sprintf (pty_name, "/dev/ttyp%d", i); - -/* Sockets are an option on SCO. If you have X, you have them. - They also exist if you have TCP, but we don't know how to test - for that. */ -#ifdef HAVE_X_WINDOWS -#define HAVE_SOCKETS -#endif - -#ifndef __GNUC__ -#define LINKER ld -#endif - -/* This is safe since we already assumed HAVE_SOCKET - if using X windows. */ -#undef LIBX11_SYSTEM -#define LIBX11_SYSTEM_COMMON -lpt -lnls -lnsl -lc -lsocket -#ifdef MOTIF -# define LIBX11_SYSTEM -lgen LIBX11_SYSTEM_COMMON -#else /* ndef MOTIF */ -# define LIBX11_SYSTEM LIBX11_SYSTEM_COMMON -#endif /* ndef MOTIF */ - -#undef LIB_X11_LIB -#define LIB_X11_LIB -lX11 - -#ifdef HAVE_INET_SOCKETS /* This comes from autoconf. */ -#define HAVE_SOCKETS -#endif - -#ifdef HAVE_SOCKETS -#define LIBS_SYSTEM -lsocket -lPW -#endif - -#ifndef HAVE_GETTIMEOFDAY -#define HAVE_GETTIMEOFDAY -#endif - -/* This enables configure to tell that we have alloca. */ -#ifndef LIBS_SYSTEM -#define LIBS_SYSTEM -lPW -#endif - -/* configure can't get this right linking fails unless -lsocket is used. */ -#undef HAVE_XSCREENNUMBEROFSCREEN -#define HAVE_XSCREENNUMBEROFSCREEN - -/* We don't have -loldX, and we don't need it. */ -#define LIB_XMENU_LIB - -/* SCO does have TIOCGWINSZ. */ -#undef BROKEN_TIOCGWINSZ -#define NEED_PTEM_H - -/* We need to link with crt1.o and crtn.o. */ -#define START_FILES pre-crt0.o /lib/crt1.o -#define LIB_STANDARD -lc /lib/crtn.o - -/* Send signals to subprocesses by "typing" signal chars at them. */ -#define SIGNALS_VIA_CHARACTERS - -/* Specify program for etc/fakemail to run. Define SMAIL if you are - using smail, don't for MMDF. */ - -#ifdef SMAIL -#define MAIL_PROGRAM_NAME "/bin/smail -q0" -#else -#define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail" -#endif - -/* Tell process_send_signal to use VSUSP instead of VSWTCH. */ -#define PREFER_VSUSP - -/* SCO Unix has Posix signals, but in 3.2.5 something broken that causes - * all keyboard-quit signals to be lost after the first one. */ -#undef POSIX_SIGNALS - -#define SIGMASKTYPE long - -#ifndef NOT_C_CODE -extern SIGMASKTYPE sigprocmask_set; -#endif /* not NOT_C_CODE */ - -#define sigblock(sig) \ - (sigprocmask_set = SIGEMPTYMASK | (sig), \ - sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL)) -#define sigunblock(sig) \ - (sigprocmask_set = SIGFULLMASK & ~(sig), \ - sigprocmask (SIG_SETMASK, &sigprocmask_set, NULL)) - -#ifndef PENDING_OUTPUT_COUNT -#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base) -#endif - -/* Use ELF and get real shared libraries */ - -#undef COFF -#define ELF - -#define UNEXEC unexelf.o - -#ifndef __GNUC__ -#define C_SWITCH_SYSTEM -belf -#define LD_SWITCH_SYSTEM -belf -#endif - -/* Don't disable static function, as SCO's header files have some.*/ -#undef static - -#undef START_FILES -#define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/values-Xt.o -#undef LIB_STANDARD -#define LIB_STANDARD -lc /usr/ccs/lib/crtn.o - -#define NARROWPROTO 1 - -/* arch-tag: 930541b5-52d9-4cbe-b73c-f4c72091f5df - (do not change this comment) */ diff --git a/src/s/sunos4-0.h b/src/s/sunos4-0.h deleted file mode 100644 index bf77812f32c..00000000000 --- a/src/s/sunos4-0.h +++ /dev/null @@ -1,75 +0,0 @@ -/* Definitions file for GNU Emacs running on sunos 4.0. - - Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, - 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - - -#include "bsd4-2.h" - -#ifndef SUNOS4 -#define SUNOS4 -#endif - -#if 0 /* This may have been needed for an earlier version of Sun OS 4. - It seems to cause warnings in 4.0.3 and 4.1. */ -#define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */ -#endif - -/* We use the Sun syntax -Bstatic unconditionally, because even when we - use GCC, these are passed through to the linker, not handled by GCC - directly. */ -#define LD_SWITCH_SYSTEM -Bstatic - -/* We use this for linking temacs, but not for other programs - or for tests in configure. */ -#define LD_SWITCH_SYSTEM_TEMACS -e __start - -/* In SunOS 4.1, a static function called by tzsetwall reportedly - clears the byte just past an eight byte region it mallocs, corrupting - GNU malloc's memory pool. But Sun's malloc doesn't seem to mind. */ - -#define SYSTEM_MALLOC - -/* SunOS 4.x cc <stdlib.h> declares abort and free to return int. */ - -#ifndef __STDC__ -#define ABORT_RETURN_TYPE int -#define FREE_RETURN_TYPE int -#endif - -#ifdef __GNUC__ -/* We must define mkdir with this arg prototype - to match GCC's fixed stat.h. */ -#define MKDIR_PROTOTYPE \ - int mkdir (const char *dpath, unsigned short dmode) -#endif /* __GNUC__ */ - -/* Must use the system's termcap, if we use any termcap. - It does special things. */ - -#ifndef TERMINFO -#define LIBS_TERMCAP -ltermcap -#endif - -#define GC_SETJMP_WORKS 1 -#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS - -/* arch-tag: 362f3bfc-810d-4f6e-9b83-5a32f8f1a926 - (do not change this comment) */ diff --git a/src/s/sunos4-1.h b/src/s/sunos4-1.h deleted file mode 100644 index 2e41c55bbfe..00000000000 --- a/src/s/sunos4-1.h +++ /dev/null @@ -1,36 +0,0 @@ -#include "sunos4-0.h" - -/* Cause the compilation of oldxmenu to use the right -I option. */ -#define OLDXMENU_OPTIONS CFLAGS=C_SWITCH_SYSTEM - -#if 0 /* This isn't right. Apparently some sites do have -lresolv - but don't use that. On those systems, the code below loses. - There's no way to win automatically unless someone - figures out a way of determining automatically which way is right - on any given system. */ -/* Some systems do not run the Network Information Service, but have - modified the shared C library to include resolver support without - also changing the C archive library (/usr/lib/libc.a). If we - detect the presence of libresolv.a, use -lresolv to supplement libc.a. - - We used to have #ifdef HAVE_GETHOSTNAME is to prevent configure from - setting libsrc_libs to -lresolv in lib-src/Makefile. But nowadays - configure is smarter about computing libsrc_libs, and would not - be fooled. Anyway, why not use -lresolv in lib-src? */ -/* #ifdef HAVE_GETHOSTNAME */ -#ifdef HAVE_LIBRESOLV -#define LIBS_SYSTEM -lresolv -#endif -/* #endif */ -#endif - -#if 0 /* Not necessary, since SYSTEM_MALLOC is defined in sunos4-0.h. */ -/* Tell GNU malloc to compensate for a bug in localtime. */ -#define SUNOS_LOCALTIME_BUG -#endif - -/* Define dlopen, dlclose, dlsym. */ -#define USE_DL_STUBS - -/* arch-tag: 154e2eb2-2180-4d66-90b9-7e56a22004f2 - (do not change this comment) */ diff --git a/src/s/sunos413.h b/src/s/sunos413.h deleted file mode 100644 index 9f40f2fa3af..00000000000 --- a/src/s/sunos413.h +++ /dev/null @@ -1,16 +0,0 @@ -#include "sunos4-1.h" - -/* jik@gza.com says this works now. */ -/* The bug that corrupts GNU malloc's memory pool is fixed in SunOS 4.1.3. */ - -#undef SYSTEM_MALLOC - -/* barrie@calvin.demon.co.uk says memmove is missing. */ -#ifndef SYSTEM_MALLOC -#define MEMMOVE_MISSING -#endif - -#define USE_MMAP_FOR_BUFFERS 1 - -/* arch-tag: ebd184b0-9084-4306-8e71-c0437330e1e1 - (do not change this comment) */ diff --git a/src/s/sunos4shr.h b/src/s/sunos4shr.h deleted file mode 100644 index 5ebbae3a0a2..00000000000 --- a/src/s/sunos4shr.h +++ /dev/null @@ -1,84 +0,0 @@ -/* -Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, - 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - - -/* This file permits building Emacs with a shared libc on Sunos 4. - To make this work, you must completely replace your C shared library - using one of the SunOS 4.1.x jumbo replacement patches from Sun. - Here are the patch numbers for Sunos 4.1.3: - 100890-10 SunOS 4.1.3: domestic libc jumbo patch - 100891-10 SunOS 4.1.3: international libc jumbo patch */ - - -#include "sunos4-1.h" - -/* Say that the text segment of a.out includes the header; - the header actually occupies the first few bytes of the text segment - and is counted in hdr.a_text. */ - -/* Misleading! Actually gets loaded after crt0.o */ -#define START_FILES pre-crt0.o - -/* - * Kludge! can't get at symbol "start" in std crt0.o - * Who the #$%&* decided to remove the __ characters! - * Someone needs to fix this in sysdep.c with an #ifdef BROKEN_START in - * sysdep.c. We do not use this address so any value should do really. Still - * may need it in the future? - */ -#define BROKEN_START -#define TEXT_START 0x2020 - -#define UNEXEC unexsunos4.o -#define RUN_TIME_REMAP -#define ORDINARY_LINK -#define SUNOS4_SHARED_LIBRARIES - -#undef LD_SWITCH_SYSTEM -#undef LD_SWITCH_SYSTEM_TEMACS - -#undef SYSTEM_MALLOC -#ifndef GNU_MALLOC -#define GNU_MALLOC -#endif -#ifndef REL_ALLOC -#define REL_ALLOC -#endif - -/* khera@cs.duke.edu says this is needed. */ -#define memmove(to, from, size) bcopy (from, to, size) - -#undef USE_DL_STUBS - -#ifndef HAVE_X11R6 -/* With X11R5 it was reported that linking -lXmu dynamically - did not work. With X11R6, it does work; and since normally - only the dynamic libraries are available, we should use them. */ -#ifdef __GNUC__ -#define LIBXMU -Xlinker -Bstatic -lXmu -Xlinker -Bdynamic -#else -#define LIBXMU -Bstatic -lXmu -Bdynamic -#endif - -#endif /* not HAVE_X11R6 */ - -/* arch-tag: cb54321a-ed45-4c17-a23e-1c157758da78 - (do not change this comment) */ diff --git a/src/s/umax.h b/src/s/umax.h deleted file mode 100644 index aa73faa4917..00000000000 --- a/src/s/umax.h +++ /dev/null @@ -1,170 +0,0 @@ -/* Definitions file for GNU Emacs running on UMAX 4.2 - Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, - 2005, 2006, 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - - -/* - * Define symbols to identify the version of Unix this is. - * Define all the symbols that apply correctly. - */ - -/* #define UNIPLUS */ -/* #define USG5 */ -/* #define USG */ -/* #define BSD4_1 */ -#define BSD4_2 -/* #define BSD4_3 */ -#define BSD_SYSTEM -#define UMAX4_2 -#define UMAX -/* #define VMS */ - -/* SYSTEM_TYPE should indicate the kind of system you are using. - It sets the Lisp variable system-type. */ - -#define SYSTEM_TYPE "berkeley-unix" - -/* NOMULTIPLEJOBS should be defined if your system's shell - does not have "job control" (the ability to stop a program, - run some other program, then continue the first one). */ - -/* #define NOMULTIPLEJOBS */ - -/* Emacs can read input using SIGIO and buffering characters itself, - or using CBREAK mode and making C-g cause SIGINT. - The choice is controlled by the variable interrupt_input. - Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) - - SIGIO can be used only on systems that implement it (4.2 and 4.3). - CBREAK mode has two disadvantages - 1) At least in 4.2, it is impossible to handle the Meta key properly. - I hear that in system V this problem does not exist. - 2) Control-G causes output to be discarded. - I do not know whether this can be fixed in system V. - - Another method of doing input is planned but not implemented. - It would have Emacs fork off a separate process - to read the input and send it to the true Emacs process - through a pipe. -*/ - -#define INTERRUPT_INPUT - -/* Letter to use in finding device name of first pty, - if system supports pty's. 'a' means it is /dev/ptya0 */ - -#define FIRST_PTY_LETTER 'p' - -/* - * Define HAVE_PTYS if the system supports pty devices. - */ - -#define HAVE_PTYS - -/* Define this macro if system defines a type `union wait'. */ - -#define HAVE_UNION_WAIT - -/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ - -#define HAVE_SOCKETS - -/* - * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate - * The 4.2 opendir, etc., library functions. - */ - -/* #define NONSYSTEM_DIR_LIBRARY */ - -/* Define this symbol if your system has the functions bcopy, etc. */ - -#define BSTRING - -/* subprocesses should be defined if you want to - have code for asynchronous subprocesses - (as used in M-x compile and M-x shell). - This is generally OS dependent, and not supported - under most USG systems. */ - -#define subprocesses - -/* If your system uses COFF (Common Object File Format) then define the - preprocessor symbol "COFF". */ - -#define COFF - -/* define MAIL_USE_FLOCK if the mailer uses flock - to interlock access to /usr/spool/mail/$USER. - The alternative is that a lock file named - /usr/spool/mail/$USER.lock. */ - -#define MAIL_USE_FLOCK - -/* Define CLASH_DETECTION if you want lock files to be written - so that Emacs can tell instantly when you try to modify - a file that someone else has modified in his Emacs. */ - -#define CLASH_DETECTION - -/* The file containing the kernel's symbol table is called /vmunix. */ - -#define KERNEL_FILE "/vmunix" - -/* The symbol in the kernel where the load average is found - is named _avenrun. */ - -#define LDAV_SYMBOL "_avenrun" - -/* Here, on a separate page, add any special hacks needed - to make Emacs work on this system. For example, - you might define certain system call names that don't - exist on your system, or that do different things on - your system and must be used only through an encapsulation - (Which you should place, by convention, in sysdep.c). */ - -/* Specify alignment requirement for start of text and data sections - in the executable file. */ - -#define SECTION_ALIGNMENT pagemask - - -#define SEGMENT_MASK (64 * 1024 - 1) - - -/* crt0.c needs this for compilation because it uses asm. */ - -#define C_SWITCH_ASM -q nodirect_code - -/* Encore machines with APC processor boards align sections on 4M - boundaries, so it is not easy to remap the start of the text segment - in the unexec() routine. For them you need the following two lines. - For DPC processors you can enable these or not, as you wish, but - you will get better performance without them. */ - -/* #define NO_REMAP - #define TEXT_START 0 -*/ - -/* Process groups work in the traditional BSD manner. */ - -#define BSD_PGRPS - -/* arch-tag: 2860edda-ce9e-4cfa-943d-3a06c7045854 - (do not change this comment) */ diff --git a/src/s/unipl5-2.h b/src/s/unipl5-2.h deleted file mode 100644 index 5730fa65284..00000000000 --- a/src/s/unipl5-2.h +++ /dev/null @@ -1,160 +0,0 @@ -/* Definitions file for GNU Emacs running on UniSoft's UniPlus 5.2 - Copyright (C) 1985, 1986, 1999, 2001, 2002, 2003, 2004, - 2005, 2006, 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - - -/* - * Define symbols to identify the version of Unix this is. - * Define all the symbols that apply correctly. - */ - -#define USG /* System III, System V, etc */ - -#define USG5 - -#define UNIPLUS - -/* SYSTEM_TYPE should indicate the kind of system you are using. - It sets the Lisp variable system-type. */ - -#define SYSTEM_TYPE "unisoft-unix" - -/* nomultiplejobs should be defined if your system's shell - does not have "job control" (the ability to stop a program, - run some other program, then continue the first one). */ - -/* #define NOMULTIPLEJOBS */ - -/* Default is to set interrupt_input to 0: don't do input buffering within Emacs */ - -/* #define INTERRUPT_INPUT */ - -/* Letter to use in finding device name of first pty, - if system supports pty's. 'p' means it is /dev/ptyp0 */ - -#define FIRST_PTY_LETTER 'p' - -/* - * Define HAVE_TERMIO if the system provides sysV-style ioctls - * for terminal control. - */ - -#define HAVE_TERMIO - -/* - * Define HAVE_PTYS if the system supports pty devices. - */ - -#define HAVE_PTYS - -/* Define this macro if system defines a type `union wait'. */ - -#define HAVE_UNION_WAIT - -/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ - -/* #define HAVE_SOCKETS */ - -/* - * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate - * The 4.2 opendir, etc., library functions. - */ - -#define NONSYSTEM_DIR_LIBRARY - -/* Define this symbol if your system has the functions bcopy, etc. */ - -/* #define BSTRING */ - -/* subprocesses should be defined if you want to - have code for asynchronous subprocesses - (as used in M-x compile and M-x shell). - This is generally OS dependent, and not supported - under most USG systems. It is supported under UniPlus - System V Release 2. */ - -#define subprocesses - -/* If your system uses COFF (Common Object File Format) then define the - preprocessor symbol "COFF". */ - -#define COFF - -/* define MAIL_USE_FLOCK if the mailer uses flock - to interlock access to /usr/spool/mail/$USER. - The alternative is that a lock file named - /usr/spool/mail/$USER.lock. */ - -/* #define MAIL_USE_FLOCK */ - -/* Define CLASH_DETECTION if you want lock files to be written - so that Emacs can tell instantly when you try to modify - a file that someone else has modified in his Emacs. */ - -/* #define CLASH_DETECTION */ - -/* Uniplus 5.2 supports long names in C */ - -/* #define SHORTNAMES */ - -/* The file containing the kernel's symbol table is called /unix. */ - -#define KERNEL_FILE "/unix" - -/* The symbol in the kernel where the load average is found - is named avenrun. */ - -#define LDAV_SYMBOL "avenrun" - -/* Special hacks needed to make Emacs run on this system. */ - -/* - * Make the sigsetmask function go away. Don't know what the - * ramifications of this are, but doesn't seem possible to - * emulate it properly anyway at this point. - */ - -#define sigsetmask(mask) /* Null expansion */ - -/* setjmp and longjmp can safely replace _setjmp and _longjmp, - but they will run slower. */ - -#define _setjmp setjmp -#define _longjmp longjmp - -/* On USG systems these have different names */ - -#define index strchr -#define rindex strrchr - -/* Compiler bug bites when default ADDR_CORRECT is used. */ - -#define ADDR_CORRECT(x) (x) - -/* Special library needed for linking for Uniplus */ - -#define LIBS_SYSTEM -lnet - -/* A system-specific loader switch is needed. */ - -#define LD_SWITCH_SYSTEM -N -L/lib/libg /usr/lib/unshared.ld - -/* arch-tag: d3f952a9-fef5-45d5-9c1e-c1c32bfef86c - (do not change this comment) */ diff --git a/src/s/xenix.h b/src/s/xenix.h deleted file mode 100644 index c5b3cf225e0..00000000000 --- a/src/s/xenix.h +++ /dev/null @@ -1,212 +0,0 @@ -/* Definitions file for GNU Emacs running SCO Xenix 386 Release 2.2 - Copyright (C) 1988, 1999, 2001, 2002, 2003, 2004, - 2005, 2006, 2007 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* - * Define symbols to identify the version of Unix this is. - * Define all the symbols that apply correctly. - */ - -/* #define UNIPLUS */ -#define XENIX -#define USG5 -#define USG -/* #define HPUX */ -/* #define UMAX */ -/* #define BSD4_1 */ -/* #define BSD4_2 */ -/* #define BSD4_3 */ -/* #define BSD_SYSTEM */ -/* #define VMS */ - -/* SYSTEM_TYPE should indicate the kind of system you are using. - It sets the Lisp variable system-type. */ - -#define SYSTEM_TYPE "xenix" - -/* NOMULTIPLEJOBS should be defined if your system's shell - does not have "job control" (the ability to stop a program, - run some other program, then continue the first one). */ - -#define NOMULTIPLEJOBS - -/* Emacs can read input using SIGIO and buffering characters itself, - or using CBREAK mode and making C-g cause SIGINT. - The choice is controlled by the variable interrupt_input. - Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) - - SIGIO can be used only on systems that implement it (4.2 and 4.3). - CBREAK mode has two disadvantages: - 1) At least in 4.2, it is impossible to handle the Meta key properly. - I hear that in system V this problem does not exist. - 2) Control-G causes output to be discarded. - I do not know whether this can be fixed in system V. - - Another method of doing input is planned but not implemented. - It would have Emacs fork off a separate process - to read the input and send it to the true Emacs process - through a pipe. -*/ - -/* #define INTERRUPT_INPUT */ - -/* Letter to use in finding device name of first pty, - if system supports pty's. 'p' means it is /dev/ptyp0 */ - -/* #define FIRST_PTY_LETTER 'p' */ - -/* - * Define HAVE_TERMIO if the system provides sysV-style ioctls - * for terminal control. - */ - -#define HAVE_TERMIO - -/* - * Define HAVE_PTYS if the system supports pty devices. - */ - -/* #define HAVE_PTYS */ - -/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ - -/* #define HAVE_SOCKETS */ - -/* - * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate - * The 4.2 opendir, etc., library functions. - */ - -#define NONSYSTEM_DIR_LIBRARY - -/* Define this symbol if your system has the functions bcopy, etc. */ - -/* #define BSTRING */ - -/* subprocesses should be defined if you want to - have code for asynchronous subprocesses - (as used in M-x compile and M-x shell). - This is supposed to work now on system V release 2. */ - -#define subprocesses - -/* If your system uses COFF (Common Object File Format) then define the - preprocessor symbol "COFF". */ - -/* #define COFF */ - -/* Xenix requires completely different unexec code - which lives in a separate file. Specify the file name. */ - -#define UNEXEC unexenix.o - -/* define MAIL_USE_FLOCK if the mailer uses flock - to interlock access to /usr/spool/mail/$USER. - The alternative is that a lock file named - /usr/spool/mail/$USER.lock. */ - -#define MAIL_USE_FLOCK - -/* Define CLASH_DETECTION if you want lock files to be written - so that Emacs can tell instantly when you try to modify - a file that someone else has modified in his Emacs. */ - -/* The way this is implemented requires long filenames... */ -/* #define CLASH_DETECTION */ - -/* Define SHORTNAMES if the C compiler can distinguish only - short names. It means that the stuff in ../shortnames - must be run to convert the long names to short ones. */ - -/* #define SHORTNAMES */ - -/* Compensate for one incompatibility between Xenix and V.0. */ -#define n_zeroes n_name[0] - -/* The file containing the kernel's symbol table is called /xenix. */ - -#define KERNEL_FILE "/xenix" - -/* The symbol in the kernel where the load average is found - is named avenrun. */ - -#define LDAV_SYMBOL "_avenrun" - -/* Special hacks needed to make Emacs run on this system. */ - -/* - * Make the sigsetmask function go away. Don't know what the - * ramifications of this are, but doesn't seem possible to - * emulate it properly anyway at this point. - */ - -#define sigsetmask(mask) /* Null expansion */ - -/* setjmp and longjmp can safely replace _setjmp and _longjmp, - but they will run slower. */ - -#define _setjmp setjmp -#define _longjmp longjmp - -/* On USG systems these have different names */ - -#define index strchr -#define rindex strrchr - -/* Compiler bug bites on many systems when default ADDR_CORRECT is used. */ - -#define ADDR_CORRECT(x) (x) - -/* Prevent -lg from being used for debugging. Not implemented? */ - -#define LIBS_DEBUG - -/* Switches for linking temacs. */ - -#define LD_SWITCH_SYSTEM -i - -/* Xenix implements sysV style IPC. */ - -#define HAVE_SYSVIPC - -/* Use terminfo instead of termcap. */ - -/* Tell Emacs to use Terminfo. */ - -#define TERMINFO - -/* Tell Xenix curses to BE Terminfo. */ -#define M_TERMINFO - -/* Control program name for etc/fakemail to run. */ - -#ifdef SMAIL -#define MAIL_PROGRAM_NAME "/usr/bin/smail -q0" -#else -#define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail" -#endif - -/* Some variants have TIOCGETC, but the structures to go with it - are not declared. */ - -#define BROKEN_TIOCGETC - -/* arch-tag: 71d3985d-4e53-4572-8276-5dce26bbd076 - (do not change this comment) */ |