Subversion Repositories tendra.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
#   		 Crown Copyright (c) 1997
2
#   
3
#   This TenDRA(r) Computer Program is subject to Copyright
4
#   owned by the United Kingdom Secretary of State for Defence
5
#   acting through the Defence Evaluation and Research Agency
6
#   (DERA).  It is made available to Recipients with a
7
#   royalty-free licence for its use, reproduction, transfer
8
#   to other parties and amendment for any purpose not excluding
9
#   product development provided that any such use et cetera
10
#   shall be deemed to be acceptance of the following conditions:-
11
#   
12
#       (1) Its Recipients shall ensure that this Notice is
13
#       reproduced upon any copies or amended versions of it;
14
#   
15
#       (2) Any amended version of it shall be clearly marked to
16
#       show both the nature of and the organisation responsible
17
#       for the relevant amendment or amendments;
18
#   
19
#       (3) Its onward transfer from a recipient to another
20
#       party shall be deemed to be that party's acceptance of
21
#       these conditions;
22
#   
23
#       (4) DERA gives no warranty or assurance as to its
24
#       quality or suitability for any purpose and DERA accepts
25
#       no liability whatsoever in relation to any use to which
26
#       it may be put.
27
#
28
+USE "svid3", "sys/types.h" ;
29
+IMPLEMENT "xpg3", "termios.h" ;
30
+IMPLEMENT "posix", "unistd.h", "tcpgrp" (!?) ;
31
 
32
+FUNC pid_t tcgetsid ( int ) ;
33
 
34
+CONST int VEOL2, VSWTCH, VDSUSP, VREPRINT, VDISCARD, VWERASE, VLNEXT ;
35
+CONST int IMAXBEL ;
36
+CONST int CBAUD, CIBAUD, PAREXT ;
37
+CONST int ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN ;
38
 
39
+FIELD struct winsize {
40
    unsigned short ws_row ;
41
    unsigned short ws_col ;
42
    unsigned short ws_xpixel ;
43
    unsigned short ws_ypixel ;
44
} ;
45
 
46
+CONST int TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR ;
47
+CONST int TIOCM_CTS, TIOCM_CAR, TIOCM_RNG, TIOCM_DSR ;
48
+DEFINE TIOCM_CD %% TIOCM_CAR %% ;
49
+DEFINE TIOCM_RI %% TIOCM_RNG %% ;
50
+CONST int TCGETS, TCSETS, TCSETSW, TCSETSF, TCGETA, TCSETA, TCSETAW ;
51
+CONST int TCSETAF, TCSBRK, TCXONC, TCFLSH, TIOCGPGRP, TIOCSPGRP, TIOCGSID ;
52
+CONST int TIOCGWINSZ, TIOCSWINSZ, TIOCMBIS, TIOCMBIC, TIOCMGET, TIOCMSET ;