/***********************************************************************
 		  Down and Dirty MeSsyDOS IRC Client
		  by zorgo <zorgo@gnu.ai.mit.edu>
**********************************************************************/

#define DDM_IRCNICK		"DDM"
#define DDM_IRCUSER		"DDM"
#define DDM_IRCNAME		"Down and Dirty MeSsyDOS IRC Client"

#define	N81_COM_SETTINGS	(BITS_8 | STOP_1 | NO_PARITY)
#define E71_COM_SETTINGS	(BITS_7 | STOP_1 | EVEN_PARITY)

#define MAX		512

#define FULL_SCREEN;	window(1,1,80,25);textbackground(BLUE);textcolor(WHITE);gotoxy(1,25);

#define DEBUG_WINDOW;	window(1,1,80,10);textbackground(RED);textcolor(WHITE);gotoxy(1,10);
#define OUTPUT_WINDOW;	window(1,1,80,23);textbackground(BLACK);textcolor(GREEN);gotoxy(1,23);
#define STATUS_LINE;	window(1,24,80,24);textbackground(BLUE);textcolor(WHITE);gotoxy(1,24);
#define INPUT_WINDOW;	window(1,25,80,25);textbackground(WHITE);textcolor(BLACK);gotoxy(1,25);

int debug=1;            /* Default of Debug on/off */
int n81=1;				/* Default to N81 */
int terminal=1;			/* Default Use terminal on startup */
int login=1;			/* Default send login to server */
int comport=1;			/* Default use COM2 (0=COM1, 1=COM2, 2=COM3, 3=COM4 */
int baudrate=57600;		/* Default baudrate (57600, 38400, 19200, 9600, 4800, 2400, 1200, 300 */
int lame=0;				/* Default Lame Mode off */

char buff[MAX];			/* Universal buffers */
char buff2[MAX];

char dbuff[MAX];        /* Keyboard buffer */
char mbuff[MAX];		/* Modem input buffer */

char from[100], type[25], to[50], message[MAX], nick[25];

char current_channel[MAX];	/* What channel are we talking to? */
char current_nick[10];		/* What is my name? */
