version 1.1, 1994/02/11 16:30:46
|
version 1.2, 1994/05/31 10:55:11
|
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. |
|
*/ |
|
|
|
#ifdef DOMAINOS |
|
#define _POSIX_VERSION |
|
#endif |
|
|
#include <stdio.h> |
#include <stdio.h> |
#include <signal.h> |
#include <signal.h> |
#include <sys/types.h> |
#include <sys/types.h> |
|
#ifndef DOMAINOS |
#include <sys/ioctl.h> |
#include <sys/ioctl.h> |
|
#endif |
#include <fcntl.h> |
#include <fcntl.h> |
#include <sys/file.h> |
#include <sys/file.h> |
|
|
Line 24
|
Line 34
|
|
|
#define NEW_TTY_DRIVER |
#define NEW_TTY_DRIVER |
#define HAVE_BSD_SIGNALS |
#define HAVE_BSD_SIGNALS |
|
#ifndef DOMAINOS |
#define USE_XON_XOFF |
#define USE_XON_XOFF |
|
#endif |
|
|
/* Some USG machines have BSD signal handling (sigblock, sigsetmask, etc.) */ |
/* Some USG machines have BSD signal handling (sigblock, sigsetmask, etc.) */ |
#if defined (USG) && !defined (hpux) |
#if defined (USG) && !defined (hpux) |
Line 89 extern int errno;
|
Line 101 extern int errno;
|
# endif /* USGr3 */ |
# endif /* USGr3 */ |
#endif /* USG && hpux */ |
#endif /* USG && hpux */ |
|
|
#if defined (_POSIX_VERSION) || defined (USGr3) |
#if (defined (_POSIX_VERSION) || defined (USGr3)) && !defined(DOMAINOS) |
# include <dirent.h> |
# include <dirent.h> |
# define direct dirent |
# define direct dirent |
# if defined (_POSIX_VERSION) |
# if defined (_POSIX_VERSION) |