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