version 1.6, 1994/11/29 16:22:41
|
version 1.8, 1995/03/13 09:17:29
|
Line 3
|
Line 3
|
The following is stolen from the readline library for bash |
The following is stolen from the readline library for bash |
*/ |
*/ |
|
|
/* Use -DDOMAINOS for Apollo Domain-OS. |
/* |
Use -D_POSIX_VERSION for POSIX systems. |
Use -D_POSIX_VERSION for POSIX systems. |
*/ |
*/ |
|
|
#ifdef DOMAINOS |
#include <unistd.h> |
|
|
|
#ifdef apollo |
#define _POSIX_VERSION |
#define _POSIX_VERSION |
#endif |
#endif |
|
|
#include <stdio.h> |
#include <stdio.h> |
#include <signal.h> |
#include <signal.h> |
#include <sys/types.h> |
#include <sys/types.h> |
#ifndef DOMAINOS |
#ifndef apollo |
#include <sys/ioctl.h> |
#include <sys/ioctl.h> |
#endif |
#endif |
#include <fcntl.h> |
#include <fcntl.h> |
Line 31
|
Line 33
|
# endif |
# endif |
#endif |
#endif |
|
|
#if defined (HAVE_UNISTD_H) |
|
# include <unistd.h> |
|
#endif |
|
|
|
#define NEW_TTY_DRIVER |
#define NEW_TTY_DRIVER |
#define HAVE_BSD_SIGNALS |
#define HAVE_BSD_SIGNALS |
/* |
/* |
#ifndef DOMAINOS |
#ifndef apollo |
#define USE_XON_XOFF |
#define USE_XON_XOFF |
#endif |
#endif |
*/ |
*/ |
Line 108 extern int errno;
|
Line 106 extern int errno;
|
# endif /* USGr3 */ |
# endif /* USGr3 */ |
#endif /* USG && hpux */ |
#endif /* USG && hpux */ |
|
|
#if (defined (_POSIX_VERSION) || defined (USGr3)) && !defined(DOMAINOS) |
#if (defined (_POSIX_VERSION) || defined (USGr3)) && !defined(apollo) |
# include <dirent.h> |
# include <dirent.h> |
# define direct dirent |
# define direct dirent |
# if defined (_POSIX_VERSION) |
# if defined (_POSIX_VERSION) |