Annotation of 40BSD/cmd/troff/ntab.c, revision 1.1.1.1

1.1       root        1: #define BYTE 8
                      2: #define PAIR(A,B) (A|(B<<BYTE))
                      3: /*
                      4: character name tables
                      5: modified for BTL special font version 4
                      6: and Commercial II
                      7: */
                      8: 
                      9: 
                     10: int chtab [] = {
                     11: PAIR('h','y'), 0200,   /*hyphen*/
                     12: PAIR('b','u'), 0201,   /*bullet*/
                     13: PAIR('s','q'), 0202,   /*square*/
                     14: PAIR('e','m'), 0203,   /*3/4em*/
                     15: PAIR('r','u'), 0204,   /*rule*/
                     16: PAIR('1','4'), 0205,   /*1/4*/
                     17: PAIR('1','2'), 0206,   /*1/2*/
                     18: PAIR('3','4'), 0207,   /*3/4*/
                     19: PAIR('m','i'), 0302,   /*equation minus*/
                     20: PAIR('f','i'), 0211,   /*fi*/
                     21: PAIR('f','l'), 0212,   /*fl*/
                     22: PAIR('f','f'), 0213,   /*ff*/
                     23: PAIR('F','i'), 0214,   /*ffi*/
                     24: PAIR('F','l'), 0215,   /*ffl*/
                     25: PAIR('d','e'), 0216,   /*degree*/
                     26: PAIR('d','g'), 0217,   /*dagger*/
                     27: PAIR('s','c'), 0220,   /*section*/
                     28: PAIR('f','m'), 0221,   /*foot mark*/
                     29: PAIR('a','a'), 0222,   /*acute accent*/
                     30: PAIR('g','a'), 0223,   /*grave accent*/
                     31: PAIR('u','l'), 0224,   /*underrule*/
                     32: PAIR('s','l'), 0225,   /*slash (longer)*/
                     33: PAIR('*','a'), 0230,   /*alpha*/
                     34: PAIR('*','b'), 0231,   /*beta*/
                     35: PAIR('*','g'), 0232,   /*gamma*/
                     36: PAIR('*','d'), 0233,   /*delta*/
                     37: PAIR('*','e'), 0234,   /*epsilon*/
                     38: PAIR('*','z'), 0235,   /*zeta*/
                     39: PAIR('*','y'), 0236,   /*eta*/
                     40: PAIR('*','h'), 0237,   /*theta*/
                     41: PAIR('*','i'), 0240,   /*iota*/
                     42: PAIR('*','k'), 0241,   /*kappa*/
                     43: PAIR('*','l'), 0242,   /*lambda*/
                     44: PAIR('*','m'), 0243,   /*mu*/
                     45: PAIR('*','n'), 0244,   /*nu*/
                     46: PAIR('*','c'), 0245,   /*xi*/
                     47: PAIR('*','o'), 0246,   /*omicron*/
                     48: PAIR('*','p'), 0247,   /*pi*/
                     49: PAIR('*','r'), 0250,   /*rho*/
                     50: PAIR('*','s'), 0251,   /*sigma*/
                     51: PAIR('*','t'), 0252,   /*tau*/
                     52: PAIR('*','u'), 0253,   /*upsilon*/
                     53: PAIR('*','f'), 0254,   /*phi*/
                     54: PAIR('*','x'), 0255,   /*chi*/
                     55: PAIR('*','q'), 0256,   /*psi*/
                     56: PAIR('*','w'), 0257,   /*omega*/
                     57: PAIR('*','A'), 0101,   /*Alpha*/
                     58: PAIR('*','B'), 0102,   /*Beta*/
                     59: PAIR('*','G'), 0260,   /*Gamma*/
                     60: PAIR('*','D'), 0261,   /*Delta*/
                     61: PAIR('*','E'), 0105,   /*Epsilon*/
                     62: PAIR('*','Z'), 0132,   /*Zeta*/
                     63: PAIR('*','Y'), 0110,   /*Eta*/
                     64: PAIR('*','H'), 0262,   /*Theta*/
                     65: PAIR('*','I'), 0111,   /*Iota*/
                     66: PAIR('*','K'), 0113,   /*Kappa*/
                     67: PAIR('*','L'), 0263,   /*Lambda*/
                     68: PAIR('*','M'), 0115,   /*Mu*/
                     69: PAIR('*','N'), 0116,   /*Nu*/
                     70: PAIR('*','C'), 0264,   /*Xi*/
                     71: PAIR('*','O'), 0117,   /*Omicron*/
                     72: PAIR('*','P'), 0265,   /*Pi*/
                     73: PAIR('*','R'), 0120,   /*Rho*/
                     74: PAIR('*','S'), 0266,   /*Sigma*/
                     75: PAIR('*','T'), 0124,   /*Tau*/
                     76: PAIR('*','U'), 0270,   /*Upsilon*/
                     77: PAIR('*','F'), 0271,   /*Phi*/
                     78: PAIR('*','X'), 0130,   /*Chi*/
                     79: PAIR('*','Q'), 0272,   /*Psi*/
                     80: PAIR('*','W'), 0273,   /*Omega*/
                     81: PAIR('s','r'), 0274,   /*square root*/
                     82: PAIR('t','s'), 0275,   /*terminal sigma*/
                     83: PAIR('r','n'), 0276,   /*root en*/
                     84: PAIR('>','='), 0277,   /*>=*/
                     85: PAIR('<','='), 0300,   /*<=*/
                     86: PAIR('=','='), 0301,   /*identically equal*/
                     87: PAIR('~','='), 0303,   /*approx =*/
                     88: PAIR('a','p'), 0304,   /*approximates*/
                     89: PAIR('!','='), 0305,   /*not equal*/
                     90: PAIR('-','>'), 0306,   /*right arrow*/
                     91: PAIR('<','-'), 0307,   /*left arrow*/
                     92: PAIR('u','a'), 0310,   /*up arrow*/
                     93: PAIR('d','a'), 0311,   /*down arrow*/
                     94: PAIR('e','q'), 0312,   /*equation equal*/
                     95: PAIR('m','u'), 0313,   /*multiply*/
                     96: PAIR('d','i'), 0314,   /*divide*/
                     97: PAIR('+','-'), 0315,   /*plus-minus*/
                     98: PAIR('c','u'), 0316,   /*cup (union)*/
                     99: PAIR('c','a'), 0317,   /*cap (intersection)*/
                    100: PAIR('s','b'), 0320,   /*subset of*/
                    101: PAIR('s','p'), 0321,   /*superset of*/
                    102: PAIR('i','b'), 0322,   /*improper subset*/
                    103: PAIR('i','p'), 0323,   /*  " superset*/
                    104: PAIR('i','f'), 0324,   /*infinity*/
                    105: PAIR('p','d'), 0325,   /*partial derivative*/
                    106: PAIR('g','r'), 0326,   /*gradient*/
                    107: PAIR('n','o'), 0327,   /*not*/
                    108: PAIR('i','s'), 0330,   /*integral sign*/
                    109: PAIR('p','t'), 0331,   /*proportional to*/
                    110: PAIR('e','s'), 0332,   /*empty set*/
                    111: PAIR('m','o'), 0333,   /*member of*/
                    112: PAIR('p','l'), 0334,   /*equation plus*/
                    113: PAIR('r','g'), 0335,   /*registered*/
                    114: PAIR('c','o'), 0336,   /*copyright*/
                    115: PAIR('b','r'), 0337,   /*box vert rule*/
                    116: PAIR('c','t'), 0340,   /*cent sign*/
                    117: PAIR('d','d'), 0341,   /*dbl dagger*/
                    118: PAIR('r','h'), 0342,   /*right hand*/
                    119: PAIR('l','h'), 0343,   /*left hand*/
                    120: PAIR('*','*'), 0344,   /*math * */
                    121: PAIR('b','s'), 0345,   /*bell system sign*/
                    122: PAIR('o','r'), 0346,   /*or*/
                    123: PAIR('c','i'), 0347,   /*circle*/
                    124: PAIR('l','t'), 0350,   /*left top (of big curly)*/
                    125: PAIR('l','b'), 0351,   /*left bottom*/
                    126: PAIR('r','t'), 0352,   /*right top*/
                    127: PAIR('r','b'), 0353,   /*right bot*/
                    128: PAIR('l','k'), 0354,   /*left center of big curly bracket*/
                    129: PAIR('r','k'), 0355,   /*right center of big curly bracket*/
                    130: PAIR('b','v'), 0356,   /*bold vertical*/
                    131: PAIR('l','f'), 0357,   /*left floor (left bot of big sq bract)*/
                    132: PAIR('r','f'), 0360,   /*right floor (rb of ")*/
                    133: PAIR('l','c'), 0361,   /*left ceiling (lt of ")*/
                    134: PAIR('r','c'), 0362,   /*right ceiling (rt of ")*/
                    135: 0,0};

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.