xref: /original-bsd/old/roff/nroff_term/tab300.c (revision 7e7b101a)
1 /*	tab300.c	4.1	83/08/05	*/
2 #define INCH 240
3 /*
4  * DASI 300 10 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/10,
42 /*Em*/		INCH/10,
43 /*Halfline*/	INCH/12,
44 /*Adj*/		INCH/10,
45 /*twinit*/	"\007",
46 /*twrest*/	"\007",
47 /*twnl*/	"\015\n",
48 /*hlr*/		"\006\013\013\013\013\006",
49 /*hlf*/		"\006\012\012\012\012\006",
50 /*flr*/		"\013",
51 /*bdon*/	"",
52 /*bdoff*/	"",
53 /*ploton*/	"\006",
54 /*plotoff*/	"\033\006",
55 /*up*/		"\013",
56 /*down*/	"\n",
57 /*right*/	" ",
58 /*left*/	"\b",
59 /*codetab*/
60 #include "code.300"
61