1*55844Sbostic /*- 2*55844Sbostic * Copyright (c) 1992 Henry Spencer. 3*55844Sbostic * Copyright (c) 1992 The Regents of the University of California. 4*55844Sbostic * All rights reserved. 5*55844Sbostic * 6*55844Sbostic * This code is derived from software contributed to Berkeley by 7*55844Sbostic * Henry Spencer of the University of Toronto. 8*55844Sbostic * 9*55844Sbostic * %sccs.include.redist.c% 10*55844Sbostic * 11*55844Sbostic * @(#)cname.h 5.1 (Berkeley) 08/06/92 12*55844Sbostic */ 13*55844Sbostic 14*55844Sbostic /* character-name table */ 15*55844Sbostic static struct cname { 16*55844Sbostic char *name; 17*55844Sbostic uchar code; 18*55844Sbostic } cnames[] = { 19*55844Sbostic "NUL", '\0', 20*55844Sbostic "SOH", '\001', 21*55844Sbostic "STX", '\002', 22*55844Sbostic "ETX", '\003', 23*55844Sbostic "EOT", '\004', 24*55844Sbostic "ENQ", '\005', 25*55844Sbostic "ACK", '\006', 26*55844Sbostic "BEL", '\007', 27*55844Sbostic "alert", '\007', 28*55844Sbostic "BS", '\010', 29*55844Sbostic "backspace", '\b', 30*55844Sbostic "HT", '\011', 31*55844Sbostic "tab", '\t', 32*55844Sbostic "LF", '\012', 33*55844Sbostic "newline", '\n', 34*55844Sbostic "VT", '\013', 35*55844Sbostic "vertical-tab", '\v', 36*55844Sbostic "FF", '\014', 37*55844Sbostic "form-feed", '\f', 38*55844Sbostic "CR", '\015', 39*55844Sbostic "carriage-return", '\r', 40*55844Sbostic "SO", '\016', 41*55844Sbostic "SI", '\017', 42*55844Sbostic "DLE", '\020', 43*55844Sbostic "DC1", '\021', 44*55844Sbostic "DC2", '\022', 45*55844Sbostic "DC3", '\023', 46*55844Sbostic "DC4", '\024', 47*55844Sbostic "NAK", '\025', 48*55844Sbostic "SYN", '\026', 49*55844Sbostic "ETB", '\027', 50*55844Sbostic "CAN", '\030', 51*55844Sbostic "EM", '\031', 52*55844Sbostic "SUB", '\032', 53*55844Sbostic "ESC", '\033', 54*55844Sbostic "IS4", '\034', 55*55844Sbostic "FS", '\034', 56*55844Sbostic "IS3", '\035', 57*55844Sbostic "GS", '\035', 58*55844Sbostic "IS2", '\036', 59*55844Sbostic "RS", '\036', 60*55844Sbostic "IS1", '\037', 61*55844Sbostic "US", '\037', 62*55844Sbostic "space", ' ', 63*55844Sbostic "exclamation-mark", '!', 64*55844Sbostic "quotation-mark", '"', 65*55844Sbostic "number-sign", '#', 66*55844Sbostic "dollar-sign", '$', 67*55844Sbostic "percent-sign", '%', 68*55844Sbostic "ampersand", '&', 69*55844Sbostic "apostrophe", '\'', 70*55844Sbostic "left-parenthesis", '(', 71*55844Sbostic "right-parenthesis", ')', 72*55844Sbostic "asterisk", '*', 73*55844Sbostic "plus-sign", '+', 74*55844Sbostic "comma", ',', 75*55844Sbostic "hyphen", '-', 76*55844Sbostic "hyphen-minus", '-', 77*55844Sbostic "period", '.', 78*55844Sbostic "full-stop", '.', 79*55844Sbostic "slash", '/', 80*55844Sbostic "solidus", '/', 81*55844Sbostic "zero", '0', 82*55844Sbostic "one", '1', 83*55844Sbostic "two", '2', 84*55844Sbostic "three", '3', 85*55844Sbostic "four", '4', 86*55844Sbostic "five", '5', 87*55844Sbostic "six", '6', 88*55844Sbostic "seven", '7', 89*55844Sbostic "eight", '8', 90*55844Sbostic "nine", '9', 91*55844Sbostic "colon", ':', 92*55844Sbostic "semicolon", ';', 93*55844Sbostic "less-than-sign", '<', 94*55844Sbostic "equals-sign", '=', 95*55844Sbostic "greater-than-sign", '>', 96*55844Sbostic "question-mark", '?', 97*55844Sbostic "commercial-at", '@', 98*55844Sbostic "left-square-bracket", '[', 99*55844Sbostic "backslash", '\\', 100*55844Sbostic "reverse-solidus", '\\', 101*55844Sbostic "right-square-bracket", ']', 102*55844Sbostic "circumflex", '^', 103*55844Sbostic "circumflex-accent", '^', 104*55844Sbostic "underscore", '_', 105*55844Sbostic "low-line", '_', 106*55844Sbostic "grave-accent", '`', 107*55844Sbostic "left-brace", '{', 108*55844Sbostic "left-curly-bracket", '{', 109*55844Sbostic "vertical-line", '|', 110*55844Sbostic "right-brace", '}', 111*55844Sbostic "right-curly-bracket", '}', 112*55844Sbostic "tilde", '~', 113*55844Sbostic "DEL", '\177', 114*55844Sbostic NULL, 0, 115*55844Sbostic }; 116