Commit | Line | Data |
---|---|---|
ece54d17 | 1 | /* |
992de934 | 2 | * Copyright (c) 1984-1987 by the Regents of the |
ece54d17 GM |
3 | * University of California and by Gregory Glenn Minshall. |
4 | * | |
5 | * Permission to use, copy, modify, and distribute these | |
6 | * programs and their documentation for any purpose and | |
7 | * without fee is hereby granted, provided that this | |
8 | * copyright and permission appear on all copies and | |
9 | * supporting documentation, the name of the Regents of | |
10 | * the University of California not be used in advertising | |
11 | * or publicity pertaining to distribution of the programs | |
12 | * without specific prior permission, and notice be given in | |
13 | * supporting documentation that copying and distribution is | |
14 | * by permission of the Regents of the University of California | |
15 | * and by Gregory Glenn Minshall. Neither the Regents of the | |
16 | * University of California nor Gregory Glenn Minshall make | |
17 | * representations about the suitability of this software | |
18 | * for any purpose. It is provided "as is" without | |
19 | * express or implied warranty. | |
20 | */ | |
21 | ||
22 | #ifndef lint | |
c578271f | 23 | static char sccsid[] = "@(#)globals.c 3.1 (Berkeley) %G%"; |
ece54d17 GM |
24 | #endif /* ndef lint */ |
25 | ||
26 | /* | |
27 | * Do the defining instances for the globals of tn3270. | |
28 | */ | |
29 | ||
30 | #include "../ctlr/hostctlr.h" | |
f5c3cf83 | 31 | #include "../ctlr/oia.h" |
ece54d17 GM |
32 | #include "../ctlr/options.h" |
33 | #include "../ctlr/screen.h" | |
ece54d17 GM |
34 | |
35 | ||
36 | #define DEFINING_INSTANCES | |
37 | ||
38 | #include "globals.h" | |
19003317 | 39 | |
7a8dddcf | 40 | #include "../general/general.h" |
19003317 GM |
41 | |
42 | /* | |
43 | * init_system() | |
44 | * | |
45 | * Initialize the global values in case of a restart. | |
46 | */ | |
47 | ||
48 | void | |
49 | init_system() | |
50 | { | |
51 | OptHome = OptLeftMargin = OptAPLmode = OptNullProcessing = 0; | |
52 | OptZonesMode = OptEnterNL = OptColFieldTab = OptPacing = 0; | |
53 | OptAlphaInNumeric = OptHome = OptLeftMargin = OptWordWrap = 0; | |
54 | ||
55 | ClearArray(Host); | |
19003317 GM |
56 | CursorAddress = BufferAddress = 0; |
57 | ||
58 | Lowest = Highest = 0; | |
59 | ||
60 | UnLocked = AidByte = 0; | |
61 | ||
62 | } |