[gforth] / gforth / Attic / io.h  

gforth: gforth/Attic/io.h

Diff for /gforth/Attic/io.h between version 1.7 and 1.8

version 1.7, Thu Jan 25 16:45:53 1996 UTC version 1.8, Thu Sep 19 22:17:32 1996 UTC
Line 26 
Line 26 
 #ifdef MSDOS  #ifdef MSDOS
 #  define prep_terminal()  #  define prep_terminal()
 #  define deprep_terminal()  #  define deprep_terminal()
 #  define install_signal_handlers()  
   
 #  include <conio.h>  #  include <conio.h>
   
 #  define key()         getch()  #  define key()         getch()
Line 37 
Line 35 
 long key_avail(FILE *);  long key_avail(FILE *);
 void prep_terminal();  void prep_terminal();
 void deprep_terminal();  void deprep_terminal();
 void install_signal_handlers(void);  
 void get_winsize(void);  void get_winsize(void);
   
 extern int terminal_prepped;  extern int terminal_prepped;
 extern UCell rows, cols;  
   
 #  define key()         getkey(stdin)  #  define key()         getkey(stdin)
 #  define key_query     -(!!key_avail(stdin)) /* !! FLAG(...)? - anton */  #  define key_query     -(!!key_avail(stdin)) /* !! FLAG(...)? - anton */
                         /* flag was originally wrong -- lennart */                          /* flag was originally wrong -- lennart */
 #endif  #endif
   
   void install_signal_handlers(void);
   extern UCell rows, cols;


Generate output suitable for use with a patch program
Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help