blob: 420743c178e7e3c9066c149363d7663de39f24a7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
*** ./ada/a-sysdep.c.orig Fri Sep 24 08:42:39 1999
--- ./ada/a-sysdep.c Sat Nov 6 16:27:43 1999
***************
*** 235,241 ****
#endif
#if defined (linux) || defined (sun) || defined (sgi) || defined (__EMX__) \
! || (defined (__osf__) && ! defined (__alpha_vxworks)) || defined (WINNT)
#include <termios.h>
#include <fcntl.h>
#elif defined (VMS)
--- 235,242 ----
#endif
#if defined (linux) || defined (sun) || defined (sgi) || defined (__EMX__) \
! || (defined (__osf__) && ! defined (__alpha_vxworks)) || defined (WINNT) \
! || defined (__FreeBSD__)
#include <termios.h>
#include <fcntl.h>
#elif defined (VMS)
***************
*** 285,291 ****
{
#if defined (linux) || defined (sun) || defined (sgi) || defined (__EMX__) \
|| (defined (__osf__) && ! defined (__alpha_vxworks)) \
! || defined (__CYGWIN32__)
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 (__FreeBSD__)
char c;
int nread;
int good_one = 0;
***************
*** 302,308 ****
/* Set RAW mode */
termios_rec.c_lflag = termios_rec.c_lflag & ~ICANON;
#if defined(sgi) || defined (sun) || defined (__EMX__) || defined (__osf__) \
! || defined (linux)
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 (__FreeBSD__)
eof_ch = termios_rec.c_cc[VEOF];
/* If waiting (i.e. Get_Immediate (Char)), set MIN = 1 and wait for
|