#ifndef STDINC_H
#define STDINC_H

#include <stdio.h>
#include <fcntl.h>

#ifndef AMIGA
#define UNIX
#define CLS  "\033[2J\033[1;1H"  /* ansi std */
#else
#define CLS  "\014"            /* amiga std */
#endif

#define ANSI "\033["
#define NORM "\033[0m"
#define BOLD "\033[1m"
#define SUBD "\033[2m"
#define ITAL "\033[3m"
#define UNDR "\033[4m"
#define INVR "\033[7m"

#define sendchar(x) putchar ((char)(x))
#define fix(x)      ((x) <  0) ? ((x)+256) : (x)
#define until(x)    while (!(x))

#ifndef MAX_RPT
#define MAX_RPT 240
#endif

#ifndef MAX_CUT
#define MAX_CUT 80
#endif

#endif

