95df74e9ba
Thanks to Samuel Tardieu <sam@inf.enst.fr> for instigating this update and providing some of the changes.
54 lines
2.0 KiB
Plaintext
54 lines
2.0 KiB
Plaintext
*** ada/a-sysdep.c.orig Wed Jul 19 15:09:47 2000
|
||
--- ada/a-sysdep.c Fri Oct 13 08:58:43 2000
|
||
***************
|
||
*** 236,242 ****
|
||
|
||
#if defined (linux) || defined (sun) || defined (sgi) || defined (__EMX__) \
|
||
|| (defined (__osf__) && ! defined (__alpha_vxworks)) || defined (WINNT) \
|
||
! || defined (__MACHTEN__)
|
||
#include <termios.h>
|
||
#include <fcntl.h>
|
||
#elif defined (VMS)
|
||
--- 236,242 ----
|
||
|
||
#if defined (linux) || defined (sun) || defined (sgi) || defined (__EMX__) \
|
||
|| (defined (__osf__) && ! defined (__alpha_vxworks)) || defined (WINNT) \
|
||
! || defined (__MACHTEN__) || defined (__FreeBSD__)
|
||
#include <termios.h>
|
||
#include <fcntl.h>
|
||
#elif defined (VMS)
|
||
***************
|
||
*** 286,292 ****
|
||
{
|
||
#if defined (linux) || defined (sun) || defined (sgi) || defined (__EMX__) \
|
||
|| (defined (__osf__) && ! defined (__alpha_vxworks)) \
|
||
! || defined (__CYGWIN32__) || defined (__MACHTEN__)
|
||
char c;
|
||
int nread;
|
||
int good_one = 0;
|
||
--- 286,292 ----
|
||
{
|
||
#if defined (linux) || defined (sun) || defined (sgi) || defined (__EMX__) \
|
||
|| (defined (__osf__) && ! defined (__alpha_vxworks)) \
|
||
! || defined (__CYGWIN32__) || defined (__MACHTEN__) || defined (__FreeBSD__)
|
||
char c;
|
||
int nread;
|
||
int good_one = 0;
|
||
***************
|
||
*** 303,309 ****
|
||
/* Set RAW mode */
|
||
termios_rec.c_lflag = termios_rec.c_lflag & ~ICANON;
|
||
#if defined(sgi) || defined (sun) || defined (__EMX__) || defined (__osf__) \
|
||
! || defined (linux) || defined (__MACHTEN__)
|
||
eof_ch = termios_rec.c_cc[VEOF];
|
||
|
||
/* If waiting (i.e. Get_Immediate (Char)), set MIN = 1 and wait for
|
||
--- 303,309 ----
|
||
/* Set RAW mode */
|
||
termios_rec.c_lflag = termios_rec.c_lflag & ~ICANON;
|
||
#if defined(sgi) || defined (sun) || defined (__EMX__) || defined (__osf__) \
|
||
! || defined (linux) || defined (__MACHTEN__) || defined (__FreeBSD__)
|
||
eof_ch = termios_rec.c_cc[VEOF];
|
||
|
||
/* If waiting (i.e. Get_Immediate (Char)), set MIN = 1 and wait for
|