1: #define INCH 240 2: /* 3: Line Printer with col-only reverse line feed 4: nroff driving tables 5: width and code tables 6: */ 7: 8: struct { 9: int bset; 10: int breset; 11: int Hor; 12: int Vert; 13: int Newline; 14: int Char; 15: int Em; 16: int Halfline; 17: int Adj; 18: char *twinit; 19: char *twrest; 20: char *twnl; 21: char *hlr; 22: char *hlf; 23: char *flr; 24: char *bdon; 25: char *bdoff; 26: char *ploton; 27: char *plotoff; 28: char *up; 29: char *down; 30: char *right; 31: char *left; 32: char *codetab[256-32]; 33: int zzz; 34: } t { 35: /*bset*/ 0, 36: /*breset*/ 0, 37: /*Hor*/ INCH/10, 38: /*Vert*/ INCH/6, 39: /*Newline*/ INCH/6, 40: /*Char*/ INCH/10, 41: /*Em*/ INCH/10, 42: /*Halfline*/ INCH/12, 43: /*Adj*/ INCH/10, 44: /*twinit*/ "", 45: /*twrest*/ "", 46: /*twnl*/ "\n", 47: /*hlr*/ "", 48: /*hlf*/ "", 49: /*flr*/ "\0337", 50: /*bdon*/ "", 51: /*bdoff*/ "", 52: /*ploton*/ "", 53: /*plotoff*/ "", 54: /*up*/ "", 55: /*down*/ "", 56: /*right*/ "", 57: /*left*/ "", 58: /*codetab*/ 59: "\001 ", /*space*/ 60: "\001!", /*!*/ 61: "\001\"", /*"*/ 62: "\001#", /*#*/ 63: "\001$", /*$*/ 64: "\001%", /*%*/ 65: "\001&", /*&*/ 66: "\001'", /*' close*/ 67: "\001(", /*(*/ 68: "\001)", /*)*/ 69: "\001*", /***/ 70: "\001+", /*+*/ 71: "\001,", /*,*/ 72: "\001-", /*- hyphen*/ 73: "\001.", /*.*/ 74: "\001/", /*/*/ 75: "\2010", /*0*/ 76: "\2011", /*1*/ 77: "\2012", /*2*/ 78: "\2013", /*3*/ 79: "\2014", /*4*/ 80: "\2015", /*5*/ 81: "\2016", /*6*/ 82: "\2017", /*7*/ 83: "\2018", /*8*/ 84: "\2019", /*9*/ 85: "\001:", /*:*/ 86: "\001;", /*;*/ 87: "\001<", /*<*/ 88: "\001=", /*=*/ 89: "\001>", /*>*/ 90: "\001?", /*?*/ 91: "\001@", /*@*/ 92: "\201A", /*A*/ 93: "\201B", /*B*/ 94: "\201C", /*C*/ 95: "\201D", /*D*/ 96: "\201E", /*E*/ 97: "\201F", /*F*/ 98: "\201G", /*G*/ 99: "\201H", /*H*/ 100: "\201I", /*I*/ 101: "\201J", /*J*/ 102: "\201K", /*K*/ 103: "\201L", /*L*/ 104: "\201M", /*M*/ 105: "\201N", /*N*/ 106: "\201O", /*O*/ 107: "\201P", /*P*/ 108: "\201Q", /*Q*/ 109: "\201R", /*R*/ 110: "\201S", /*S*/ 111: "\201T", /*T*/ 112: "\201U", /*U*/ 113: "\201V", /*V*/ 114: "\201W", /*W*/ 115: "\201X", /*X*/ 116: "\201Y", /*Y*/ 117: "\201Z", /*Z*/ 118: "\001[", /*[*/ 119: "\001\\", /*\*/ 120: "\001]", /*]*/ 121: "\001^", /*^*/ 122: "\001_", /*_ dash*/ 123: "\001`", /*` open*/ 124: "\201a", /*a*/ 125: "\201b", /*b*/ 126: "\201c", /*c*/ 127: "\201d", /*d*/ 128: "\201e", /*e*/ 129: "\201f", /*f*/ 130: "\201g", /*g*/ 131: "\201h", /*h*/ 132: "\201i", /*i*/ 133: "\201j", /*j*/ 134: "\201k", /*k*/ 135: "\201l", /*l*/ 136: "\201m", /*m*/ 137: "\201n", /*n*/ 138: "\201o", /*o*/ 139: "\201p", /*p*/ 140: "\201q", /*q*/ 141: "\201r", /*r*/ 142: "\201s", /*s*/ 143: "\201t", /*t*/ 144: "\201u", /*u*/ 145: "\201v", /*v*/ 146: "\201w", /*w*/ 147: "\201x", /*x*/ 148: "\201y", /*y*/ 149: "\201z", /*z*/ 150: "\001{", /*{*/ 151: "\001|", /*|*/ 152: "\001}", /*}*/ 153: "\001~", /*~*/ 154: "\000\0", /*nar sp*/ 155: "\001-", /*hyphen*/ 156: "\001o\b+", /*bullet*/ 157: "\002\[]", /*square*/ 158: "\001-", /*3/4 em*/ 159: "\001_", /*rule*/ 160: "\000\0", /*1/4*/ 161: "\000\0", /*1/2*/ 162: "\000\0", /*3/4*/ 163: "\001-", /*minus*/ 164: "\202fi", /*fi*/ 165: "\202fl", /*fl*/ 166: "\202ff", /*ff*/ 167: "\203ffi", /*ffi*/ 168: "\203ffl", /*ffl*/ 169: "\000\0", /*degree*/ 170: "\000\0", /*dagger*/ 171: "\000\0", /*section*/ 172: "\001'", /*foot mark*/ 173: "\001'", /*acute accent*/ 174: "\001`", /*grave accent*/ 175: "\001_", /*underrule*/ 176: "\001/", /*slash (longer)*/ 177: "\000\0", /*half narrow space*/ 178: "\001 ", /*unpaddable space*/ 179: "\000", /*alpha*/ 180: "\000", /*beta*/ 181: "\000", /*gamma*/ 182: "\000", /*delta*/ 183: "\000", /*epsilon*/ 184: "\000", /*zeta*/ 185: "\000", /*eta*/ 186: "\000", /*theta*/ 187: "\201i", /*iota*/ 188: "\201k", /*kappa*/ 189: "\000", /*lambda*/ 190: "\000", /*mu*/ 191: "\000", /*nu*/ 192: "\000", /*xi*/ 193: "\201o", /*omicron*/ 194: "\000", /*pi*/ 195: "\000", /*rho*/ 196: "\000", /*sigma*/ 197: "\000", /*tau*/ 198: "\201v", /*upsilon*/ 199: "\000", /*phi*/ 200: "\201x", /*chi*/ 201: "\000", /*psi*/ 202: "\000", /*omega*/ 203: "\000", /*Gamma*/ 204: "\000", /*Delta*/ 205: "\000", /*Theta*/ 206: "\000", /*Lambda*/ 207: "\000\0", /*Xi*/ 208: "\000", /*Pi*/ 209: "\000", /*Sigma*/ 210: "\000\0", /**/ 211: "\201Y", /*Upsilon*/ 212: "\000", /*Phi*/ 213: "\000", /*Psi*/ 214: "\000", /*Omega*/ 215: "\000\0", /*square root*/ 216: "\000\0", /*terminal sigma*/ 217: "\000\0", /*root en*/ 218: "\001>\b_", /*>=*/ 219: "\001<\b_", /*<=*/ 220: "\001=\b_", /*identically equal*/ 221: "\001-", /*equation minus*/ 222: "\001=\b~", /*approx =*/ 223: "\000\0", /*approximates*/ 224: "\001=\b/", /*not equal*/ 225: "\002->", /*right arrow*/ 226: "\002<-", /*left arrow*/ 227: "\001|\b^", /*up arrow*/ 228: "\000\0", /*down arrow*/ 229: "\001=", /*equation equal*/ 230: "\001x", /*multiply*/ 231: "\001/", /*divide*/ 232: "\001+\b_", /*plus-minus*/ 233: "\001U", /*cup (union)*/ 234: "\000\0", /*cap (intersection)*/ 235: "\000\0", /*subset of*/ 236: "\000\0", /*superset of*/ 237: "\000\0", /*improper subset*/ 238: "\000\0", /* improper superset*/ 239: "\002oo", /*infinity*/ 240: "\000", /*partial derivative*/ 241: "\000", /*gradient*/ 242: "\000", /*not*/ 243: "\000", /*integral sign*/ 244: "\000\0", /*proportional to*/ 245: "\000\0", /*empty set*/ 246: "\000\0", /*member of*/ 247: "\001+", /*equation plus*/ 248: "\001r\bO", /*registered*/ 249: "\001c\bO", /*copyright*/ 250: "\001|", /*box rule */ 251: "\001c\b/", /*cent sign*/ 252: "\000\0", /*dbl dagger*/ 253: "\000\0", /*right hand*/ 254: "\001*", /*left hand*/ 255: "\001*", /*math * */ 256: "\000\0", /*bell system sign*/ 257: "\001|", /*or (was star)*/ 258: "\001O", /*circle*/ 259: "\001|", /*left top (of big curly)*/ 260: "\001|", /*left bottom*/ 261: "\001|", /*right top*/ 262: "\001|", /*right bot*/ 263: "\001|", /*left center of big curly bracket*/ 264: "\001|", /*right center of big curly bracket*/ 265: "\001|", /*bold vertical*/ 266: "\001|", /*left floor (left bot of big sq bract)*/ 267: "\001|", /*right floor (rb of ")*/ 268: "\001|", /*left ceiling (lt of ")*/ 269: "\001|"}; /*right ceiling (rt of ")*/