home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / PROGRAM / C / JAZLIB / JZPUTKBD.DMO < prev    next >
Text File  |  1993-12-01  |  892b  |  25 lines

  1. #define min(a,b) a < b ? a : b
  2. #define RED 4
  3. #include <jzputkbd.c>
  4. main()
  5. {
  6.   jzlogo();
  7.   cls(RED);
  8.   jzloccur(0,0);
  9.   printf("\nThis program will stuff some keys into the keyboard buffer.");
  10.   printf("\nMainly the F3 key (which dos will use to repeat the last command.)");
  11.   printf("\nThis will cause the program to run itself over and over until you");
  12.   printf("\nabort with a Control - C");
  13.   printf("\nThe source for the keyboard routine is included but if you wish");
  14.   printf("\nto get the source code to over 100 \"C\" routines,");
  15.   printf("\nSend $25.00 or contact me at:");
  16.   printf("\nJack A. Zucker c/o JazSoft Software");
  17.   printf("\n10318 Broom Lane");
  18.   printf("\nSeabrook, Md. 20706");
  19.   printf("\n301-794-5950 | 301-794-8763 | CIS:75766,1336\n");
  20.   printf("\nPress <Enter> to continue...");
  21.   do ; while (getch() != 13);
  22.   jzputkbd("\377\075\r");
  23. }
  24.  
  25.