1 /* tab382-12.c 4.1 83/08/05 */ 2 #define INCH 240 3 /* 4 * DTC 382 12 pitch 5 * nroff driving tables 6 * width and code tables 7 */ 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*/ 0177420, 38 /*Hor*/ INCH/60, 39 /*Vert*/ INCH/48, 40 /*Newline*/ INCH/6, 41 /*Char*/ INCH/12, 42 /*Em*/ INCH/12, 43 /*Halfline*/ INCH/12, 44 /*Adj*/ INCH/12, 45 /*twinit*/ "\033\006", 46 /*twrest*/ "\033\006", 47 /*twnl*/ "\r\n", 48 /*hlr*/ "\033H", 49 /*hlf*/ "\033h", 50 /*flr*/ "\032", 51 /*bdon*/ "\033Z", 52 /*bdoff*/ "\033z", 53 /*ploton*/ "\006", 54 /*plotoff*/ "\033\006", 55 /*up*/ "\032", 56 /*down*/ "\n", 57 /*right*/ " ", 58 /*left*/ "\b", 59 /*codetab*/ 60 #include "code.300" 61