# HG changeset patch # User Paul Reilly # Date 767747295 0 # Node ID 719504ee9111bae9ae9ef5da03f78f18659a4741 # Parent b7d077dccd9e5026164770717281dfd5290a2344 Initial revision diff -r b7d077dccd9e -r 719504ee9111 src/s/dgux5-4R2.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/s/dgux5-4R2.h Sat Apr 30 23:08:15 1994 +0000 @@ -0,0 +1,46 @@ +/* Definitions file for GNU Emacs running on Data General's DG/UX + 5.4 Release 2.xx systems. + Copyright (C) 1994 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 2, 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, 675 Mass Ave, Cambridge, MA 02139, 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 found this + caused trouble on DGUX 5.4.2. */ +#define LIBS_SYSTEM -ldgc +#endif diff -r b7d077dccd9e -r 719504ee9111 src/s/dgux5-4R3.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/s/dgux5-4R3.h Sat Apr 30 23:08:15 1994 +0000 @@ -0,0 +1,59 @@ +/* Definitions file for GNU Emacs running on Data General's DG/UX + version 5.4 Release 3.00 and above. + Copyright (C) 1994 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 2, 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, 675 Mass Ave, Cambridge, MA 02139, 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 wiht 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