Annotation of coherent/a/usr/include/terminfo.h, revision 1.1

1.1     ! root        1: /*********************************************************************
        !             2: *                         COPYRIGHT NOTICE                           *
        !             3: **********************************************************************
        !             4: *        This software is copyright (C) 1982 by Pavel Curtis         *
        !             5: *                                                                    *
        !             6: *        Permission is granted to reproduce and distribute           *
        !             7: *        this file by any means so long as no fee is charged         *
        !             8: *        above a nominal handling fee and so long as this            *
        !             9: *        notice is always included in the copies.                    *
        !            10: *                                                                    *
        !            11: *        Other rights are reserved except as explicitly granted      *
        !            12: *        by written permission of the author.                        *
        !            13: *                Pavel Curtis                                        *
        !            14: *                Computer Science Dept.                              *
        !            15: *                405 Upson Hall                                      *
        !            16: *                Cornell University                                  *
        !            17: *                Ithaca, NY 14853                                    *
        !            18: *                                                                    *
        !            19: *                Ph- (607) 256-4934                                  *
        !            20: *                                                                    *
        !            21: *                Pavel.Cornell@Udel-Relay   (ARPAnet)                *
        !            22: *                decvax!cornell!pavel       (UUCPnet)                *
        !            23: *********************************************************************/
        !            24: 
        !            25: /*
        !            26:  *  $Header: /src386/usr/include/RCS/terminfo.h,v 1.1 92/07/07 12:24:34 bin Exp $
        !            27:  *
        !            28:  *     terminfo.h - those things needed for programs runnning at the
        !            29:  *                     terminfo level.
        !            30:  *
        !            31:  *  $Log:      terminfo.h,v $
        !            32:  * Revision 1.1  92/07/07  12:24:34  bin
        !            33:  * Initial revision
        !            34:  * 
        !            35: Revision 2.2  91/02/10  12:27:05  munk
        !            36: Added conditional 8-bit characters for UNIX on PC's
        !            37: 
        !            38: Revision 2.1  82/10/25  14:49:59  pavel
        !            39: Added Copyright Notice
        !            40: 
        !            41: Revision 2.0  82/10/24  15:18:26  pavel
        !            42: Beta-one Test Release
        !            43: 
        !            44: Revision 1.4  82/08/23  22:31:21  pavel
        !            45: The REAL Alpha-one Release Version
        !            46: 
        !            47: Revision 1.3  82/08/19  19:24:11  pavel
        !            48: Alpha Test Release One
        !            49: 
        !            50: Revision 1.2  82/08/19  19:10:56  pavel
        !            51: Alpha Test Release One
        !            52: 
        !            53: Revision 1.1  82/08/15  16:42:20  pavel
        !            54: Initial revision
        !            55: 
        !            56:  *
        !            57:  */
        !            58: 
        !            59: #ifndef A_STANDOUT
        !            60: 
        !            61: #include <stdio.h>
        !            62: #include <sgtty.h>
        !            63: 
        !            64: /*
        !            65:  * The following definition activates the handling of 8-bit characters.
        !            66:  * If activated, chars may be 8 bits, but attribute A_DIM is set to
        !            67:  * A_NORMAL, to get one more bit for the chars.
        !            68:  * If you change the definition, curses should be recompiled!!!!
        !            69:  */
        !            70: #define CHAR8
        !            71: 
        !            72: #define SGTTY  struct sgttyb
        !            73: 
        !            74:     /* Video attributes */
        !            75: #ifdef CHAR8
        !            76: #define A_NORMAL       0000000
        !            77: #define A_ATTRIBUTES   0177400
        !            78: #define A_CHARTEXT     0000377
        !            79: 
        !            80: #define A_STANDOUT     0004000
        !            81: #define A_UNDERLINE    0000400
        !            82: 
        !            83: #ifndef MINICURSES
        !            84: #  define A_REVERSE    0001000
        !            85: #  define A_BLINK      0002000
        !            86: #  define A_DIM                A_NORMAL
        !            87: #  define A_BOLD       0010000
        !            88: #  define A_INVIS      0020000
        !            89: #  define A_PROTECT    0040000
        !            90: #  define A_ALTCHARSET 0100000
        !            91: #endif MINICURSES
        !            92: #else CHAR8
        !            93: #define A_NORMAL       0000000
        !            94: #define A_ATTRIBUTES   0177600
        !            95: #define A_CHARTEXT     0000177
        !            96: 
        !            97: #define A_STANDOUT     0000200
        !            98: #define A_UNDERLINE    0000400
        !            99: 
        !           100: #ifndef MINICURSES
        !           101: #  define A_REVERSE    0001000
        !           102: #  define A_BLINK      0002000
        !           103: #  define A_DIM                0004000
        !           104: #  define A_BOLD       0010000
        !           105: #  define A_INVIS      0020000
        !           106: #  define A_PROTECT    0040000
        !           107: #  define A_ALTCHARSET 0100000
        !           108: #endif MINICURSES
        !           109: #endif CHAR8
        !           110: 
        !           111: extern char    ttytype[];
        !           112: #define NAMESIZE       256
        !           113: #endif

unix.superglobalmegacorp.com

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