Commit | Line | Data |
---|---|---|
a860ef9e | 1 | /*- |
ad787160 C |
2 | * This module is believed to contain source code proprietary to AT&T. |
3 | * Use and redistribution is subject to the Berkeley Software License | |
4 | * Agreement and your Software Agreement with AT&T (Western Electric). | |
a860ef9e | 5 | * |
ad787160 | 6 | * @(#)tab833-12.c 4.2 (Berkeley) 4/18/91 |
a860ef9e KB |
7 | */ |
8 | ||
ecd2b831 SL |
9 | #define INCH 240 |
10 | /* | |
11 | * AJ 833 or 832 12 pitch | |
12 | * nroff driving tables | |
13 | * width and code tables | |
14 | */ | |
15 | ||
16 | struct { | |
17 | int bset; | |
18 | int breset; | |
19 | int Hor; | |
20 | int Vert; | |
21 | int Newline; | |
22 | int Char; | |
23 | int Em; | |
24 | int Halfline; | |
25 | int Adj; | |
26 | char *twinit; | |
27 | char *twrest; | |
28 | char *twnl; | |
29 | char *hlr; | |
30 | char *hlf; | |
31 | char *flr; | |
32 | char *bdon; | |
33 | char *bdoff; | |
34 | char *ploton; | |
35 | char *plotoff; | |
36 | char *up; | |
37 | char *down; | |
38 | char *right; | |
39 | char *left; | |
40 | char *codetab[256-32]; | |
41 | int zzz; | |
42 | } t = { | |
43 | /*bset*/ 0, | |
44 | /*breset*/ 0177420, | |
45 | /*Hor*/ INCH/60, | |
46 | /*Vert*/ INCH/48, | |
47 | /*Newline*/ INCH/6, | |
48 | /*Char*/ INCH/12, | |
49 | /*Em*/ INCH/12, | |
50 | /*Halfline*/ INCH/12, | |
51 | /*Adj*/ INCH/12, | |
52 | /*twinit*/ "\033N", | |
53 | /*twrest*/ "\033N", | |
54 | /*twnl*/ "\r\n", | |
55 | /*hlr*/ "\0338", | |
56 | /*hlf*/ "\0339", | |
57 | /*flr*/ "\0337", | |
58 | /*bdon*/ "\033E", | |
59 | /*bdoff*/ "\033*", | |
60 | /*ploton*/ "\033P", | |
61 | /*plotoff*/ "\033N", | |
62 | /*up*/ "\013", | |
63 | /*down*/ "\n", | |
64 | /*right*/ " ", | |
65 | /*left*/ "\b", | |
66 | /*codetab*/ | |
67 | #include "code.aj833" |