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

Defined macros

INCH defined in line 2; used 7 times
Last modified: 1983-08-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1422
Valid CSS Valid XHTML 1.0 Strict