Merge commit '00f1a4f432b3d8aad1aa270e91c44c57f03ef407'
[unleashed.git] / usr / src / cmd / csh / sh.char.c
blob8c79005dd7cfbdccb1e5eac61a5c2efb218ce412
1 /*
2 * Copyright 1990 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
4 */
6 /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
7 /* All Rights Reserved */
9 /*
10 * Copyright (c) 1980 Regents of the University of California.
11 * All rights reserved. The Berkeley Software License Agreement
12 * specifies the terms and conditions for redistribution.
15 #pragma ident "%Z%%M% %I% %E% SMI"
17 #include "sh.char.h"
19 unsigned short _cmap[128] = {
20 /* nul soh stx etx */
21 0, 0, 0, 0,
23 /* eot enq ack bel */
24 0, 0, 0, 0,
26 /* bs ht nl vt */
27 0, _SP|_META, _NL|_META, 0,
29 /* np cr so si */
30 0, 0, 0, 0,
32 /* dle dc1 dc2 dc3 */
33 0, 0, 0, 0,
35 /* dc4 nak syn etb */
36 0, 0, 0, 0,
38 /* can em sub esc */
39 0, 0, 0, 0,
41 /* fs gs rs us */
42 0, 0, 0, 0,
44 /* sp ! " # */
45 _SP|_META, 0, _Q, _META,
47 /* $ % & ' */
48 _DOL, 0, _META, _Q,
50 /* ( ) * + */
51 _META, _META, _GLOB, 0,
53 /* , - . / */
54 0, 0, 0, 0,
56 /* 0 1 2 3 */
57 _DIG, _DIG, _DIG, _DIG,
59 /* 4 5 6 7 */
60 _DIG, _DIG, _DIG, _DIG,
62 /* 8 9 : ; */
63 _DIG, _DIG, 0, _META,
65 /* < = > ? */
66 _META, 0, _META, _GLOB,
68 /* @ A B C */
69 0, _LET, _LET, _LET,
71 /* D E F G */
72 _LET, _LET, _LET, _LET,
74 /* H I J K */
75 _LET, _LET, _LET, _LET,
77 /* L M N O */
78 _LET, _LET, _LET, _LET,
80 /* P Q R S */
81 _LET, _LET, _LET, _LET,
83 /* T U V W */
84 _LET, _LET, _LET, _LET,
86 /* X Y Z [ */
87 _LET, _LET, _LET, _GLOB,
89 /* \ ] ^ _ */
90 _ESC, 0, 0, _LET,
92 /* ` a b c */
93 _Q1|_GLOB, _LET, _LET, _LET,
95 /* d e f g */
96 _LET, _LET, _LET, _LET,
98 /* h i j k */
99 _LET, _LET, _LET, _LET,
101 /* l m n o */
102 _LET, _LET, _LET, _LET,
104 /* p q r s */
105 _LET, _LET, _LET, _LET,
107 /* t u v w */
108 _LET, _LET, _LET, _LET,
110 /* x y z { */
111 _LET, _LET, _LET, _GLOB,
113 /* | } ~ del */
114 _META, 0, 0, 0,