xref: /original-bsd/old/refer/refer/refer0.c (revision 7748387a)
1 /*-
2  * %sccs.include.proprietary.c%
3  */
4 
5 #ifndef lint
6 static char sccsid[] = "@(#)refer0.c	4.2 (Berkeley) 04/18/91";
7 #endif /* not lint */
8 
9 #include "refer..c"
10 
11 FILE *in = stdin;
12 FILE *fo = stdout;
13 FILE *ftemp = stdout;
14 int endpush = 0;
15 int sort = 0;
16 int labels = 0;
17 int keywant = 0;
18 int bare = 0;
19 int biblio = 0;
20 int science = 0;
21 int postpunct = 0;
22 int authrev = 0;
23 char *smallcaps = "";
24 char *keystr = "AD";
25 char *convert = "X.AP";
26 int nmlen = 0, dtlen = 0;
27 char *rdata[NSERCH];
28 char **search = rdata;
29 int refnum = 0;
30 char reftext[NRFTXT];
31 char *reftable[NRFTBL];
32 char *rtp = reftext;
33 int sep = '\n';
34 char tfile[NTFILE];
35 char ofile[NTFILE];
36 char gfile[NTFILE];
37 char hidenam[NTFILE];
38 char *Ifile = "standard input";
39 int Iline = 0;
40