Annotation of coherent/g/usr/lib/ncurses/object.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: /*
                     26: ** $Header: /src386/usr/lib/ncurses/RCS/object.h,v 1.7 93/04/12 14:11:00 bin Exp Locker: bin $
                     27: **
                     28: **     object.h - Format of compiled terminfo files
                     29: **
                     30: **             Header (12 bytes), containing information given below
                     31: **             Names Section, containing the names of the terminal
                     32: **             Boolean Section, containing the values of all of the
                     33: **                             boolean capabilities
                     34: **                             A null byte may be inserted here to make
                     35: **                             sure that the Number Section begins on an
                     36: **                             even word boundary.
                     37: **             Number Section, containing the values of all of the numeric
                     38: **                             capabilities, each as a short integer
                     39: **             String Section, containing short integer offsets into the
                     40: **                             String Table, one per string capability
                     41: **             String Table, containing the actual characters of the string
                     42: **                             capabilities.
                     43: **
                     44: **     NOTE that all short integers in the file are stored using VAX/PDP-style
                     45: **     byte-swapping, i.e., least-significant byte first.  The code in
                     46: **     read_entry() automatically fixes this up on machines which don't use
                     47: **     this system (I hope).
                     48: **
                     49: **  $Log:      object.h,v $
                     50:  * Revision 1.7  93/04/12  14:11:00  bin
                     51:  * udo: 3rd color update
                     52:  * 
                     53:  * Revision 1.2  92/04/13  14:40:12  bin
                     54:  * *** empty log message ***
                     55:  * 
                     56:  * Revision 2.1  82/10/25  14:49:50  pavel
                     57:  * Added Copyright Notice
                     58:  * 
                     59:  * Revision 2.0  82/10/24  15:18:19  pavel
                     60:  * Beta-one Test Release
                     61:  * 
                     62:  * Revision 1.3  82/08/23  22:31:12  pavel
                     63:  * The REAL Alpha-one Release Version
                     64:  * 
                     65:  * Revision 1.2  82/08/19  19:10:18  pavel
                     66:  * Alpha Test Release One
                     67:  * 
                     68:  * Revision 1.1  82/08/12  18:48:55  pavel
                     69:  * Initial revision
                     70:  * 
                     71: **
                     72: */
                     73: 
                     74: #define MAGIC  0432
                     75: 
                     76: struct header
                     77: {
                     78:        short   magic;          /* Magic Number (0432)                  */
                     79:        short   name_size;      /* Size of names section                */
                     80:        short   bool_count;     /* Number of booleans                   */
                     81:        short   num_count;      /* Number of numbers                    */
                     82:        short   str_count;      /* Number of strings                    */
                     83:        short   str_size;       /* Size of string table                 */
                     84: };

unix.superglobalmegacorp.com

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