Annotation of 43BSDTahoe/ucb/tn3270/general/globals.h, revision 1.1

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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.