1 /* @(#)defs.h 1.3 (CWI) 86/11/13 */ 2 #define max(a,b) ((a) > (b) ? (a) : (b)) 3 #define min(a,b) ((a) < (b) ? (a) : (b)) 4 #define MAXLIN 200 5 /* 6 * Maximum columns to be output 7 */ 8 #define MAXCOL 30 9 10 /* 11 * MAXCOL is amount of columns to be specified per column 12 * 13 * for relation of MAXCOL and MAXHEAD, see next example: 14 * .TS 15 l l l ) 16 a s s ) Maximum MAXHEAD 17 r r n. ) 18 ----- 19 | 20 Maximum MAXCOL 21 * 22 * Every table can be MAXCOL, with in each column MAXHEAD 23 * specification (lines) 24 * 25 * Don't make MAXCOL bigger width adjusting nregs in globals.c (bwk) 26 */ 27 28 #define MAXHEAD 44 29 #define MAXCHS 2000 30 #define MAXRPT 100 31 #define CLLEN 10 32 #define SHORTLINE 4 33 #define ZEROW 001 34 #define HALFUP 002 35 #define CTOP 004 36 #define CDOWN 010 37 #define CLEFT 000 38 #define CMID 001 39 #define CRIGHT 002 40 #define S1 31 41 #define S2 32 42 #define TMP 38 43 #define SF 35 44 #define SL 34 45 #define LSIZE 33 46 #define SIND 37 47 #define SVS 36 48 #define LEFT 1 49 #define RIGHT 2 50 #define THRU 3 51 #define TOP 1 52 #define BOT 2 53 #define MACROS "/usr/lib/tmac.s" 54 #define PYMACS "/usr/lib/tmac.m" 55 56 /* devices supported */ 57 #define DEVPSC 3 58 #define DEVVER 2 59 #define HARRIS 1 60 #define CAT 0 61 62 struct colstr { 63 char *col, *rcol; 64 }; 65 66 #define dprint if(dbg)printf 67