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

Defined typedef's

Defined macros

ASCII defined in line 34; used 1 times
BIG defined in line 136; used 4 times
BLK defined in line 133; used 13 times
CMASK defined in line 89; used 1 times
  • in line 4
COLON defined in line 99; used 1 times
CTAB defined in line 128; used 1 times
DTAB defined in line 37; used 15 times
ESC defined in line 101; used 2 times
FBUFSZ defined in line 115; used 3 times
FT defined in line 46; used 2 times
HNSP defined in line 44; used 1 times
ICS defined in line 38; used 1 times
LG defined in line 36; used 1 times
LL defined in line 47; used 4 times
MAXPTR defined in line 6; used 3 times
NARSP defined in line 43; used 1 times
NBLIST defined in line 146; used 4 times
NDI defined in line 82; used 1 times
NHEX defined in line 71; used 3 times
NIF defined in line 56; used 2 times
NNAMES defined in line 55; used 2 times
NOV defined in line 120; used 3 times
NPP defined in line 111; used 2 times
NTM defined in line 58; used 3 times
PO defined in line 30; used 1 times
PS defined in line 45; used 4 times
PTID defined in line 35; used 1 times
SPS defined in line 26; used 3 times
SS defined in line 27; used 1 times
TDELIM defined in line 121; never used
TEMP defined in line 39; used 1 times
T_IESC defined in line 109; used 3 times
UNPAD defined in line 29; used 2 times
VS defined in line 48; used 2 times
XPAR defined in line 100; used 2 times

Usage of this include

Last modified: 1988-12-26
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 4803
Valid CSS Valid XHTML 1.0 Strict