Annotation of coherent/f/usr/include.78/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/lib/ncurses/RCS/terminfo.h,v 1.2 92/04/13 14:40:21 bin Exp Locker: bin $
        !            27:  *
        !            28:  *     terminfo.h - those things needed for programs runnning at the
        !            29:  *                     terminfo level.
        !            30:  *
        !            31:  *  $Log:      terminfo.h,v $
        !            32:  * Revision 2.4  92/11/29  15:42:29  munk
        !            33:  * Conditional ussage of termio
        !            34:  *
        !            35:  * Revision 2.3  92/10/25  22:52:49  munk
        !            36:  * Now supports 16-bit characters
        !            37:  * Defines for alternate character set added
        !            38:  * Attribute bits changed, colors added
        !            39:  *
        !            40:  * Revision 1.2  92/04/13  14:40:21  bin
        !            41:  * *** empty log message ***
        !            42:  * 
        !            43:  * Revision 2.2  91/02/10  12:27:05  munk
        !            44:  * Added conditional 8-bit characters for UNIX on PC's
        !            45:  * 
        !            46:  * Revision 2.1  82/10/25  14:49:59  pavel
        !            47:  * Added Copyright Notice
        !            48:  * 
        !            49:  * Revision 2.0  82/10/24  15:18:26  pavel
        !            50:  * Beta-one Test Release
        !            51:  * 
        !            52:  * Revision 1.4  82/08/23  22:31:21  pavel
        !            53:  * The REAL Alpha-one Release Version
        !            54:  * 
        !            55:  * Revision 1.3  82/08/19  19:24:11  pavel
        !            56:  * Alpha Test Release One
        !            57:  * 
        !            58:  * Revision 1.2  82/08/19  19:10:56  pavel
        !            59:  * Alpha Test Release One
        !            60:  * 
        !            61:  * Revision 1.1  82/08/15  16:42:20  pavel
        !            62:  * Initial revision
        !            63:  */
        !            64: 
        !            65: #ifndef A_STANDOUT
        !            66: 
        !            67: #include <stdio.h>
        !            68: #ifdef USE_TERMIO
        !            69: #include <termio.h>
        !            70: #define DEF_VEOF       CEOF
        !            71: #define DEF_VEOL       0
        !            72: #define DEF_VMIN       1
        !            73: #define DEF_VTIME      0
        !            74: #else
        !            75: #include <sgtty.h>
        !            76: #define SGTTY  struct sgttyb
        !            77: #endif
        !            78: 
        !            79: /* Video attributes */
        !            80: 
        !            81: #define A_NORMAL       000000000000L
        !            82: #define A_ATTRIBUTES   037777600000L   /* 0xFFFF0000 */
        !            83: #define A_CHARTEXT     000000177777L   /* 0x0000FFFF */
        !            84: #define A_COLOR                017600000000L
        !            85: 
        !            86: #define A_STANDOUT     000000200000L
        !            87: #define        _STANDOUT       A_STANDOUT    /* for compatability with old curses */
        !            88: #define A_UNDERLINE    000000400000L
        !            89: 
        !            90: #define A_REVERSE      000001000000L
        !            91: #define A_BLINK                000002000000L
        !            92: #define A_DIM          000004000000L
        !            93: #define A_BOLD         000010000000L
        !            94: #define A_ALTCHARSET   000100000000L
        !            95: /* The next two are subject to change so don't depend on them */
        !            96: #define A_INVIS                000020000000L
        !            97: #define A_PROTECT      000040000000L
        !            98: 
        !            99: #define COLOR_PAIR(n)  ((n) << 25)
        !           100: #define PAIR_NUMBER(n) (((n) & A_COLOR) >> 25)
        !           101: 
        !           102: #define COLOR_BLACK    0
        !           103: #define COLOR_RED      1
        !           104: #define COLOR_GREEN    2
        !           105: #define COLOR_YELLOW   3
        !           106: #define COLOR_BLUE     4
        !           107: #define COLOR_MAGENTA  5
        !           108: #define COLOR_CYAN     6
        !           109: #define COLOR_WHITE    7
        !           110: 
        !           111: #define ACS_ULCORNER   (acs_map['l'])  /* upper left corner */
        !           112: #define ACS_LLCORNER   (acs_map['m'])  /* lower left corner */
        !           113: #define ACS_URCORNER   (acs_map['k'])  /* upper right corner */
        !           114: #define ACS_LRCORNER   (acs_map['j'])  /* lower right corner */
        !           115: #define ACS_RTEE       (acs_map['u'])  /* right tee */
        !           116: #define ACS_LTEE       (acs_map['t'])  /* left tee */
        !           117: #define ACS_BTEE       (acs_map['v'])  /* bottom tee */
        !           118: #define ACS_TTEE       (acs_map['w'])  /* top tee */
        !           119: #define ACS_HLINE      (acs_map['q'])  /* horizontal line */
        !           120: #define ACS_VLINE      (acs_map['x'])  /* vertical line */
        !           121: #define ACS_PLUS       (acs_map['n'])  /* plus */
        !           122: #define ACS_S1         (acs_map['o'])  /* scan line 1 */
        !           123: #define ACS_S9         (acs_map['s'])  /* scan line 9 */
        !           124: #define ACS_DIAMOND    (acs_map['`'])  /* diamond */
        !           125: #define ACS_CKBOARD    (acs_map['a'])  /* checker board (stipple) */
        !           126: #define ACS_DEGREE     (acs_map['f'])  /* degree symbol */
        !           127: #define ACS_PLMINUS    (acs_map['g'])  /* plus/minus */
        !           128: #define ACS_BULLET     (acs_map['~'])  /* bullet */
        !           129: #define ACS_LARROW     (acs_map[','])  /* arrow pointing left */
        !           130: #define ACS_RARROW     (acs_map['+'])  /* arrow pointing right */
        !           131: #define ACS_DARROW     (acs_map['.'])  /* arrow pointing down */
        !           132: #define ACS_UARROW     (acs_map['-'])  /* arrow pointing up */
        !           133: #define ACS_BOARD      (acs_map['h'])  /* board of squares */
        !           134: #define ACS_LANTERN    (acs_map['i'])  /* lantern symbol */
        !           135: #define ACS_BLOCK      (acs_map['0'])  /* solid square block */
        !           136: 
        !           137: extern char    ttytype[];
        !           138: extern chtype  acs_map[];
        !           139: #define NAMESIZE       256
        !           140: #endif

unix.superglobalmegacorp.com

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