xref: /illumos-gate/usr/src/cmd/refer/refer0.c (revision 2a8bcb4efb45d99ac41c94a75c396b362c414f7f)
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 #include "refer..c"
17 
18 FILE *in = stdin;
19 FILE *fo = stdout;
20 FILE *ftemp = stdout;
21 int endpush = 0;
22 int sort = 0;
23 int labels = 0;
24 int keywant = 0;
25 int bare = 0;
26 int biblio = 0;
27 int science = 0;
28 int postpunct = 0;
29 int authrev = 0;
30 char *smallcaps = "";
31 char *keystr = "AD";
32 char *convert = "X.AP";
33 int nmlen = 0, dtlen = 0;
34 char *rdata[NSERCH];
35 char **search = rdata;
36 int refnum = 0;
37 char reftext[NRFTXT];
38 char *reftable[NRFTBL];
39 char *rtp = reftext;
40 int sep = '\n';
41 char tfile[NTFILE];
42 char ofile[NTFILE];
43 char gfile[NTFILE];
44 char hidenam[NTFILE];
45 char *Ifile = "standard input";
46 int Iline = 0;
47