home *** CD-ROM | disk | FTP | other *** search
- /* dio.h
- * External data used by DIO.C for directed I/O simulation
- */
-
- #define BUF_CONS 0 /* 1 if console buffering is desired,
- 0 otherwise (see DIO.C) */
-
- #define ABORT_CHECK 1 /* 1 to recognize keyboard abort */
-
- char _diflag, _doflag; /* flag if directed I/O being used */
- char _apflag, _prflag; /* flags if append or printer mode */
- char _nulflag; /* flag for bit-bucket output */
- char _pipef, *_pipedest; /* true if a pipe is being filled */
- char **_savei, **_nullpos; /* used to remember position in
- command line when piping */
- char cmdstr[200], *cmd; /* command line for the MCL */
- int fnptr; /* pointer to output filename */
- char *fmode; /* file open mode "w" or "a" */
-
- FILE *_dibuf, *_dobuf; /* fp's used for redirection */
-
- int _cungetch; /* NULL or ungotten character */
-
- #if BUF_CONS /* console buffering data */
-
- char _conbuf[MAXLINE + 2]; /* console input buffer used for
- non-directed standard input */
- char *_conbufp; /* pointer to next character to
- read from console buffer */
- #endif