sverre@lars.Seri.GOV (Sverre Froyen) (06/18/91)
And the readline diffs.
--
Sverre Froyen
sverre@seri.gov, sunpeaks!seri!sverre
#! /bin/sh
# This is a shell archive. Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file". To overwrite existing
# files, type "sh file -c". You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g.. If this archive is complete, you
# will see the following message at the end:
# "End of shell archive."
# Contents: readline.diff
# Wrapped by sverre@lars on Mon Jun 17 22:33:58 1991
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f readline.diff -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"readline.diff\"
else
echo shar: Extracting \"readline.diff\" \(1157 characters\)
sed "s/^X//" >readline.diff <<'END_OF_readline.diff'
X*** 1.1 1991/05/28 19:09:26
X--- readline.c 1991/05/29 19:52:52
X***************
X*** 46,52 ****
X--- 46,55 ----
X
X #if defined (HAVE_UNISTD_H)
X #include <unistd.h>
X+ #if defined (MINIX)
X+ #undef _POSIX_VERSION
X #endif
X+ #endif
X
X #define NEW_TTY_DRIVER
X #define HAVE_BSD_SIGNALS
X***************
X*** 58,64 ****
X #endif
X
X /* System V machines use termio. */
X! #if !defined (_POSIX_VERSION)
X #if defined (USG) || defined (hpux) || defined (Xenix) || defined (sgi) || defined (DGUX)
X #undef NEW_TTY_DRIVER
X #include <termio.h>
X--- 61,67 ----
X #endif
X
X /* System V machines use termio. */
X! #if !defined (_POSIX_VERSION) && !defined (MINIX)
X #if defined (USG) || defined (hpux) || defined (Xenix) || defined (sgi) || defined (DGUX)
X #undef NEW_TTY_DRIVER
X #include <termio.h>
X***************
X*** 82,87 ****
X--- 85,99 ----
X /* Other (BSD) machines use sgtty. */
X #if defined (NEW_TTY_DRIVER)
X #include <sgtty.h>
X+ #endif
X+
X+ #if defined (MINIX)
X+ #if !defined (TIOCSETN)
X+ #define TIOCSETN TIOCSETP
X+ #endif
X+ #if !defined (O_NDELAY)
X+ #define O_NDELAY O_NONBLOCK /* Posix-style non-blocking i/o */
X+ #endif
X #endif
X
X #include <errno.h>
END_OF_readline.diff
if test 1157 -ne `wc -c <readline.diff`; then
echo shar: \"readline.diff\" unpacked with wrong size!
fi
# end of overwriting check
fi
echo shar: End of shell archive.
exit 0