1 /*
2  * CDDL HEADER START
3  *
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.
8  *
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.
13  *
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]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright 1997 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 /*	Copyright (c) 1988 AT&T	*/
28 /*	  All Rights Reserved	*/
29 
30 /*
31  * University Copyright- Copyright (c) 1982, 1986, 1988
32  * The Regents of the University of California
33  * All Rights Reserved
34  *
35  * University Acknowledgment- Portions of this document are derived from
36  * software developed by the University of California, Berkeley, and its
37  * contributors.
38  */
39 
40 /*
41  * define unctrl codes for each character
42  *
43  */
44 
45 /* LINTLIBRARY */
46 char	*_unctrl[]	= {	/* unctrl codes for ttys		*/
47 	"^@", "^A", "^B", "^C", "^D", "^E", "^F", "^G", "^H", "^I", "^J", "^K",
48 	"^L", "^M", "^N", "^O", "^P", "^Q", "^R", "^S", "^T", "^U", "^V", "^W",
49 	"^X", "^Y", "^Z", "^[", "^\\", "^]", "^~", "^_",
50 	" ", "!", "\"", "#", "$",  "%", "&", "'", "(", ")", "*", "+", ",", "-",
51 	".", "/", "0",  "1", "2",  "3", "4", "5", "6", "7", "8", "9", ":", ";",
52 	"<", "=", ">",  "?", "@",  "A", "B", "C", "D", "E", "F", "G", "H", "I",
53 	"J", "K", "L",  "M", "N",  "O", "P", "Q", "R", "S", "T", "U", "V", "W",
54 	"X", "Y", "Z",  "[", "\\", "]", "^", "_", "`", "a", "b", "c", "d", "e",
55 	"f", "g", "h",  "i", "j",  "k", "l", "m", "n", "o", "p", "q", "r", "s",
56 	"t", "u", "v",  "w", "x",  "y", "z", "{", "|", "}", "~", "^?"
57 #ifdef DEBUG
58 	,
59 	"M-^@", "M-^A", "M-^B", "M-^C", "M-^D", "M-^E", "M-^F", "M-^G",
60 	"M-^H", "M-^I", "M-^J", "M-^K", "M-^L", "M-^M", "M-^N", "M-^O",
61 	"M-^P", "M-^Q", "M-^R", "M-^S", "M-^T", "M-^U", "M-^V", "M-^W",
62 	"M-^X", "M-^Y", "M-^Z", "M-^[", "M-^\\", "M-^]", "M-^~", "M-^_",
63 	"M- ", "M-!", "M-\"", "M-#", "M-$", "M-%", "M-&", "M-'",
64 	"M-(", "M-)", "M-*", "M-+", "M-,", "M--", "M-.", "M-/",
65 	"M-0", "M-1", "M-2", "M-3", "M-4", "M-5", "M-6", "M-7",
66 	"M-8", "M-9", "M-:", "M-;", "M-<", "M-=", "M->", "M-?",
67 	"M-@", "M-A", "M-B", "M-C", "M-D", "M-E", "M-F", "M-G",
68 	"M-H", "M-I", "M-J", "M-K", "M-L", "M-M", "M-N", "M-O",
69 	"M-P", "M-Q", "M-R", "M-S", "M-T", "M-U", "M-V", "M-W",
70 	"M-X", "M-Y", "M-Z", "M-[", "M-\\", "M-]", "M-^", "M-_",
71 	"M-`", "M-a", "M-b", "M-c", "M-d", "M-e", "M-f", "M-g",
72 	"M-h", "M-i", "M-j", "M-k", "M-l", "M-m", "M-n", "M-o",
73 	"M-p", "M-q", "M-r", "M-s", "M-t", "M-u", "M-v", "M-w",
74 	"M-x", "M-y", "M-z", "M-{", "M-|", "M-}", "M-~", "M-^?"
75 #endif /* DEBUG */
76 };
77