# HG changeset patch # User Kim F. Storm # Date 813423317 0 # Node ID 439506fa922e7cceec871f8c9956c6635f355bb7 # Parent af414e79297771c5c0ccd7b7af030a7b5dfc17a5 Check that DJGPP v. 1 is used. Define __DJGPP__ to 1. Simplified INTERNAL_TERMINAL termcap definition. Removed #define fflush internal_flush. diff -r af414e792977 -r 439506fa922e src/s/msdos.h --- a/src/s/msdos.h Wed Oct 11 14:44:16 1995 +0000 +++ b/src/s/msdos.h Wed Oct 11 14:55:17 1995 +0000 @@ -40,6 +40,16 @@ #define MSDOS #endif +#ifdef __GO32__ +#ifndef __DJGPP__ +#define __DJGPP__ 1 /* V2 defines __DJGPP__ == 2 */ +#else +You lose; /* Emacs for DOS must be compiled with DJGPP V1 */ +#endif +#else +You lose; /* Emacs for DOS must be compiled with DJGPP */ +#endif + #define DOS_NT /* MSDOS or WINDOWSNT */ #undef BSD #undef VMS @@ -185,15 +195,7 @@ /* When $TERM is "internal" then this is substituted: */ #define INTERNAL_TERMINAL "pc|bios|IBM PC with colour display:\ -:co#80:li#25:km:\ -:cm=\E@%.%.:\ -:do=^J:le=^H:up=\EU:ri=\ER:\ -:ti=\EA\027:te=\EA\007\EE:\ -:so=\EA\077:se=\EA\027:\ -:ms:mb=\EX\200:md=\EX\010:mk=\EA\161:me=\EA\027:\ -:cl=\EC:ce=\EE:\ -:vb=\EB\140:bl=\007:" -#define fflush internal_flush +:co#80:li#25:km:ms:cm=:cl=:ce=:" /* Define this to a function (Fdowncase, Fupcase) if your file system likes that */