1/*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
2/*	  All Rights Reserved  	*/
3
4
5/*
6 * Copyright (c) 1980 Regents of the University of California.
7 * All rights reserved. The Berkeley software License Agreement
8 * specifies the terms and conditions for redistribution.
9 */
10
11/*
12 * Copyright (c) 1983, 1984 1985, 1986, 1987, 1988, Sun Microsystems, Inc.
13 * All Rights Reserved.
14 */
15
16#pragma ident	"%Z%%M%	%I%	%E% SMI"
17
18#include <stdio.h>
19#include <ctype.h>
20#include <assert.h>
21
22#define FLAG 003
23#define AFLAG 007
24#define NRFTXT 10000
25#define NRFTBL 500
26#define NTFILE 20
27#define QLEN 512
28#define ANSLEN 4000
29#define TAGLEN 400
30#define NSERCH 20
31#define MXSIG 200		/* max bytes in aggregate signal */
32
33extern FILE *in;
34extern int endpush, sort, labels, keywant, bare;
35extern int biblio, science, postpunct;
36extern char *smallcaps;
37extern char comname;
38extern char *keystr;
39extern char *convert;
40extern int authrev;
41extern int nmlen, dtlen;
42extern char *rdata[], **search;
43extern int refnum;
44extern char *reftable[];
45extern char *rtp, reftext[];
46extern int sep;
47extern char tfile[];
48extern char gfile[];
49extern char ofile[];
50extern char hidenam[];
51extern char *Ifile; extern int Iline;
52extern FILE *fo, *ftemp;
53extern char *input(),*lookat();
54extern char *class(),*caps(),*revauth();
55extern char *artskp(),*fpar();
56extern char *trimnl();
57
58extern char *getenv(), *strcpy(), *strcat();
59