xref: /titanic_51/usr/src/cmd/tbl/t0.c (revision facf4a8d7b59fde89a8662b4f4c73a758e6c402c)
1 /*
2  * Copyright 1990 Sun Microsystems, Inc.  All rights reserved.
3  * Use is subject to license terms.
4  */
5 
6 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
7 /*	  All Rights Reserved  	*/
8 
9 /*
10  * Copyright (c) 1980 Regents of the University of California.
11  * All rights reserved. The Berkeley software License Agreement
12  * specifies the terms and conditions for redistribution.
13  */
14 
15 #pragma ident	"%Z%%M%	%I%	%E% SMI"
16 
17  /* t0.c: storage allocation */
18 #
19 # include "t..c"
20 int expflg = 0;
21 int ctrflg = 0;
22 int boxflg = 0;
23 int dboxflg = 0;
24 int tab = '\t';
25 int linsize;
26 int pr1403;
27 int delim1, delim2;
28 int evenup[MAXCOL], evenflg;
29 int F1 = 0;
30 int F2 = 0;
31 int allflg = 0;
32 char *leftover = 0;
33 int textflg = 0;
34 int left1flg = 0;
35 int rightl = 0;
36 char *cstore, *cspace;
37 char *last;
38 struct colstr *table[MAXLIN];
39 int style[MAXHEAD][MAXCOL];
40 int ctop[MAXHEAD][MAXCOL];
41 char font[MAXHEAD][MAXCOL][2];
42 char csize[MAXHEAD][MAXCOL][4];
43 char vsize[MAXHEAD][MAXCOL][4];
44 int lefline[MAXHEAD][MAXCOL];
45 char cll[MAXCOL][CLLEN];
46 /*char *rpt[MAXHEAD][MAXCOL];*/
47 /*char rpttx[MAXRPT];*/
48 int stynum[MAXLIN+1];
49 int nslin, nclin;
50 int sep[MAXCOL];
51 int fullbot[MAXLIN];
52 char *instead[MAXLIN];
53 int used[MAXCOL], lused[MAXCOL], rused[MAXCOL];
54 int linestop[MAXLIN];
55 int nlin, ncol;
56 int iline = 1;
57 char *ifile = "Input";
58 int texname = 'a';
59 int texct = 0;
60 char texstr[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYXZ0123456789";
61 int linstart;
62 char *exstore, *exlim;
63 FILE *tabin  /*= stdin */;
64 FILE *tabout  /* = stdout */;
65