static char sccsid
[] = "@(#)t3.c 4.2 %G%";
/* t3.c: interpret commands affecting whole table */
struct optstr
{char *optnam
; int *optadd
;} options
[] = {
char line
[200], *cp
, nb
[25], *t
;
for(lp
= options
; lp
->optnam
; lp
++)
texname
= texstr
[texct
=0];
printf(".nr %d \\n(.s\n", LSIZE
);
/* see if this is a command line */
if (index(line
,';') == NULL
)
for(cp
=line
; (c
= *cp
) != ';'; cp
++)
if (!letter(c
)) continue;
for(lp
= options
; lp
->optadd
; lp
++)
if (prefix(lp
->optnam
, cp
))
cp
+= strlen(lp
->optnam
);
error("Misspelled global option");
while ((ci
= *++cp
) != ')')
if (lp
->optadd
== &linsize
)
printf(".nr %d %s\n", LSIZE
, nb
);
if (lp
->optadd
== &delim1
)