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
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]
22 #pragma ident "%Z%%M% %I% %E% SMI"
25 * User visible structures and constants
26 * related to terminal handling.
29 #ifndef _sys_ttychars_h
30 #define _sys_ttychars_h
33 char tc_erase
; /* erase last character */
34 char tc_kill
; /* erase entire line */
35 char tc_intrc
; /* interrupt */
36 char tc_quitc
; /* quit */
37 char tc_startc
; /* start output */
38 char tc_stopc
; /* stop output */
39 char tc_eofc
; /* end-of-file */
40 char tc_brkc
; /* input delimiter (like nl) */
41 char tc_suspc
; /* stop process signal */
42 char tc_dsuspc
; /* delayed stop process signal */
43 char tc_rprntc
; /* reprint line */
44 char tc_flushc
; /* flush output (toggles) */
45 char tc_werasc
; /* word erase */
46 char tc_lnextc
; /* literal next character */
50 #define CTRL(c) ('c'&037)
54 * default special characters.
55 * guarded because termio[s].h also define these.
61 #define CQUIT 034 /* FS, ^\ */
62 #define CSTART CTRL(q)
68 #define CDSUSP CTRL(y)
69 #define CRPRNT CTRL(r)
70 #define CFLUSH CTRL(o)
71 #define CWERASE CTRL(w)
72 #define CLNEXT CTRL(v)
75 #endif /* !_sys_ttychars_h */