xref: /original-bsd/old/eqn/common_source/glob.c (revision 2d1a7683)
1 /*-
2  * Copyright (c) 1991 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.proprietary.c%
6  */
7 
8 #ifndef lint
9 static char sccsid[] = "@(#)glob.c	4.3 (Berkeley) 04/17/91";
10 #endif /* not lint */
11 
12 #include "e.h"
13 
14 int	dbg;	/* debugging print if non-zero */
15 int	lp[80];	/* stack for things like piles and matrices */
16 int	ct;	/* pointer to lp */
17 int	used[100];	/* available registers */
18 int	ps;	/* default init point size */
19 int	deltaps	= 3;	/* default change in ps */
20 int	gsize	= 10;	/* default initial point size */
21 int	gfont	= ITAL;	/* italic */
22 int	ft;	/* default font */
23 FILE	*curfile;	/* current input file */
24 int	ifile;
25 int	linect;	/* line number in file */
26 int	eqline;	/* line where eqn started */
27 int	svargc;
28 char	**svargv;
29 int	eht[100];
30 int	ebase[100];
31 int	lfont[100];
32 int	rfont[100];
33 int	eqnreg;	/* register where final string appears */
34 int	eqnht;	/* inal height of equation */
35 int	lefteq	= '\0';	/* left in-line delimiter */
36 int	righteq	= '\0';	/* right in-line delimiter */
37 int	lastchar;	/* last character read by lex */
38 int	markline	= 0;	/* 1 if this EQ/EN contains mark or lineup */
39