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