/*
 * CLI Parser Block definitions & flags
 *
 * INCLUDE CX.H PRIOR TO INCLUDING THIS FILE
 *
 * Bob Denny
 * 20-Oct-82
 */

struct clipb   {
               struct tcb *c_ptcb;     /* --> TCB of CLI task */
               rad50 c_pnam[2];        /* CLI task name (rad50) */
               word c_psts;            /* Status flags (see below) */
               byte c_pdpl;            /* Length of default prompt string */
               byte c_pcpl;            /* Length of ^C prompt string */
               char c_prmt[];          /* Prompt strings */
               };

/*
 * Bits in c_psts
 */
#define  CP_NUL   0001
#define  CP_MSG   0002
#define  CP_LGO   0004
#define  CP_DSB   0010
#define  CP_PRV   0020
#define  CP_SGL   0040
#define  CP_NIO   0100
#define  CP_RST   0200
#define  CP_EXT   0400

/*
 * Identifier codes for system --> CLI messages
 */
#define  CM_INE   1
#define  CM_IND   2
#define  CM_CEN   3
#define  CM_CDS   4
#define  CM_ELM   5
#define  CM_EXT   6
#define  CM_LKT   7
#define  CM_RMT   8
#define  CM_MSG   9

