*** ./makefile.unx Fri Jun 11 12:46:42 1993 *************** *** 120,125 **** --- 120,128 ---- $(PROJ): $(OBJS) $(LD) -o $(PROJ) $(OBJS) $(LDFLAGS) $(LIBS_EXT) + atari: + $(MAKE) all CC=cgcc LD=cgcc OBJS_EXT="st-68k.o" \ + CFLAGS="-O -DATARI -DHIGHFIRST -DUNIT32 -DIDEA32 -DNOTERMIO -DMPORTABLE -DNEED_KBHIT" linux: $(MAKE) all CC=gcc LD=gcc OBJS_EXT="_80386.o _zmatch.o" \ *** ./more.c Tue May 18 00:15:14 1993 *************** *** 26,31 **** --- 26,34 ---- #include #include "system.h" #endif + #ifdef ATARI + #include "system.h" /* Just for kbhit,getch */ + #endif #ifdef sco #include #include *** ./pgp.c Sun Jun 13 19:43:21 1993 *************** *** 1010,1018 **** #endif #endif /* MSDOS */ #ifdef SIGINT - #ifdef ATARI - signal(SIGINT,(sigfunc_t) breakHandler); - #else if (signal(SIGINT, SIG_IGN) != SIG_IGN) signal(SIGINT,breakHandler); #if defined(UNIX) || defined(VMS) --- 1010,1015 ---- *************** *** 1033,1039 **** #endif #endif /* DEBUG */ #endif /* UNIX */ - #endif /* not Atari */ #endif /* SIGINT */ } /* initsigs */ --- 1030,1035 ---- *** ./system.h Sun May 9 18:39:15 1993 *************** *** 1,6 **** --- 1,14 ---- #ifndef SYSTEM_H #define SYSTEM_H + #ifdef ATARI + #ifdef NEED_KBHIT + #include + #define kbhit() (int)Bconstat(2) + #define getch() (int)(Bconin(2)&0xff) + #endif + #endif + #ifdef UNIX #if !defined(HAVE_UNISTD_H) && !defined(MACH) && !defined(_BSD) #define HAVE_UNISTD_H