1 /*-
2  * Copyright (c) 1988, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  */
7 
8 #ifndef lint
9 static char sccsid[] = "@(#)globals.c	8.1 (Berkeley) 06/06/93";
10 #endif /* not lint */
11 
12 /*
13  *	Do the defining instances for the globals of tn3270.
14  */
15 
16 #include	"../ctlr/hostctlr.h"
17 #include	"../ctlr/oia.h"
18 #include	"../ctlr/options.h"
19 #include	"../ctlr/screen.h"
20 
21 
22 #define DEFINING_INSTANCES
23 
24 #include	"globals.h"
25 
26 #include	"../general/general.h"
27 
28 /*
29  * init_system()
30  *
31  * Initialize the global values in case of a restart.
32  */
33 
34 void
35 init_system()
36 {
37     OptHome = OptLeftMargin = OptAPLmode = OptNullProcessing = 0;
38     OptZonesMode = OptEnterNL = OptColFieldTab = OptPacing = 0;
39     OptAlphaInNumeric = OptHome = OptLeftMargin = OptWordWrap = 0;
40 
41     ClearArray(Host);
42     CursorAddress = BufferAddress = 0;
43 
44     Lowest = Highest = 0;
45 
46     UnLocked = AidByte = 0;
47 
48 }
49