/* $Revision Header *** Header built automatically - do not edit! ***********
 *
 *      (C) Copyright 1991 by Metalworx
 *
 *      Name .....: wfile.h
 *      Created ..: Tue 26-Nov-91 21:05
 *      Revision .: 1
 *
 *      Date            Author          Comment
 *      =========       ========        ====================
 *      24-Jun-92       Mtwx            Anpassungen für OS2
 *      12-Mar-92       Mtwx            Anpassungen fuer -c Option
 *      26-Nov-91       Mtwx            Created this file!
 *
 * $Revision Header ********************************************************/
 #define REVISION 2

/***************************************************************************
* wfile.h: header file for wfile.c, includes #defines etc.                 *
*                                                                          *
* created: Oct 1990 Mtwx                                                   *
***************************************************************************/

/* ------------------------------- define global constants -------------- */

#if !defined (EXIT_SUCCESS)
#define EXIT_SUCCESS 0
#define EXIT_FAILURE 1
#endif

/* ------------------------------- define Options ---------------------- */

#define ADDCR 1
#define REMCR 2
#define EXPTABS 4
#define SHRSPACE 8
#define CHANGE_FOREIGN 16
#define NO_BACKUP 32
#define REAL_NULL 64
#define ADD_FINAL_CHR 128
#define BUFSIZE_SPECIFIED 256
#define CONCAT_LINES 512
#define PRESERVE_PARAGRAPHS 1024
#define DEL_EMPTY_LINES 2048

/* ------------------------------- define defaults --------------------- */

#ifdef AMIGA
#define CRMODE ADDCR
#define CRTEXT "ADDCR"
#define LINES 23
#define SYSTEM "Amiga version"
#endif

#ifdef UNIX
#define CRMODE ADDCR
#define CRTEXT "ADDCR"
#define LINES 22
#define SYSTEM "Unix version"
#endif

#if defined(__MSDOS__) || defined(OS2)
#define CRMODE REMCR
#define CRTEXT "REMCR"
#define LINES 23
#if __MSDOS__
#define SYSTEM "MSDOS version"
#else
#define SYSTEM "OS/2 version"
#endif
#endif

#define CONCAT_MARGIN 60
#define TABSIZE 8
#define TABMODE SHRSPACE
#define TABTEXT "SHRINK SPACES TO TABS"

#define MAXCHANGE 26
#define MAXOPTIONS 100


/* ------------------------------- prototypes --------------------------- */
