/* Console Processor Interface */
/* Tahoe version, Nov. 1982 */
/****************************************/
/* Reduced DCB layout for byte */
/****************************************/
#define CPBUFLEN 200 /* Output buffer length */
char cp_unit
; /* Done bit & unit # */
char cp_comm
; /* Command */
short cp_count
; /* Counter (when relevant) */
struct cpdcb_o
/* Output structure */
char cp_buf
[CPBUFLEN
]; /* Buffer for output or 'stty' */
struct cpdcb_i
/* Structure for input */
char cpi_buf
[4]; /* Buffer for input */
#define CPDONE 0x80 /* 'Done' bit in cp_unit */
#define CPTAKE 0x40 /* CP 'ack' to this cpdcb */
#define CPUNIT 0 /* The CP itself */
#define CPCONS 1 /* Console line */
#define CPREMOT 2 /* Remote line */
/* Values for 'command' */