1*7d6f1141Sbostic /*- 2*7d6f1141Sbostic * Copyright (c) 1991 The Regents of the University of California. 3*7d6f1141Sbostic * All rights reserved. 4*7d6f1141Sbostic * 5*7d6f1141Sbostic * %sccs.include.proprietary.c% 6*7d6f1141Sbostic */ 7*7d6f1141Sbostic 8f13afcbeSsam #ifndef lint 9*7d6f1141Sbostic static char sccsid[] = "@(#)glob.c 4.3 (Berkeley) 04/17/91"; 10*7d6f1141Sbostic #endif /* not lint */ 116a1d4244Sshannon 126a1d4244Sshannon #include "e.h" 136a1d4244Sshannon 146a1d4244Sshannon int dbg; /* debugging print if non-zero */ 156a1d4244Sshannon int lp[80]; /* stack for things like piles and matrices */ 166a1d4244Sshannon int ct; /* pointer to lp */ 176a1d4244Sshannon int used[100]; /* available registers */ 186a1d4244Sshannon int ps; /* default init point size */ 196a1d4244Sshannon int deltaps = 3; /* default change in ps */ 206a1d4244Sshannon int gsize = 10; /* default initial point size */ 216a1d4244Sshannon int gfont = ITAL; /* italic */ 226a1d4244Sshannon int ft; /* default font */ 236a1d4244Sshannon FILE *curfile; /* current input file */ 246a1d4244Sshannon int ifile; 256a1d4244Sshannon int linect; /* line number in file */ 266a1d4244Sshannon int eqline; /* line where eqn started */ 276a1d4244Sshannon int svargc; 286a1d4244Sshannon char **svargv; 296a1d4244Sshannon int eht[100]; 306a1d4244Sshannon int ebase[100]; 316a1d4244Sshannon int lfont[100]; 326a1d4244Sshannon int rfont[100]; 336a1d4244Sshannon int eqnreg; /* register where final string appears */ 346a1d4244Sshannon int eqnht; /* inal height of equation */ 356a1d4244Sshannon int lefteq = '\0'; /* left in-line delimiter */ 366a1d4244Sshannon int righteq = '\0'; /* right in-line delimiter */ 376a1d4244Sshannon int lastchar; /* last character read by lex */ 386a1d4244Sshannon int markline = 0; /* 1 if this EQ/EN contains mark or lineup */ 39