1*48306Sbostic /*- 2*48306Sbostic * %sccs.include.proprietary.c% 3*48306Sbostic * 4*48306Sbostic * @(#)tabnec-t.c 4.3 (Berkeley) 04/18/91 5*48306Sbostic */ 6*48306Sbostic 714367Ssam #define INCH 240 814367Ssam /* 914367Ssam * NEC Spinwriter 5500 or 7700 12 Pitch 1014367Ssam * nroff driving table 1114367Ssam * Technical-Math/Times-Roman thimble 1214367Ssam * by Skip Walker, ucbvax!c:bodega, 21nov82 1314367Ssam */ 1414367Ssam struct { 1514367Ssam int bset; 1614367Ssam int breset; 1714367Ssam int Hor; 1814367Ssam int Vert; 1914367Ssam int Newline; 2014367Ssam int Char; 2114367Ssam int Em; 2214367Ssam int Halfline; 2314367Ssam int Adj; 2414367Ssam char *twinit; 2514367Ssam char *twrest; 2614367Ssam char *twnl; 2714367Ssam char *hlr; 2814367Ssam char *hlf; 2914367Ssam char *flr; 3014367Ssam char *bdon; 3114367Ssam char *bdoff; 3214367Ssam char *ploton; 3314367Ssam char *plotoff; 3414367Ssam char *up; 3514367Ssam char *down; 3614367Ssam char *right; 3714367Ssam char *left; 3814367Ssam char *codetab[256-32]; 3914367Ssam int zzz; 4014367Ssam } t = { 4114367Ssam /*bset*/ 0, 4214367Ssam /*breset*/ 0, 4314367Ssam /*Hor*/ INCH/120, 4414367Ssam /*Vert*/ INCH/48, 4514367Ssam /*Newline*/ INCH/6, 4614367Ssam /*Char*/ INCH/12, 4714367Ssam /*Em*/ INCH/12, 4814367Ssam /*Halfline*/ INCH/12, 4914367Ssam /*Adj*/ INCH/12, 5014367Ssam /*twinit*/ "", 5114367Ssam /*twrest*/ "", 5214367Ssam /*twnl*/ "\n", 5314367Ssam /*hlr*/ "\033]S\0339\033]W", 5414367Ssam /*hlf*/ "\033]S\033ZA\033]W", 5514367Ssam /*flr*/ "\0339", 5614367Ssam /*bdon*/ "\033+", 5714367Ssam /*bdoff*/ "\033,", 5814367Ssam /*ploton*/ "\033]A\033]P", 5917960Sralph /*plotoff*/ "\033]J\033]W", 6014367Ssam /*up*/ "\0339", 6114367Ssam /*down*/ "\033ZA", 6214367Ssam /*right*/ " ", 6314367Ssam /*left*/ "\b", 6414367Ssam /*codetab*/ 6514367Ssam "\001 ", /*space*/ 6614367Ssam "\001!", /*!*/ 6714367Ssam "\001\242'\b\204'\b\242", /*"*/ 6814367Ssam "\001#", /*#*/ 6914367Ssam "\001S\b|", /*$*/ 7014367Ssam "\001%", /*%*/ 7114367Ssam "\001\016N\017\b|", /*&*/ 7214367Ssam "\001'", /*' close*/ 7314367Ssam "\001(", /*(*/ 7414367Ssam "\001)", /*)*/ 7514367Ssam "\001*", /***/ 7614367Ssam "\001+", /*+*/ 7714367Ssam "\001,", /*,*/ 7814367Ssam "\001-", /*- hyphen*/ 7914367Ssam "\001.", /*.*/ 8014367Ssam "\001/", /*/*/ 8114367Ssam "\2010", /*0*/ 8214367Ssam "\2011", /*1*/ 8314367Ssam "\2012", /*2*/ 8414367Ssam "\2013", /*3*/ 8514367Ssam "\2014", /*4*/ 8614367Ssam "\2015", /*5*/ 8714367Ssam "\2016", /*6*/ 8814367Ssam "\2017", /*7*/ 8914367Ssam "\2018", /*8*/ 9014367Ssam "\2019", /*9*/ 9114367Ssam "\001:", /*:*/ 9214367Ssam "\001:\b,", /*;*/ 9314367Ssam "\001<", /*<*/ 9414367Ssam "\001=", /*=*/ 9514367Ssam "\001>", /*>*/ 9614367Ssam "\001?", /*?*/ 9714367Ssam "\001@", /*@*/ 9814367Ssam "\201A", /*A*/ 9914367Ssam "\201B", /*B*/ 10014367Ssam "\201C", /*C*/ 10114367Ssam "\201D", /*D*/ 10214367Ssam "\201E", /*E*/ 10314367Ssam "\201F", /*F*/ 10414367Ssam "\201G", /*G*/ 10514367Ssam "\201H", /*H*/ 10614367Ssam "\201I", /*I*/ 10714367Ssam "\201J", /*J*/ 10814367Ssam "\201K", /*K*/ 10914367Ssam "\201L", /*L*/ 11014367Ssam "\201M", /*M*/ 11114367Ssam "\201N", /*N*/ 11214367Ssam "\201O", /*O*/ 11314367Ssam "\201P", /*P*/ 11414367Ssam "\201Q", /*Q*/ 11514367Ssam "\201R", /*R*/ 11614367Ssam "\201S", /*S*/ 11714367Ssam "\201T", /*T*/ 11814367Ssam "\201U", /*U*/ 11914367Ssam "\201V", /*V*/ 12014367Ssam "\201W", /*W*/ 12114367Ssam "\201X", /*X*/ 12214367Ssam "\201Y", /*Y*/ 12314367Ssam "\201Z", /*Z*/ 12414367Ssam "\001[", /*[*/ 12514367Ssam "\001\016J\017", /*\*/ 12614367Ssam "\001]", /*]*/ 12714367Ssam "\001^", /*^*/ 12814367Ssam "\001_", /*_ dash*/ 12914367Ssam "\001'", /*` open*/ 13014367Ssam "\201a", /*a*/ 13114367Ssam "\201b", /*b*/ 13214367Ssam "\201c", /*c*/ 13314367Ssam "\201d", /*d*/ 13414367Ssam "\201e", /*e*/ 13514367Ssam "\201f", /*f*/ 13614367Ssam "\201g", /*g*/ 13714367Ssam "\201h", /*h*/ 13814367Ssam "\201i", /*i*/ 13914367Ssam "\201j", /*j*/ 14014367Ssam "\201k", /*k*/ 14114367Ssam "\201l", /*l*/ 14214367Ssam "\201m", /*m*/ 14314367Ssam "\201n", /*n*/ 14414367Ssam "\201o", /*o*/ 14514367Ssam "\201p", /*p*/ 14614367Ssam "\201q", /*q*/ 14714367Ssam "\201r", /*r*/ 14814367Ssam "\201s", /*s*/ 14914367Ssam "\201t", /*t*/ 15014367Ssam "\201u", /*u*/ 15114367Ssam "\201v", /*v*/ 15214367Ssam "\201w", /*w*/ 15314367Ssam "\201x", /*x*/ 15414367Ssam "\201y", /*y*/ 15514367Ssam "\201z", /*z*/ 15614367Ssam "\001{", /*{*/ 15714367Ssam "\001|", /*|*/ 15814367Ssam "\001}", /*}*/ 15914367Ssam "\001\344\246\016<\017\304\246", /* ~ */ 16014367Ssam "\000\0", /*nar sp*/ 16114367Ssam "\001-", /*hyphen*/ 16214367Ssam "\001o\b+", /*bullet*/ 16314367Ssam "\002\200[\302\204-\344\241-\302\204]\201", /*square*/ 16414367Ssam "\001-", /*3/4 em*/ 16514367Ssam "\001_", /*rule*/ 16614367Ssam "\0031/4", /*1/4*/ 16714367Ssam "\0031/2", /*1/2*/ 16814367Ssam "\0033/4", /*3/4*/ 16914367Ssam "\001-", /*minus*/ 17014367Ssam "\202fi", /*fi*/ 17114367Ssam "\202fl", /*fl*/ 17214367Ssam "\202ff", /*ff*/ 17314367Ssam "\203ffi", /*ffi*/ 17414367Ssam "\203ffl", /*ffl*/ 17514367Ssam "\001\200\016\120\017\241", /*degree*/ 17614367Ssam "\001\200|\342\241-\302\241", /*dagger*/ 17714367Ssam "\001\200s\342s\302\242", /* section*/ 17814367Ssam "\001'", /*foot mark*/ 17914367Ssam "\001'", /*acute accent*/ 18014367Ssam "\001'", /*grave accent*/ 18114367Ssam "\001_", /*underrule*/ 18214367Ssam "\001/", /*slash (longer)*/ 18314367Ssam "\000\0", /*half narrow space*/ 18414367Ssam "\001 ", /*unpaddable space*/ 18514367Ssam "\001\016S\017", /*alpha*/ 18614367Ssam "\001\016\046\017", /*beta*/ 18714367Ssam "\001\016\107\017", /*gamma*/ 18814367Ssam "\001\016\113\017", /*delta*/ 18914367Ssam "\001\016N\017", /*epsilon*/ 19014367Ssam "\001\200(\302\241c\342\241", /*zeta*/ 19114367Ssam "\001\016L\017", /*eta*/ 19214367Ssam "\001O\b-", /*theta*/ 19314367Ssam "\001i", /*iota*/ 19414367Ssam "\001k", /*kappa*/ 19514367Ssam "\001\016B\017", /*lambda*/ 19614367Ssam "\001;", /*mu*/ 19714367Ssam "\001\200(\203/\245", /*nu*/ 19814367Ssam "\001\016D\017", /*xi*/ 19914367Ssam "\001o", /*omicron*/ 20014367Ssam "\001\"", /*pi*/ 20114367Ssam "\001\016F\017", /*rho*/ 20214367Ssam "\001\016V\017", /*sigma*/ 20314367Ssam "\001\016C\017", /*tau*/ 20414367Ssam "\001v", /*upsilon*/ 20514367Ssam "\001\200/\341\241o\301\241", /*phi*/ 20614367Ssam "\001x", /*chi*/ 20714367Ssam "\001\200/\241--\343\247,\213,\303\250", /*psi*/ 20814367Ssam "\001\016X\017", /*omega*/ 20914367Ssam "\001\200\140\346_\306\205'\250", /*Gamma*/ 21014367Ssam "\001\016A\017", /*Delta*/ 21114367Ssam "\001O\b=", /*Theta*/ 21214367Ssam "\001\243/\b\205\016J\017\b\242", /*Lambda*/ 21314367Ssam "\001\201-\341\242___\345\243___\306\243", /*Xi*/ 21414367Ssam "\001\200I\203I\347\243_\307\243", /*Pi*/ 21514367Ssam "\001\200>\341_\345\241_\306\242", /*Sigma*/ 21614367Ssam "\000\0", /**/ 21714367Ssam "\001Y", /*Upsilon*/ 21814367Ssam "\001\200|\341\241O\241_\347\241_\310\241", /*Phi*/ 21914367Ssam "\001\200-\202][\202-\254'\215'\253", /*Psi*/ 22014367Ssam "\001\134", /*Omega*/ 22114367Ssam "\001\200v\341\203/\301\245", /*square root*/ 22214367Ssam "\000\0", /*terminal sigma*/ 22314367Ssam "\001\347_\307\241", /*root en*/ 22414367Ssam "\001>\b_", /*>=*/ 22514367Ssam "\001<\b_", /*<=*/ 22614367Ssam "\001\341_\342\241_\342\241_\306\241", /*identically equal*/ 22714367Ssam "\001-", /*equation minus*/ 22814367Ssam "\001\200=\241\343\016<\017\303\241", /*approx =*/ 22914367Ssam "\001~", /*approximates*/ 23014367Ssam "\001=\b/", /*not equal*/ 23114367Ssam "\002\200-\204-\202>\204", /*right arrow*/ 23214367Ssam "\002\200<\202-\204-\204", /*left arrow*/ 23314367Ssam "\001\016\132\017", /*up arrow*/ 23414367Ssam "\001\016\136\017", /*down arrow*/ 23514367Ssam "\001=", /*equation equal*/ 23614367Ssam "\001x", /*multiply*/ 23714367Ssam "\001\345.\301\241_\304\241.\241", /*divide*/ 23814367Ssam "\001+\b_", /*plus-minus*/ 23914367Ssam "\001U", /*cup (union)*/ 24014367Ssam "\001\200\140\203\136\245", /*cap (intersection)*/ 24114367Ssam #ifdef 0 24214367Ssam "\001\200(\341\206_\345\241_\306\250", /*subset of*/ 24314367Ssam "\001\341_\345\241_\306\207)\251", /*superset of*/ 24414367Ssam "\001\200(\341\206_\345\241_\307\241_\341\250", /*improper subset*/ 24514367Ssam "\001\301_\342\241_\345\241_\306\207)\251", /*improper superset*/ 24614367Ssam #endif 24714367Ssam "\001\200<\341\207_\344\241_\305\251", /*subset of*/ 24814367Ssam "\001\341_\344\241_\305\207>\251", /*superset of*/ 24914367Ssam "\001\200<\341\206_\344\241_\306\241_\341\250", /*improper subset*/ 25014367Ssam "\001\301_\342\241_\344\241_\305\207>\251", /*improper superset*/ 25114367Ssam "\001\016_\017", /*infinity*/ 25214367Ssam "\001\016M\017", /*partial derivative*/ 25314367Ssam "\001\200\016J\017\205/\347\245_\307\243", /*gradient*/ 25414367Ssam "\001\346_\306\204'\246", /*not*/ 25514367Ssam "\001$", /*integral sign*/ 25614367Ssam "\001\016\135\017", /*proportional to*/ 25714367Ssam "\001\200O\241/\241", /*empty set*/ 25814367Ssam "\001\016N\017", /*member of*/ 25914367Ssam "\001+", /*equation plus*/ 26014367Ssam "\003(R)", /*registered*/ 26114367Ssam "\003(C)", /*copyright*/ 26214367Ssam "\001|", /*box rule */ 26314367Ssam "\001\342C|\302\241|\242", /*cent sign*/ 26414367Ssam "\001\302+\344\241+\302\241", /*dbl dagger*/ 26514367Ssam "\002=>", /*right hand*/ 26614367Ssam "\002<=", /*left hand*/ 26714367Ssam "\001*", /*math star*/ 26814367Ssam "\000\0", /*bell system sign*/ 26914367Ssam "\001|", /*or (was star)*/ 27014367Ssam "\001O", /*circle*/ 27114367Ssam "\001\016\110\017", /*left top of big brace*/ 27214367Ssam "\001|", /*left bot of big brace*/ 27314367Ssam "\001|", /*right top of big brace*/ 27414367Ssam "\001\100", /*right bot of big brace*/ 27514367Ssam "\001|", /*left center of big brace*/ 27614367Ssam "\001|", /*right center of big brace*/ 27714367Ssam "\001\016\174\017", /*bold vertical*/ 27814367Ssam "\001\202\016>\017\243", /*left floor (lb of big bracket)*/ 27914367Ssam "\001\242\016@\017\201", /*right floor (rb of big bracket)*/ 28014367Ssam "\001\202`\243", /*left ceiling (lt of big bracket)*/ 28114367Ssam "\001\242^\201" /*right ceiling (rt of big bracket)*/ 28214367Ssam }; 283