lib: remove unused libnvfru
[unleashed/lotheac.git] / include / sys / ttychars.h
blob24ad590070a60524262384aaef919633331146ba
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
22 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
23 /* All Rights Reserved */
26 * University Copyright- Copyright (c) 1982, 1986, 1988
27 * The Regents of the University of California
28 * All Rights Reserved
30 * University Acknowledgment- Portions of this document are derived from
31 * software developed by the University of California, Berkeley, and its
32 * contributors.
35 #ifndef _SYS_TTYCHARS_H
36 #define _SYS_TTYCHARS_H
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
43 * User visible structures and constants
44 * related to terminal handling.
47 struct ttychars {
48 char tc_erase; /* erase last character */
49 char tc_kill; /* erase entire line */
50 char tc_intrc; /* interrupt */
51 char tc_quitc; /* quit */
52 char tc_startc; /* start output */
53 char tc_stopc; /* stop output */
54 char tc_eofc; /* end-of-file */
55 char tc_brkc; /* input delimiter (like nl) */
56 char tc_suspc; /* stop process signal */
57 char tc_dsuspc; /* delayed stop process signal */
58 char tc_rprntc; /* reprint line */
59 char tc_flushc; /* flush output (toggles) */
60 char tc_werasc; /* word erase */
61 char tc_lnextc; /* literal next character */
64 #ifndef _SYS_TERMIOS_H
66 #define CTRL(c) ((c)&037)
68 /* default BSD special characters */
69 #define CERASE 0177
70 #define CKILL CTRL('u')
71 #define CINTR CTRL('c')
72 #define CQUIT 034 /* FS, ^\ */
73 #define CSTART CTRL('q')
74 #define CSTOP CTRL('s')
75 #define CEOF CTRL('d')
76 #define CEOT CEOF
77 #define CBRK 0377
78 #define CSUSP CTRL('z')
79 #define CDSUSP CTRL('y')
80 #define CRPRNT CTRL('r')
81 #define CFLUSH CTRL('o')
82 #define CWERASE CTRL('w')
83 #define CLNEXT CTRL('v')
84 #define CSTATUS CTRL('t')
86 #endif /* _SYS_TERMIOS_H */
88 #ifdef __cplusplus
90 #endif
92 #endif /* _SYS_TTYCHARS_H */