1: /*	tdef.h	4.6	85/05/05	*/
   2: 
   3: #define MAXPTR 0x7fffffff   /* max value of any pointer variable */
   4: #ifdef NROFF    /*NROFF*/
   5: #define EM t.Em
   6: #define HOR t.Hor
   7: #define VERT t.Vert
   8: #define INCH 240    /*increments per inch*/
   9: #define SPS INCH/10 /*space size*/
  10: #define SS INCH/10  /* " */
  11: #define TRAILER 0
  12: #define UNPAD 0227
  13: #define PO 0 /*page offset*/
  14: #define ASCII 1
  15: #define PTID 1
  16: #define LG 0
  17: #define DTAB 0  /*set at 8 Ems at init time*/
  18: #define ICS 2*SPS
  19: #define TEMP 256    /*65K*/
  20: #endif
  21: #ifndef NROFF   /*TROFF*/
  22: #define INCH 432    /*troff resolution*/
  23: #define SPS 20  /*space size at 10pt; 1/3 Em*/
  24: #define SS 12   /*space size in 36ths of an em*/
  25: #define TRAILER 6048    /*144*14*3 = 14 inches*/
  26: #define UNPAD 027
  27: #define PO 416 /*page offset 26/27ths inch*/
  28: #define HOR 1
  29: #define VERT 3
  30: #define EM (6*(pts&077))
  31: #define ASCII 0
  32: #define PTID 0
  33: #define LG 1
  34: #define DTAB (INCH/2)
  35: #define ICS 3*SPS
  36: #define TEMP 512    /*128K*/
  37: #endif
  38: 
  39: #include <signal.h>
  40: #define NARSP 0177  /*narrow space*/
  41: #define HNSP 0226   /*half narrow space*/
  42: #define PS 10   /*default point size*/
  43: #define FT 0    /*default font position*/
  44: #define LL 65*INCH/10   /*line length; 39picas=6.5in*/
  45: #define VS INCH/6   /*vert space; 12points*/
  46: #ifdef VMUNIX
  47: #define NN 528  /*number registers*/
  48: #else
  49: #define NN 132  /*number registers*/
  50: #endif
  51: /* #define NN 200	*/
  52: #define NNAMES 14 /*predefined reg names*/
  53: #define NIF 15  /*if-else nesting*/
  54: #define NS 64   /*name buffer*/
  55: #define NTM 256 /*tm buffer*/
  56: #define NEV 3   /*environments*/
  57: #define EVLSZ 10    /*size of ev stack*/
  58: /* #define EVS 4*256	*/
  59: #ifdef VMUNIX
  60: #define NM 600
  61: #define EVS 6*256   /*environment size in words*/
  62: #else
  63: #define NM 300  /*requests + macros*/
  64: #define EVS 3*256   /*environment size in words*/
  65: #endif
  66: #define DELTA 512   /*delta core bytes*/
  67: #define NHYP 10 /*max hyphens per word*/
  68: #define NHEX 128    /*byte size of exception word list*/
  69: #define NTAB 35 /*tab stops*/
  70: #define NSO 5   /*"so" depth*/
  71: #ifdef VMUNIX
  72: #define WDSIZE 340  /*word buffer size*/
  73: #define LNSIZE 960  /*line buffer size*/
  74: #else
  75: #define WDSIZE 170  /*word buffer size*/
  76: #define LNSIZE 480  /*line buffer size*/
  77: #endif
  78: /* #define LNSIZE 680	*/
  79: #define NDI 5   /*number of diversions*/
  80: #define DBL 0100000 /*double size indicator*/
  81: #define MOT 0100000 /*motion character indicator*/
  82: #define MOTV 0160000    /*clear for motion part*/
  83: #define VMOT 0040000    /*vert motion bit*/
  84: #define NMOT 0020000    /* negative motion indicator*/
  85: #define MMASK 0100000   /*macro mask indicator*/
  86: #define CMASK 0100377
  87: #define ZBIT 0400   /*zero width char*/
  88: #define BMASK 0377
  89: #define BYTE 8
  90: #define IMP 004 /*impossible char*/
  91: #define FILLER 037
  92: #define PRESC 026
  93: #define HX 0376 /*High-order part of xlss*/
  94: #define LX 0375 /*low-order part of xlss*/
  95: #define CONT 025
  96: #define COLON 013
  97: #define XPAR 030
  98: #define ESC 033
  99: #define FLSS 031
 100: #define RPT 014
 101: #define JREG 0374
 102: #define NTRAP 20    /*number of traps*/
 103: #define NPN 20  /*numbers in "-o"*/
 104: #define T_PAD 0101  /*cat padding*/
 105: #define T_INIT 0100
 106: #define T_IESC 16 /*initial offset*/
 107: #define T_STOP 0111
 108: #define NPP 10  /*pads per field*/
 109: #ifdef VMUNIX
 110: #define FBUFSZ 1024
 111: #else
 112: #define FBUFSZ 256  /*field buf size words*/
 113: #endif
 114: #define OBUFSZ 8192 /*bytes*/
 115: #define IBUFSZ 8192 /*bytes*/
 116: #define NC 256  /*cbuf size words*/
 117: #define NOV 10  /*number of overstrike chars*/
 118: #define ZONE 5  /*5hrs for EST*/
 119: #define TDELIM 032
 120: #define LEFT 035
 121: #define RIGHT 036
 122: #define LEADER 001
 123: #define TAB 011
 124: #define TMASK  037777
 125: #define RTAB 0100000
 126: #define CTAB 0040000
 127: #define OHC 024
 128: 
 129: #define PAIR(A,B) (A|(B<<BYTE))
 130: 
 131: #define BLK  128    /*alloc block words*/
 132: 
 133: #ifdef VMUNIX
 134: #define BIG 1024
 135: #endif VMUNIX
 136: 
 137: #ifdef BIG
 138: typedef long filep;
 139: #define NBLIST BIG  /*allocation , BIG = 256 per 65k*/
 140: #define BLKBITS 7   /*for BLK=128*/
 141: #endif
 142: #ifndef BIG
 143: typedef unsigned filep;
 144: #define NBLIST TEMP /*allocation list, TEMP<=512*/
 145: /* BLK*NBLIST<=65536 words, if filep=unsigned */
 146: #define BLKBITS 0
 147: #endif

