/******************************************************************************

	MENU.GBL - This is the global variables and constants for
		menu, to be included in each source file.

******************************************************************************/

#include "addon.gbl"

/*#define	VERBOSE	1 */		/* If we want wordy menus like the preliminary */

#define	MINCE		"pw "
#define	SCRIBBLE	"pf "
#define	CRAYON		"pp "
#define	PENCIL		"pt "
#define	DIR		"xd "
#define	PS		"ps "
#define	MAXARGS		20
#define	ARGLEN		15
#define	LINMAX		80

#define	SETDMA		26		/* bdos calls */
#define	SRCHFIRST	17
#define	SRCHNEXT	18
#define	SETDRV		14
#define	GETDRV		25

char	linebuf[LINMAX];		/* input line buffer */
char	execstr[LINMAX];		/* com file to execute */
char	strargs[MAXARGS] [ARGLEN];	/* string args */
int	nxtstr;				/* the first available strarg */
char	*arglist[MAXARGS];	/* the list of pointers to the arguments */
int	nxtarg;				/* the first available arg pointer */
char	now;
char	*filename;

/* end of menu.gbl */
#define dskreset()
#define topofmem()	65536
#define execl(s1, s2, s3)	exec((s1), (s2))

#define putchar			putch

char	*Dev();
char	*Alph();
char	*Pause();
char	*Typewriter();
char	*Page();
char	*Port();
char	*hackname();
char	*copyright();
char	*RubOut();

struct terminal {
	int nrows;
	int ncols;
	char *bell;
} terminal = {
	24,
	80,
	"\007"
};

int	finfp = 0;		/* for pcterm.asm */
int	tinnul = 0;		/* for pcterm.asm */

char	*cur_doc;
