2 * Copyright 1997 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
6 /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
7 /* All Rights Reserved */
10 * Copyright (c) 1982, 1986 Regents of the University of California.
11 * All rights reserved. The Berkeley software License Agreement
12 * specifies the terms and conditions for redistribution.
17 * User visible structures and constants
18 * related to terminal handling.
21 #ifndef _SYS_TTYCHARS_H
22 #define _SYS_TTYCHARS_H
24 #pragma ident "%Z%%M% %I% %E% SMI"
31 char tc_erase
; /* erase last character */
32 char tc_kill
; /* erase entire line */
33 char tc_intrc
; /* interrupt */
34 char tc_quitc
; /* quit */
35 char tc_startc
; /* start output */
36 char tc_stopc
; /* stop output */
37 char tc_eofc
; /* end-of-file */
38 char tc_brkc
; /* input delimiter (like nl) */
39 char tc_suspc
; /* stop process signal */
40 char tc_dsuspc
; /* delayed stop process signal */
41 char tc_rprntc
; /* reprint line */
42 char tc_flushc
; /* flush output (toggles) */
43 char tc_werasc
; /* word erase */
44 char tc_lnextc
; /* literal next character */
47 #ifndef _SYS_TERMIOS_H
50 #define CTRL(c) ((c) & 037)
53 /* default special characters */
55 #define CKILL CTRL('u')
56 #define CINTR CTRL('c')
57 #define CQUIT 034 /* FS, ^\ */
58 #define CSTART CTRL('q')
59 #define CSTOP CTRL('s')
60 #define CEOF CTRL('d')
63 #define CSUSP CTRL('z')
64 #define CDSUSP CTRL('y')
65 #define CRPRNT CTRL('r')
66 #define CFLUSH CTRL('o')
67 #define CWERASE CTRL('w')
68 #define CLNEXT CTRL('v')
70 #endif /* _SYS_TERMIOS_H */
76 #endif /* _SYS_TTYCHARS_H */