Annotation of coherent/g/usr/lib/ncurses/terminfo.h, revision 1.1.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: #ifndef A_STANDOUT
                     26: 
                     27: #include <stdio.h>
                     28: 
                     29: #include <termio.h>
                     30: #define DEF_VEOF       CEOF
                     31: #define DEF_VEOL       0
                     32: #define DEF_VMIN       1
                     33: #define DEF_VTIME      0
                     34: 
                     35: /* Video attributes */
                     36: 
                     37: #define A_NORMAL       000000000000L
                     38: #define A_ATTRIBUTES   037777600000L   /* 0xFFFF0000 */
                     39: #define A_CHARTEXT     000000177777L   /* 0x0000FFFF */
                     40: #define A_COLOR                017600000000L
                     41: 
                     42: #define A_STANDOUT     000000200000L
                     43: #define        _STANDOUT       A_STANDOUT    /* for compatability with old curses */
                     44: #define A_UNDERLINE    000000400000L
                     45: 
                     46: #define A_REVERSE      000001000000L
                     47: #define A_BLINK                000002000000L
                     48: #define A_DIM          000004000000L
                     49: #define A_BOLD         000010000000L
                     50: #define A_ALTCHARSET   000100000000L
                     51: /* The next two are subject to change so don't depend on them */
                     52: #define A_INVIS                000020000000L
                     53: #define A_PROTECT      000040000000L
                     54: 
                     55: #define COLOR_PAIR(n)  ((n) << 25)
                     56: #define PAIR_NUMBER(n) (((n) & A_COLOR) >> 25)
                     57: 
                     58: #define COLOR_BLACK    0
                     59: #define COLOR_RED      1
                     60: #define COLOR_GREEN    2
                     61: #define COLOR_YELLOW   3
                     62: #define COLOR_BLUE     4
                     63: #define COLOR_MAGENTA  5
                     64: #define COLOR_CYAN     6
                     65: #define COLOR_WHITE    7
                     66: 
                     67: #define ACS_ULCORNER   (acs_map['l'])  /* upper left corner */
                     68: #define ACS_LLCORNER   (acs_map['m'])  /* lower left corner */
                     69: #define ACS_URCORNER   (acs_map['k'])  /* upper right corner */
                     70: #define ACS_LRCORNER   (acs_map['j'])  /* lower right corner */
                     71: #define ACS_RTEE       (acs_map['u'])  /* right tee */
                     72: #define ACS_LTEE       (acs_map['t'])  /* left tee */
                     73: #define ACS_BTEE       (acs_map['v'])  /* bottom tee */
                     74: #define ACS_TTEE       (acs_map['w'])  /* top tee */
                     75: #define ACS_HLINE      (acs_map['q'])  /* horizontal line */
                     76: #define ACS_VLINE      (acs_map['x'])  /* vertical line */
                     77: #define ACS_PLUS       (acs_map['n'])  /* plus */
                     78: #define ACS_S1         (acs_map['o'])  /* scan line 1 */
                     79: #define ACS_S9         (acs_map['s'])  /* scan line 9 */
                     80: #define ACS_DIAMOND    (acs_map['`'])  /* diamond */
                     81: #define ACS_CKBOARD    (acs_map['a'])  /* checker board (stipple) */
                     82: #define ACS_DEGREE     (acs_map['f'])  /* degree symbol */
                     83: #define ACS_PLMINUS    (acs_map['g'])  /* plus/minus */
                     84: #define ACS_BULLET     (acs_map['~'])  /* bullet */
                     85: #define ACS_LARROW     (acs_map[','])  /* arrow pointing left */
                     86: #define ACS_RARROW     (acs_map['+'])  /* arrow pointing right */
                     87: #define ACS_DARROW     (acs_map['.'])  /* arrow pointing down */
                     88: #define ACS_UARROW     (acs_map['-'])  /* arrow pointing up */
                     89: #define ACS_BOARD      (acs_map['h'])  /* board of squares */
                     90: #define ACS_LANTERN    (acs_map['i'])  /* lantern symbol */
                     91: #define ACS_BLOCK      (acs_map['0'])  /* solid square block */
                     92: 
                     93: extern char    ttytype[];
                     94: extern chtype  acs_map[];
                     95: #define NAMESIZE       256
                     96: #endif

unix.superglobalmegacorp.com

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