#ifndef lint static char sccsid[] = "@(#)t9.c 4.2 8/11/83"; #endif /* t9.c: write lines for tables over 200 lines */ # include "t..c" static useln; yetmore() { for(useln=0; useln=MAXLIN) error("Wierd. No data in table."); table[0]=table[useln]; for(useln=nlin-1; useln>=0 && (fullbot[useln] || instead[useln]); useln--); if (useln<0) error("Wierd. No real lines in table."); domore(leftover); while (gets1(cstore=cspace) && domore(cstore)) ; last =cstore; return; } domore(dataln) char *dataln; { int icol, ch; if (prefix(".TE", dataln)) return(0); if (dataln[0] == '.' && !isdigit(dataln[1])) { puts(dataln); return(1); } instead[0]= (char *) 0; fullbot[0]=0; if (dataln[1]==0) switch(dataln[0]) { case '_': fullbot[0]= '-'; putline(useln,0); return(1); case '=': fullbot[0]= '='; putline(useln, 0); return(1); } for (icol = 0; icol