xref: /original-bsd/old/roff/nroff_term/tab833.c (revision 93ab02a6)
1 /*-
2  * %sccs.include.proprietary.c%
3  *
4  *	@(#)tab833.c	4.2 (Berkeley) 04/18/91
5  */
6 
7 #define INCH 240
8 /*
9  * AJ 833 or 832 10 pitch
10  * nroff driving tables
11  * width and code tables
12  */
13 
14 struct {
15 	int bset;
16 	int breset;
17 	int Hor;
18 	int Vert;
19 	int Newline;
20 	int Char;
21 	int Em;
22 	int Halfline;
23 	int Adj;
24 	char *twinit;
25 	char *twrest;
26 	char *twnl;
27 	char *hlr;
28 	char *hlf;
29 	char *flr;
30 	char *bdon;
31 	char *bdoff;
32 	char *ploton;
33 	char *plotoff;
34 	char *up;
35 	char *down;
36 	char *right;
37 	char *left;
38 	char *codetab[256-32];
39 	int zzz;
40 	} t = {
41 /*bset*/	0,
42 /*breset*/	0177420,
43 /*Hor*/		INCH/60,
44 /*Vert*/	INCH/48,
45 /*Newline*/	INCH/6,
46 /*Char*/	INCH/10,
47 /*Em*/		INCH/10,
48 /*Halfline*/	INCH/12,
49 /*Adj*/		INCH/10,
50 /*twinit*/	"\033N",
51 /*twrest*/	"\033N",
52 /*twnl*/	"\r\n",
53 /*hlr*/		"\0338",
54 /*hlf*/		"\0339",
55 /*flr*/		"\0337",
56 /*bdon*/	"\033E",
57 /*bdoff*/	"\033*",
58 /*ploton*/	"\033P",
59 /*plotoff*/	"\033N",
60 /*up*/		"\013",
61 /*down*/	"\n",
62 /*right*/	" ",
63 /*left*/	"\b",
64 /*codetab*/
65 #include "code.aj833"
66