/* Definitions file for GNU Emacs running on IBM AIX version 3.1
- Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 1990, 1999, 2002, 2003, 2004,
+ 2005, 2006 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. No author or distributor
-accepts responsibility to anyone for the consequences of using it
-or for whether it serves any particular purpose or works at all,
-unless he says so in writing. Refer to the GNU Emacs General Public
-License for full details.
+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.
-Everyone is granted permission to copy, modify and redistribute
-GNU Emacs, but only under the conditions described in the
-GNU Emacs General Public License. A copy of this license is
-supposed to have been given to you along with GNU Emacs so you
-can know your rights and responsibilities. It should be in a
-file named COPYING. Among other things, the copyright notice
-and this notice must be preserved on all copies. */
+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. */
/*
/* SYSTEM_TYPE should indicate the kind of system you are using.
It sets the Lisp variable system-type. */
-#define SYSTEM_TYPE "aix-v3"
+#define SYSTEM_TYPE "aix"
/* nomultiplejobs should be defined if your system's shell
/* #define INTERRUPT_INPUT */
-/* Letter to use in finding device name of first pty,
- if system supports pty's. 'p' means it is /dev/ptyp0 */
+/* In AIX, you allocate a pty by opening /dev/ptc to get the master side.
+ To get the name of the slave side, you just ttyname() the master side. */
-#define FIRST_PTY_LETTER 'p'
+#define PTY_ITERATION for (c = 0; !c ; c++)
+#define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc");
+#define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd));
/*
* Define HAVE_TERMIO if the system provides sysV-style ioctls
* for terminal control.
*/
-#define HAVE_TERMIO
-
-/*
- * Define HAVE_TIMEVAL if the system supports the BSD style clock values.
- * Look in <sys/time.h> for a timeval structure.
- */
-
-#define HAVE_TIMEVAL
-
-/*
- * Define HAVE_SELECT if the system supports the `select' system call.
- */
-
-#define HAVE_SELECT
+#define HAVE_TERMIOS
/*
* Define HAVE_PTYS if the system supports pty devices.
/* #define SHORTNAMES */
-/* We do NOT use the Berkeley (and usg5.2.2) interface to nlist. */
-
-/* #define NLIST_STRUCT */
-
/* The file containing the kernel's symbol table is called /unix. */
#define KERNEL_FILE "/unix"
#define _setjmp setjmp
#define _longjmp longjmp
-/* On USG systems the system calls are interruptable by signals
- that the user program has elected to catch. Thus the system call
- must be retried in these cases. To handle this without massive
- changes in the source code, we remap the standard system call names
- to names for our own functions in sysdep.c that do the system call
- with retries. */
-
-#define read sys_read
-#define open sys_open
-#define write sys_write
-
-#define INTERRUPTIBLE_OPEN
-#define INTERRUPTIBLE_IO
-
/* On USG systems these have different names */
#define index strchr
/* #define ADDR_CORRECT(x) (x) */
+#ifndef __GNUC__
#define LINKER cc
+#endif
/* Prevent -lg from being used for debugging. Not needed. */
#define SYSTEM_MALLOC
-/* Use the gethostname system call. */
-#define HAVE_GETHOSTNAME
+/* Include unistd.h, even though we don't define POSIX. */
+#define NEED_UNISTD_H
+
+/* AIX doesn't define this. */
+#define unix 1
+
+/* AIX 3.1 has the HFT features. */
+#define AIXHFT
+
+/* For unexaix.c. */
+#define ALIGN_DATA_RELOC
+
+/* arch-tag: bfff798c-542d-4290-91f2-267394c85b7b
+ (do not change this comment) */