1 /* tabxerox12.c 4.1 83/08/05 */ 2 #define INCH 240 3 /* 4 * XEROX 17x0 or DIABLO 16x0 12 pitch 5 * nroff driving table 6 * by Bill Tuthill, ucbvax!g:tut, 15dec82 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*/ 0177420, 37 /*Hor*/ INCH/60, 38 /*Vert*/ INCH/48, 39 /*Newline*/ INCH/6, 40 /*Char*/ INCH/12, 41 /*Em*/ INCH/12, 42 /*Halfline*/ INCH/12, 43 /*Adj*/ INCH/12, 44 /*twinit*/ "\0334", 45 /*twrest*/ "\0334", 46 /*twnl*/ "\r\n", 47 /*hlr*/ "\033D", 48 /*hlf*/ "\033U", 49 /*flr*/ "\033\n", 50 /*bdon*/ "\033W", 51 /*bdoff*/ "\033&", 52 /*ploton*/ "\0333", 53 /*plotoff*/ "\0334", 54 /*up*/ "\033\n", 55 /*down*/ "\n", 56 /*right*/ " ", 57 /*left*/ "\b", 58 /*codetab*/ 59 #include "code.xerox" 60