Annotation of sys/compat/ultrix/ultrix_tty.h, Revision 1.1.1.1
1.1 nbrk 1: /* $OpenBSD: ultrix_tty.h,v 1.3 1996/08/02 20:35:54 niklas Exp $ */
2: /* $NetBSD: ultrix_tty.h,v 1.2 1996/01/04 19:03:36 jonathan Exp $ */
3:
4: /* From: NetBSD sunos.h,v 1.4 1995/03/04 09:50:00 pk Exp */
5:
6:
7: struct ultrix_ttysize {
8: int ts_row;
9: int ts_col;
10: };
11:
12: /*
13: * Ultrix includes (BRL-derived?) SysV compatibile termio
14: * as well as termios. This is the termio structure.
15: */
16:
17: struct ultrix_termio {
18: u_short c_iflag;
19: u_short c_oflag;
20: u_short c_cflag;
21: u_short c_lflag;
22: char c_line;
23: unsigned char c_cc[10]; /* 8 for SunOS */
24: };
25: #define ULTRIX_TCGETA _IOR('t', 91, struct ultrix_termio)
26: #define ULTRIX_TCSETA _IOW('t', 90, struct ultrix_termio)
27: #define ULTRIX_TCSETAW _IOW('t', 89, struct ultrix_termio)
28: #define ULTRIX_TCSETAF _IOW('t', 88, struct ultrix_termio)
29:
30: /*
31: * Ultrix POSIX-compatible termios.
32: * Very similar to SunOS but with more c_cc entries (gag)
33: */
34: struct ultrix_termios {
35: u_long c_iflag;
36: u_long c_oflag;
37: u_long c_cflag;
38: u_long c_lflag;
39: u_char c_cc[19]; /* 17 for Sun */
40: u_char c_line;
41: };
42:
43: #define ULTRIX_TCXONC _IO('T', 6)
44: #define ULTRIX_TCFLSH _IO('T', 7)
45: #define ULTRIX_TCGETS _IOR('t', 85, struct ultrix_termios)
46: #define ULTRIX_TCSETS _IOW('t', 84, struct ultrix_termios) /* set termios */
47: #define ULTRIX_TCSETSW _IOW('t', 83, struct ultrix_termios) /* Drain&set,*/
48: #define ULTRIX_TCSETSF _IOW('t', 82, struct ultrix_termios) /*Drainflush,set*/
49: #define ULTRIX_TCSNDBRK _IO('T', 12)
50: #define ULTRIX_TCDRAIN _IO('T', 13)
CVSweb