add cpio to subdirectory list
[unix-history] / usr / src / bin / csh / char.c
CommitLineData
b79f4fa9
DF
1/*
2 * Copyright (c) 1980 Regents of the University of California.
094e80ed 3 * All rights reserved. The Berkeley Software License Agreement
b79f4fa9
DF
4 * specifies the terms and conditions for redistribution.
5 */
6
f1415978 7#ifndef lint
c2dc294d 8static char *sccsid = "@(#)char.c 5.3 (Berkeley) %G%";
094e80ed 9#endif
f1415978
EW
10
11#include "sh.char.h"
12
c2dc294d 13unsigned short _cmap[256] = {
f1415978
EW
14/* nul soh stx etx */
15 0, 0, 0, 0,
16
17/* eot enq ack bel */
18 0, 0, 0, 0,
19
20/* bs ht nl vt */
21 0, _SP|_META, _NL|_META, 0,
22
23/* np cr so si */
24 0, 0, 0, 0,
25
26/* dle dc1 dc2 dc3 */
27 0, 0, 0, 0,
28
29/* dc4 nak syn etb */
30 0, 0, 0, 0,
31
32/* can em sub esc */
33 0, 0, 0, 0,
34
35/* fs gs rs us */
36 0, 0, 0, 0,
37
38/* sp ! " # */
39 _SP|_META, 0, _Q, _META,
40
41/* $ % & ' */
42 _DOL, 0, _META, _Q,
43
44/* ( ) * + */
45 _META, _META, _GLOB, 0,
46
47/* , - . / */
48 0, 0, 0, 0,
49
50/* 0 1 2 3 */
c2dc294d 51 _DIG, _DIG, _DIG, _DIG,
f1415978
EW
52
53/* 4 5 6 7 */
c2dc294d 54 _DIG, _DIG, _DIG, _DIG,
f1415978
EW
55
56/* 8 9 : ; */
c2dc294d 57 _DIG, _DIG, 0, _META,
f1415978
EW
58
59/* < = > ? */
60 _META, 0, _META, _GLOB,
61
62/* @ A B C */
c2dc294d 63 0, _LET, _LET, _LET,
f1415978
EW
64
65/* D E F G */
c2dc294d 66 _LET, _LET, _LET, _LET,
f1415978
EW
67
68/* H I J K */
c2dc294d 69 _LET, _LET, _LET, _LET,
f1415978
EW
70
71/* L M N O */
c2dc294d 72 _LET, _LET, _LET, _LET,
f1415978
EW
73
74/* P Q R S */
c2dc294d 75 _LET, _LET, _LET, _LET,
f1415978
EW
76
77/* T U V W */
c2dc294d 78 _LET, _LET, _LET, _LET,
f1415978
EW
79
80/* X Y Z [ */
c2dc294d 81 _LET, _LET, _LET, _GLOB,
f1415978
EW
82
83/* \ ] ^ _ */
c2dc294d 84 _ESC, 0, 0, _LET,
f1415978
EW
85
86/* ` a b c */
c2dc294d 87 _Q1|_GLOB, _LET, _LET, _LET,
f1415978
EW
88
89/* d e f g */
c2dc294d 90 _LET, _LET, _LET, _LET,
f1415978
EW
91
92/* h i j k */
c2dc294d 93 _LET, _LET, _LET, _LET,
f1415978
EW
94
95/* l m n o */
c2dc294d 96 _LET, _LET, _LET, _LET,
f1415978
EW
97
98/* p q r s */
c2dc294d 99 _LET, _LET, _LET, _LET,
f1415978
EW
100
101/* t u v w */
c2dc294d 102 _LET, _LET, _LET, _LET,
f1415978
EW
103
104/* x y z { */
c2dc294d 105 _LET, _LET, _LET, _GLOB,
f1415978
EW
106
107/* | } ~ del */
108 _META, 0, 0, 0,
109};