date and time created 87/05/11 13:12:02 by minshall
[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
5#define OIA_READY_3274 0xF4
6#define OIA_ONLINE_A 0xCC
7#define OIA_OWNERSHIP_MYJOB 0xCF
8#define OIA_OWNERSHIP_SYSTEM_OPERATOR 0xF0
9#define OIA_OWNERSHIP_UNOWNED 0xF1
10#define OIA_INSERT_ON 0x3a
11
12typedef struct {
13 unsigned char
14 ready, /* 01-01 Is 3274 ready? */
15 online, /* 02-02 Online in which mode (a, b) */
16 ownership, /* 03-03 Who owns us (job, operator, unowned) */
17 test2_4[3], /* 04-06 Rest of TEST string */
18 reserved[2], /* 07-08 */
19 x, /* 09-09 X - input inhibited */
20 xnull, /* 10-10 Space */
21 xwhy[7], /* 11-17 Why are we inhibited? */
22 reserved2[14], /* 18-31 */
23 num[3], /* 32-34 Numeric lock */
24 upshift, /* 35-35 Shift state */
25 insert, /* 36-36 Insert mode */
26 apl[3]; /* 37-39 APL mode */
27} OIA;