Include oia.h
[unix-history] / usr / src / usr.bin / tn3270 / ctlr / oia.h
CommitLineData
cd01c588
GM
1/*
2 * This file describes the Operator Information Area in the 3270.
3 */
4
d6ebedbd
GM
5#define INCLUDED_OIA
6
cd01c588
GM
7#define OIA_READY_3274 0xF4
8#define OIA_ONLINE_A 0xCC
9#define OIA_OWNERSHIP_MYJOB 0xCF
10#define OIA_OWNERSHIP_SYSTEM_OPERATOR 0xF0
11#define OIA_OWNERSHIP_UNOWNED 0xF1
12#define OIA_INSERT_ON 0x3a
13
14typedef struct {
15 unsigned char
16 ready, /* 01-01 Is 3274 ready? */
17 online, /* 02-02 Online in which mode (a, b) */
18 ownership, /* 03-03 Who owns us (job, operator, unowned) */
19 test2_4[3], /* 04-06 Rest of TEST string */
20 reserved[2], /* 07-08 */
21 x, /* 09-09 X - input inhibited */
22 xnull, /* 10-10 Space */
23 xwhy[7], /* 11-17 Why are we inhibited? */
24 reserved2[14], /* 18-31 */
25 num[3], /* 32-34 Numeric lock */
26 upshift, /* 35-35 Shift state */
27 insert, /* 36-36 Insert mode */
28 apl[3]; /* 37-39 APL mode */
29} OIA;