|
|
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/bin/tic/RCS/object.h,v 1.1 92/03/13 10:46:35 bin Exp $
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.1 92/03/13 10:46:35 bin
51: * Initial revision
52: *
53: Revision 2.1 82/10/25 14:49:50 pavel
54: Added Copyright Notice
55:
56: Revision 2.0 82/10/24 15:18:19 pavel
57: Beta-one Test Release
58:
59: Revision 1.3 82/08/23 22:31:12 pavel
60: The REAL Alpha-one Release Version
61:
62: Revision 1.2 82/08/19 19:10:18 pavel
63: Alpha Test Release One
64:
65: Revision 1.1 82/08/12 18:48:55 pavel
66: Initial revision
67:
68: **
69: */
70:
71:
72: #define MAGIC 0432
73:
74: struct header
75: {
76: short magic; /* Magic Number (0432) */
77: short name_size; /* Size of names section */
78: short bool_count; /* Number of booleans */
79: short num_count; /* Number of numbers */
80: short str_count; /* Number of strings */
81: short str_size; /* Size of string table */
82: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.