/*************************************************************************\ * Copyright (c) 2002 The University of Chicago, as Operator of Argonne * National Laboratory. * Copyright (c) 2002 The Regents of the University of California, as * Operator of Los Alamos National Laboratory. * This file is distributed subject to a Software License Agreement found * in the file LICENSE that is included with this distribution. \*************************************************************************/ /* file : mdbtc.h * purpose: definitions for general use, for mdblib, and for mdbmth. * These definitions are specific to Turbo C. * * Michael Borland, 1993 $Log: mdbtc.h,v $ Revision 1.3 2002/08/14 15:40:16 soliday Added Open License Revision 1.2 1995/09/05 21:15:21 saunders First test release of the SDDS1.5 package. */ #ifndef _MDBTURBOC_ #define _MDBTURBOC_ 1 /* escape sequences for VT100/200 series terminals */ #define CLEAR_SCREEN "\033[2J" #define HOME_SCREEN "\033[H" #define HOME_CLEAR "\033[2J\033[H" /* commonly needed terminal control characters */ #define CARRIAGE_RETURN '\015' #define LINE_FEED '\012' #define FORM_FEED '\014' #define BACK_SPACE '\010' #define ESCAPE '\033' #define MAX_LONG LONG_MAX #if !defined(HUGE) #define HUGE HUGE_VAL #endif #define FHUGE ((float)HUGE) #endif