/*
* Copyright 1998 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/* t7.c: control to write table entries */
# include "t..c"
void need(void);
void deftail(void);
void
runout(void)
{
int i;
if (ctrflg)
{
}
deftail();
for(i=0; i<nlin; i++)
putline(i,i);
if (leftover)
yetmore();
if (ctrflg)
}
void
{
for(c=0; c<ncol; c++)
{
continue;
{
case 'n':
case 'a':
if (lused[c]) /*Zero field width*/
case 'c':
case 'l':
case 'r':
continue;
case 's':
continue;
}
}
}
int
ifline(char *s)
{
if (!point(s)) return(0);
if (s[0] == '\\') s++;
if (s[1] ) return(0);
if (s[0] == '_') return('-');
if (s[0] == '=') return('=');
return(0);
}
void
need(void)
{
if (allh(i))
horlin++;
else if (instead[i] != 0)
continue;
else
texlin++;
}
/*
* For nroff runs, we need to reserve space for the full height of the
* horizontal rules. If we don't reserve sufficient height, we'll have
* problems trying to draw the vertical lines across the page boundary.
*/
}
void
deftail(void)
{
for(i=0; i<MAXHEAD; i++)
if (linestop[i])
for(i=0; i<MAXHEAD; i++)
if (linestop[i])
if (!pr1403)
/* T. is really an argument to a macro but because of
eqn we don't dare pass it as an argument and reference by $1 */
}
for(c=0; c<ncol; c++)
{
{
tohcol(c);
}
}
{
}
}