Annotation of researchv10no/cmd/troff/ancient.nroff/nii.c, revision 1.1.1.1

1.1       root        1: #include "tdef.hd"
                      2: #ifdef NROFF
                      3: #include "tw.hd"
                      4: #endif
                      5: #include "strs.hd"
                      6: #ifdef unix
                      7: #include <sgtty.h>
                      8: #endif
                      9: 
                     10: struct s *frame, *stk, *ejl;
                     11: struct s *nxf;
                     12: 
                     13: #ifdef NROFF
                     14: #ifndef SMALL
                     15: int pipeflg;
                     16: #endif
                     17: int hflg;
                     18: int eqflg;
                     19: struct ttable t;               /* terminal table */
                     20: #endif
                     21: 
                     22: struct d d[NDI], *dip;         /* diversion information stack */
                     23: 
                     24: #ifndef NROFF
                     25: int xpts;
                     26: int verm;
                     27: int *pslp;
                     28: int psflg;
                     29: int ppts;
                     30: int pfont;
                     31: int paper;
                     32: int mpts;
                     33: int mfont;
                     34: int mcase;
                     35: int escm;
                     36: int cs;
                     37: int code;
                     38: int ccs;
                     39: int bd;
                     40: int back;
                     41: #endif
                     42: 
                     43: int level;
                     44: int stdi;
                     45: int waitf;
                     46: int nofeed;
                     47: int quiet;
                     48: int stop;
                     49: char ibuf[IBUFSZ];
                     50: char xbuf[IBUFSZ];
                     51: char *ibufp;
                     52: char *xbufp;
                     53: char *eibuf;
                     54: char *xeibuf;
                     55: int cbuf[NC];
                     56: int *cp;
                     57: int nx;
                     58: int mflg;
                     59: int ch = 0;
                     60: int cps;
                     61: int suffid;
                     62: #ifndef INCORE
                     63: union  {
                     64:        unsigned uns[26];
                     65:        char    chr[26*(sizeof(unsigned)/sizeof(char))];
                     66:        }  sufind;
                     67: #else
                     68: #include "suftab.c"
                     69: #endif
                     70: int ibf;
                     71: filedes ttyod;
                     72: #ifdef unix
                     73: struct sgttyb ttys;
                     74: #endif
                     75: int iflg;
                     76: char *enda;
                     77: int rargc;
                     78: char **argp;
                     79: int lgf;
                     80: int copyf;
                     81: int cwidth;
                     82: struct tmpfaddr ip;
                     83: int nlflg;
                     84: int donef;
                     85: int nflush;
                     86: int nfo;
                     87: int ifile;
                     88: int padc;
                     89: int raw;
                     90: filedes ifl[NSO];
                     91: int ifi;
                     92: int flss;
                     93: int nonumb;
                     94: int trap;
                     95: int tflg;
                     96: int ejf;
                     97: int gflag;
                     98: int dilev;
                     99: int tlss;
                    100: struct tmpfaddr offset;
                    101: int em;
                    102: int ds;
                    103: struct tmpfaddr woff;
                    104: int app;
                    105: int ndone;
                    106: int lead;
                    107: int ralss;
                    108: struct tmpfaddr nextb;
                    109: int *argtop;
                    110: int nrbits;
                    111: int nform;
                    112: int oldmn;
                    113: int newmn;
                    114: int macerr;
                    115: struct tmpfaddr apptr;
                    116: int diflg;
                    117: int wbfi;
                    118: int evi;
                    119: int vflag;
                    120: int noscale;
                    121: int po1;
                    122: int evlist[EVLSZ];
                    123: int ev;
                    124: int tty;
                    125: int sfont;
                    126: int sv;
                    127: int esc;
                    128: int widthp;
                    129: int xfont;
                    130: int setwdf;
                    131: int xbitf;
                    132: int over;
                    133: int nhyp;
                    134: int **hyp;
                    135: int *olinep;
                    136: int esct;
                    137: int ttysave = -1;
                    138: int dotT;
                    139: char *unlkp;
                    140: int no_out;
                    141: int *cstk[CH0+1];              /* pointer stack for getch0 */
                    142: int cstkl;             /* cstk level */
                    143: int rptbuf[RPTLEN];    /* repeat char buffer */

unix.superglobalmegacorp.com

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