
#define getch( ) getc(stdin)

#define STDERR stdout

#define NULLPTR  NULL
#define ENDSTR	(char)   NULL

#define BOOL  unsigned char
#define LCHAR unsigned int

#define BACKSPACE   8
#define TAB			9
#define LINEFEED	10
#define NEWLINE		10
#define CR			13
#define ESCAPE		27
#define BLANK   	32
#define EXCLAIM		33
#define DOLLAR		36
#define PERCENT		37
#define AMPERSAND   38
#define ASTERISK 	42
#define PLUS		43
#define COMMA		44
#define MINUS		45
#define DASH		45
#define PERIOD		46
#define SEMICOL		59
#define QUESTION	63
#define ATSIGN    	64
#define LEFTBRACKET 91
#define RIGHTBRACKET 93
#define CARET   	94
#define CSI			155

/* Characters Introduced by CSI */
#define CUR_UP		65
#define CUR_DOWN	66
#define CUR_RIGHT	67
#define CUR_LEFT 	68