Defined typedef's

filep defined in line 138; used 69 times

Defined macros

ASCII defined in line 31; used 1 times
BIG defined in line 134; used 3 times
BLK defined in line 131; used 13 times
BLKBITS defined in line 146; used 11 times
COLON defined in line 96; used 1 times
CONT defined in line 95; used 3 times
CTAB defined in line 126; used 1 times
DELTA defined in line 66; used 2 times
DTAB defined in line 34; used 15 times
EM defined in line 30; used 7 times
ESC defined in line 98; used 2 times
EVLSZ defined in line 57; used 3 times
FBUFSZ defined in line 112; used 3 times
FLSS defined in line 99; used 3 times
FT defined in line 43; used 2 times
HNSP defined in line 41; used 1 times
HX defined in line 93; used 2 times
IBUFSZ defined in line 115; used 8 times
ICS defined in line 35; used 1 times
INCH defined in line 22; used 12 times
JREG defined in line 101; used 2 times
LEADER defined in line 122; used 2 times
LEFT defined in line 120; used 5 times
LG defined in line 33; used 1 times
LL defined in line 44; used 4 times
LX defined in line 94; used 2 times
MAXPTR defined in line 3; used 4 times
MMASK defined in line 85; used 9 times
NARSP defined in line 40; used 1 times
NBLIST defined in line 144; used 4 times
NDI defined in line 79; used 1 times
NHEX defined in line 68; used 3 times
NHYP defined in line 67; used 9 times
NIF defined in line 53; used 2 times
NM defined in line 63; used 8 times
NN defined in line 49; used 13 times
NNAMES defined in line 52; used 2 times
NOV defined in line 117; used 3 times
NPN defined in line 103; used 2 times
NPP defined in line 108; used 2 times
NS defined in line 54; used 3 times
NSO defined in line 70; used 6 times
NTAB defined in line 69; used 4 times
NTM defined in line 55; used 3 times
NTRAP defined in line 102; used 16 times
PO defined in line 27; used 1 times
PS defined in line 42; used 4 times
PTID defined in line 32; used 1 times
RIGHT defined in line 121; used 3 times
RPT defined in line 100; used 3 times
RTAB defined in line 125; used 2 times
SPS defined in line 23; used 3 times
SS defined in line 24; used 1 times
TAB defined in line 123; used 1 times
TDELIM defined in line 119; never used
TEMP defined in line 36; used 1 times
TMASK defined in line 124; used 5 times
TRAILER defined in line 25; used 2 times
T_IESC defined in line 106; used 3 times
T_INIT defined in line 105; used 3 times
T_PAD defined in line 104; used 2 times
T_STOP defined in line 107; used 2 times
UNPAD defined in line 26; used 2 times
VS defined in line 45; used 2 times
WDSIZE defined in line 75; used 3 times
XPAR defined in line 97; used 2 times
ZONE defined in line 118; never used

Usage of this include

Last modified: 1985-05-06
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1317
Valid CSS Valid XHTML 1.0 Strict