1*48306Sbostic /*- 2*48306Sbostic * %sccs.include.proprietary.c% 3*48306Sbostic * 4*48306Sbostic * @(#)tabqume.c 4.3 (Berkeley) 04/18/91 5*48306Sbostic */ 6*48306Sbostic 714370Ssam #define INCH 240 814370Ssam /* 914370Ssam * QUME 10 Pitch 1014370Ssam * nroff driving table 1114370Ssam * WP Courier 10 97-602 1214370Ssam * by Albert Einstein College of Medicine 1314370Ssam */ 1414370Ssam struct { 1514370Ssam int bset; 1614370Ssam int breset; 1714370Ssam int Hor; 1814370Ssam int Vert; 1914370Ssam int Newline; 2014370Ssam int Char; 2114370Ssam int Em; 2214370Ssam int Halfline; 2314370Ssam int Adj; 2414370Ssam char *twinit; 2514370Ssam char *twrest; 2614370Ssam char *twnl; 2714370Ssam char *hlr; 2814370Ssam char *hlf; 2914370Ssam char *flr; 3014370Ssam char *bdon; 3114370Ssam char *bdoff; 3214370Ssam char *ploton; 3314370Ssam char *plotoff; 3414370Ssam char *up; 3514370Ssam char *down; 3614370Ssam char *right; 3714370Ssam char *left; 3814370Ssam char *codetab[256-32]; 3914370Ssam int zzz; 4014370Ssam } t = { 4114370Ssam /*bset*/ 0, 4214370Ssam /*breset*/ 0177420, 4314370Ssam /*Hor*/ INCH/120, 4414370Ssam /*Vert*/ INCH/48, 4514370Ssam /*Newline*/ INCH/6, 4614370Ssam /*Char*/ INCH/10, 4714370Ssam /*Em*/ INCH/10, 4814370Ssam /*Halfline*/ INCH/12, 4914370Ssam /*Adj*/ INCH/10, 5014370Ssam /*twinit*/ "\0334\033\037\015", /*plot off, horiz. motion = 10/120 inch*/ 5114370Ssam /*twrest*/ "\0334\033\037\013", 5214370Ssam /*twnl*/ "\r\n", 5314370Ssam /*hlr*/ "\033D", 5414370Ssam /*hlf*/ "\033U", 5514370Ssam /*flr*/ "\033\n", 5614370Ssam /*bdon*/ "", 5714370Ssam /*bdoff*/ "", 5814370Ssam /*ploton*/ "\033G", 5914370Ssam /*plotoff*/ "\0334", 6014370Ssam /*up*/ "\033\n", 6114370Ssam /*down*/ "\n", 6214370Ssam /*right*/ " ", 6314370Ssam /*left*/ "\b", 6414370Ssam /*codetab*/ 6514370Ssam "\001 ", /*space*/ 6614370Ssam "\001!", /*!*/ 6714370Ssam "\001\"", /*"*/ 6814370Ssam "\001#", /*#*/ 6914370Ssam "\001$", /*$*/ 7014370Ssam "\001%", /*%*/ 7114370Ssam "\001&", /*&*/ 7214370Ssam "\001'", /*' close*/ 7314370Ssam "\001(", /*(*/ 7414370Ssam "\001)", /*)*/ 7514370Ssam "\001*", /***/ 7614370Ssam "\001+", /*+*/ 7714370Ssam "\001,", /*,*/ 7814370Ssam "\001-", /*- hyphen*/ 7914370Ssam "\001.", /*.*/ 8014370Ssam "\001/", /*/*/ 8114370Ssam "\2010", /*0*/ 8214370Ssam "\2011", /*1*/ 8314370Ssam "\2012", /*2*/ 8414370Ssam "\2013", /*3*/ 8514370Ssam "\2014", /*4*/ 8614370Ssam "\2015", /*5*/ 8714370Ssam "\2016", /*6*/ 8814370Ssam "\2017", /*7*/ 8914370Ssam "\2018", /*8*/ 9014370Ssam "\2019", /*9*/ 9114370Ssam "\001:", /*:*/ 9214370Ssam "\001;", /*;*/ 9314370Ssam "\001<", /*<*/ 9414370Ssam "\001=", /*=*/ 9514370Ssam "\001>", /*>*/ 9614370Ssam "\001?", /*?*/ 9714370Ssam "\001@", /*@*/ 9814370Ssam "\201A", /*A*/ 9914370Ssam "\201B", /*B*/ 10014370Ssam "\201C", /*C*/ 10114370Ssam "\201D", /*D*/ 10214370Ssam "\201E", /*E*/ 10314370Ssam "\201F", /*F*/ 10414370Ssam "\201G", /*G*/ 10514370Ssam "\201H", /*H*/ 10614370Ssam "\201I", /*I*/ 10714370Ssam "\201J", /*J*/ 10814370Ssam "\201K", /*K*/ 10914370Ssam "\201L", /*L*/ 11014370Ssam "\201M", /*M*/ 11114370Ssam "\201N", /*N*/ 11214370Ssam "\201O", /*O*/ 11314370Ssam "\201P", /*P*/ 11414370Ssam "\201Q", /*Q*/ 11514370Ssam "\201R", /*R*/ 11614370Ssam "\201S", /*S*/ 11714370Ssam "\201T", /*T*/ 11814370Ssam "\201U", /*U*/ 11914370Ssam "\201V", /*V*/ 12014370Ssam "\201W", /*W*/ 12114370Ssam "\201X", /*X*/ 12214370Ssam "\201Y", /*Y*/ 12314370Ssam "\201Z", /*Z*/ 12414370Ssam "\001[", /*[*/ 12514370Ssam "\000\0", /*\*/ 12614370Ssam "\001]", /*]*/ 12714370Ssam "\000\0", /*^*/ 12814370Ssam "\001_", /*_ dash*/ 12914370Ssam "\001'", /*` open*/ 13014370Ssam "\201a", /*a*/ 13114370Ssam "\201b", /*b*/ 13214370Ssam "\201c", /*c*/ 13314370Ssam "\201d", /*d*/ 13414370Ssam "\201e", /*e*/ 13514370Ssam "\201f", /*f*/ 13614370Ssam "\201g", /*g*/ 13714370Ssam "\201h", /*h*/ 13814370Ssam "\201i", /*i*/ 13914370Ssam "\201j", /*j*/ 14014370Ssam "\201k", /*k*/ 14114370Ssam "\201l", /*l*/ 14214370Ssam "\201m", /*m*/ 14314370Ssam "\201n", /*n*/ 14414370Ssam "\201o", /*o*/ 14514370Ssam "\201p", /*p*/ 14614370Ssam "\201q", /*q*/ 14714370Ssam "\201r", /*r*/ 14814370Ssam "\201s", /*s*/ 14914370Ssam "\201t", /*t*/ 15014370Ssam "\201u", /*u*/ 15114370Ssam "\201v", /*v*/ 15214370Ssam "\201w", /*w*/ 15314370Ssam "\201x", /*x*/ 15414370Ssam "\201y", /*y*/ 15514370Ssam "\201z", /*z*/ 15614370Ssam "\001[", /*{*/ 15735268Sbostic "\001\033 ", /*|*/ 15814370Ssam "\001]", /*}*/ 15914370Ssam "\000\0", /*~*/ 16014370Ssam "\000\0", /*narrow sp*/ 16114370Ssam "\001-", /*hyphen*/ 16214370Ssam "\0010\b+", /*bullet*/ 16314370Ssam "\000\0", /*square*/ 16414370Ssam "\001-", /*3/4 em*/ 16514370Ssam "\001_", /*rule*/ 16614370Ssam "\000\0", /*1/4*/ 16714370Ssam "\000\0", /*1/2*/ 16814370Ssam "\000\0", /*3/4*/ 16914370Ssam "\001-", /*minus*/ 17014370Ssam "\202fi", /*fi*/ 17114370Ssam "\202fl", /*fl*/ 17214370Ssam "\202ff", /*ff*/ 17314370Ssam "\203ffi", /*ffi*/ 17414370Ssam "\203ffl", /*ffl*/ 17514370Ssam "\001`", /*degree*/ 17614370Ssam "\001}", /*dagger*/ 17714370Ssam "\001{", /*section*/ 17814370Ssam "\001'", /*foot mark*/ 17914370Ssam "\001'", /*acute accent*/ 18014370Ssam "\001'", /*grave accent*/ 18114370Ssam "\001_", /*underrule*/ 18214370Ssam "\001/", /*slash (longer)*/ 18314370Ssam "\000\0", /*half narrow space*/ 18414370Ssam "\001 ", /*unpaddable space*/ 18514370Ssam "\000\0", /*alpha*/ 18614370Ssam "\000\0", /*beta*/ 18714370Ssam "\000\0", /*gamma*/ 18814370Ssam "\000\0", /*delta*/ 18914370Ssam "\000\0", /*epsilon*/ 19014370Ssam "\000\0", /*zeta*/ 19114370Ssam "\000\0", /*eta*/ 19214370Ssam "\000\0", /*theta*/ 19314370Ssam "\000\0", /*iota*/ 19414370Ssam "\000\0", /*kappa*/ 19514370Ssam "\000\0", /*lambda*/ 19614370Ssam "\000\0", /*mu*/ 19714370Ssam "\000\0", /*nu*/ 19814370Ssam "\000\0", /*xi*/ 19914370Ssam "\000\0", /*omicron*/ 20014370Ssam "\001|", /*pi*/ 20114370Ssam "\000\0", /*rho*/ 20214370Ssam "\000\0", /*sigma*/ 20314370Ssam "\000\0", /*tau*/ 20414370Ssam "\000\0", /*upsilon*/ 20514370Ssam "\000\0", /*phi*/ 20614370Ssam "\000\0", /*chi*/ 20714370Ssam "\000\0", /*psi*/ 20814370Ssam "\000\0", /*omega*/ 20914370Ssam "\000\0", /*Gamma*/ 21014370Ssam "\000\0", /*Delta*/ 21114370Ssam "\000\0", /*Theta*/ 21214370Ssam "\000\0", /*Lambda*/ 21314370Ssam "\000\0", /*Xi*/ 21414370Ssam "\000\0", /*Pi*/ 21514370Ssam "\000\0", /*Sigma*/ 21614370Ssam "\000\0", /**/ 21714370Ssam "\000\0", /*Upsilon*/ 21814370Ssam "\000\0", /*Phi*/ 21914370Ssam "\000\0", /*Psi*/ 22014370Ssam "\000\0", /*Omega*/ 22114370Ssam "\000\0", /*square root*/ 22214370Ssam "\000\0", /*terminal sigma*/ 22314370Ssam "\000\0", /*root en*/ 22414370Ssam "\001>\b_", /*>=*/ 22514370Ssam "\001<\b_", /*<=*/ 22614370Ssam "\000\0", /*identically equal*/ 22714370Ssam "\001-", /*equation minus*/ 22814370Ssam "\000\0", /*approx =*/ 22914370Ssam "\000\0", /*approximates*/ 23014370Ssam "\001=\b/", /*not equal*/ 23114370Ssam "\002->", /*right arrow*/ 23214370Ssam "\002<-", /*left arrow*/ 23314370Ssam "\000\0", /*up arrow*/ 23414370Ssam "\000\0", /*down arrow*/ 23514370Ssam "\001=", /*equation equal*/ 23614370Ssam "\001*", /*multiply*/ 23714370Ssam "\001/", /*divide*/ 23814370Ssam "\001+\b_", /*plus-minus*/ 23914370Ssam "\001U", /*cup (union)*/ 24014370Ssam "\000\0", /*cap (intersection)*/ 24114370Ssam "\000\0", /*subset of*/ 24214370Ssam "\000\0", /*superset of*/ 24314370Ssam "\000\0", /*improper subset*/ 24414370Ssam "\000\0", /* improper superset*/ 24514370Ssam "\000\0", /*infinity*/ 24614370Ssam "\000\0", /*partial derivative*/ 24714370Ssam "\000\0", /*gradient*/ 24814370Ssam "\000\0", /*not*/ 24914370Ssam "\000\0", /*integral sign*/ 25014370Ssam "\000\0", /*proportional to*/ 25114370Ssam "\0010\b/", /*empty set*/ 25214370Ssam "\001<\b-", /*member of*/ 25314370Ssam "\001+", /*equation plus*/ 25414370Ssam "\001\134", /*registered*/ 25514370Ssam "\001^", /*copyright*/ 25635268Sbostic "\001\033 ", /*box rule */ 25714370Ssam "\001c\b/", /*cent sign*/ 25814370Ssam "\000\0", /*dbl dagger*/ 25914370Ssam "\000\0", /*right hand*/ 26014370Ssam "\000\0", /*left hand*/ 26114370Ssam "\001*", /*math * */ 26214370Ssam "\000\0", /*bell system sign*/ 26335268Sbostic "\001\033 ", /*or (was star)*/ 26414370Ssam "\000\0", /*circle*/ 26514370Ssam "\000\0", /*left top (of big curly)*/ 26614370Ssam "\000\0", /*left bottom*/ 26714370Ssam "\000\0", /*right top*/ 26814370Ssam "\000\0", /*right bot*/ 26914370Ssam "\000\0", /*left center of big curly bracket*/ 27014370Ssam "\000\0", /*right center of big curly bracket*/ 27114370Ssam "\000\0", /*bold vertical*/ 27214370Ssam "\000\0", /*left floor (left bot of big sq bract)*/ 27314370Ssam "\000\0", /*right floor (rb of ")*/ 27414370Ssam "\000\0", /*left ceiling (lt of ")*/ 27514370Ssam "\000\0", /*right ceiling (rt of ")*/ 27614370Ssam "\000\0", /*superscript 0 */ 27714370Ssam "\000\0", /*superscript 1 */ 27814370Ssam "\000\0", /*superscript 2 */ 27914370Ssam "\000\0", /*superscript 3 */ 28014370Ssam "\000\0", /*superscript 4 */ 28114370Ssam "\000\0", /*superscript 5 */ 28214370Ssam "\000\0", /*superscript 6 */ 28314370Ssam "\000\0", /*superscript 7 */ 28414370Ssam "\000\0", /*superscript 8 */ 28514370Ssam 0,0,0, /*0374, 0375, 0376 cannot be accessed */ 28614370Ssam "\000\0", /*superscript 9 */ 28714370Ssam /*"\001\016;\017", umlaut dotdot */ 28814370Ssam }; 289