Install sccs headers and copyright notices.
[unix-history] / usr / src / usr.bin / tn3270 / general / globals.h
CommitLineData
8ebd1663
GM
1/*
2 * This file contains all the globals used by tn3270.
3 *
4 * Since various files may want to reference this file,
5 * and since they may only want subsets of the globals,
6 * we assume they have #include'd all the other .h files
7 * first, and we only give those globals relevant to
8 * the #include'd .h files.
992de934
GM
9 *
10 * @(#)globals.h 1.10 (Berkeley) %G%
8ebd1663
GM
11 */
12
13#if defined(DEFINING_INSTANCES)
14#define EXTERN
15#else
16#define EXTERN extern
17#endif
18
19
21067ec8
GM
20EXTERN int
21 /*
22 * shell_active ==>
23 * 1. Don't do input.
24 * 2. Don't do output.
25 * 3. Don't block in select.
26 * 4. When nothing to do, call shell_continue()
27 */
28 shell_active;
29
30
8ebd1663
GM
31#if defined(INCLUDED_OPTIONS)
32EXTERN int OptHome; /* where home should send us */
33
34EXTERN int OptLeftMargin; /* where new line should send us */
35
36EXTERN char OptColTabs[80]; /* local tab stops */
37
38EXTERN int OptAPLmode;
39
40EXTERN int OptNullProcessing; /* improved null processing */
41
42EXTERN int OptZonesMode; /* zones mode off */
43
44EXTERN int OptEnterNL; /* regular enter/new line keys */
45
46EXTERN int OptColFieldTab; /* regular column/field tab keys */
47
48EXTERN int OptPacing; /* do pacing */
49
50EXTERN int OptAlphaInNumeric; /* allow alpha in numeric fields */
51
52EXTERN int OptHome;
53
54EXTERN int OptLeftMargin;
55
56EXTERN int OptWordWrap;
57#endif
58
59#if defined(INCLUDED_SCREEN)
60EXTERN ScreenImage
61 Host[MAXSCREENSIZE]; /* host view of screen */
8ebd1663
GM
62
63EXTERN char Orders[256]; /* Non-zero for orders */
64
65 /* Run-time screen geometry */
66EXTERN int
67 MaxNumberLines, /* How many rows the 3270 COULD have */
68 MaxNumberColumns, /* How many columns the 3270 COULD have */
69 NumberLines, /* How many lines the 3270 screen contains */
70 NumberColumns, /* How many columns the 3270 screen contains */
71 ScreenSize;
72
73EXTERN int CursorAddress; /* where cursor is */
74EXTERN int BufferAddress; /* where writes are going */
75
76EXTERN int Lowest, Highest;
77
78extern char CIABuffer[];
79
80EXTERN int UnLocked; /* is the keyboard unlocked */
81EXTERN int AidByte;
82
8ebd1663
GM
83#endif
84
85#if defined(INCLUDED_STATE)
86#endif
d6ebedbd
GM
87
88#if defined(INCLUDED_OIA)
89
92f7501a
GM
90EXTERN OIA OperatorInformationArea;
91
214f1a29
GM
92EXTERN int
93 oia_modified, /* Has the oia been modified */
94 ps_modified; /* Has the presentation space been modified */
d6ebedbd
GM
95
96#endif /* defined(INCLUDED_OIA) */