|
|
1.1 ! root 1: /* ! 2: * Copyright (c) 1988 Regents of the University of California. ! 3: * All rights reserved. ! 4: * ! 5: * Redistribution and use in source and binary forms are permitted ! 6: * provided that this notice is preserved and that due credit is given ! 7: * to the University of California at Berkeley. The name of the University ! 8: * may not be used to endorse or promote products derived from this ! 9: * software without specific prior written permission. This software ! 10: * is provided ``as is'' without express or implied warranty. ! 11: */ ! 12: ! 13: #ifndef lint ! 14: static char sccsid[] = "@(#)globals.c 3.2 (Berkeley) 3/28/88"; ! 15: #endif /* not lint */ ! 16: ! 17: /* ! 18: * Do the defining instances for the globals of tn3270. ! 19: */ ! 20: ! 21: #include "../ctlr/hostctlr.h" ! 22: #include "../ctlr/oia.h" ! 23: #include "../ctlr/options.h" ! 24: #include "../ctlr/screen.h" ! 25: ! 26: ! 27: #define DEFINING_INSTANCES ! 28: ! 29: #include "globals.h" ! 30: ! 31: #include "../general/general.h" ! 32: ! 33: /* ! 34: * init_system() ! 35: * ! 36: * Initialize the global values in case of a restart. ! 37: */ ! 38: ! 39: void ! 40: init_system() ! 41: { ! 42: OptHome = OptLeftMargin = OptAPLmode = OptNullProcessing = 0; ! 43: OptZonesMode = OptEnterNL = OptColFieldTab = OptPacing = 0; ! 44: OptAlphaInNumeric = OptHome = OptLeftMargin = OptWordWrap = 0; ! 45: ! 46: ClearArray(Host); ! 47: CursorAddress = BufferAddress = 0; ! 48: ! 49: Lowest = Highest = 0; ! 50: ! 51: UnLocked = AidByte = 0; ! 52: ! 53: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.